{ 通达信涨停筹码指标公式源码 }
X_1:=90;
当日换手:vol/CAPITAL*100,NODRAW;
半年换手:SUM(当日换手,126),NODRAW;
X_2:=(WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))/WINNER(HHV(HIGH,0));
相对换手:VOL/(CAPITAL*X_2)*100,NODRAW;
获利盘:WINNER(CLOSE)*100,NODRAW;
X_3:=相对换手<=6;
X_4:=相对换手>6 AND 相对换手<14;
X_5:=相对换手>=14;
X_6:=80;
STICKLINE(X_3,0,相对换手,2,1),COLORWHITE;
STICKLINE(X_4,0,相对换手,2,1),COLOR00F2F2;
STICKLINE(X_5,0,相对换手,2,1),COLORRED;
STICKLINE(相对换手>X_6,相对换手,相对换手+2,2,0),COLORCYAN;
X_7:=获利盘<=30;
X_8:=获利盘>30 AND 获利盘<85;
X_9:=获利盘>=85;
STICKLINE(X_7,0,相对换手/2,2,0),COLORWHITE;
STICKLINE(X_8,0,相对换手/2,2,0),COLOR00F2F2;
STICKLINE(X_9,0,相对换手/2,2,0),COLORRED;
X_10:=相对换手>X_6;
X_11:=X_1+(100-X_1)/2;
X_12:=(100-X_1)/2;
X_13:=COST(X_11);
X_14:=COST(X_12);
X_15:=(X_13-X_14)/(X_13+X_14)*100/2;
X_16:=获利盘<10 AND X_15<10 AND 当日换手<=3;
DRAWICON(X_16,80,41);
标签:相对,STICKLINE,筹码,WINNER,换手,通达信,源码,100,获利盘 From: https://www.cnblogs.com/zhibiao/p/18063716