以下是通达信日成交量副图指标
通达信日成交量副图指标
源码
M1:=5;M2:=20;N:=10;
EV:=VOL,;
(万手):EV/10000,LINETHICK0;
VAR1:=DYNAINFO(17)*REF(MA(VOL,5),1);
VAR2:=DYNAINFO(7)=CLOSE AND DYNAINFO(10)=AMOUNT;
预测:IF(DYNAINFO(7)=CLOSE AND DYNAINFO(10)=AMOUNT,VAR1,VAR2)/10000;
{IF(DYNAINFO(7)=CLOSE AND DYNAINFO(10)=AMOUNT,VAR1,VAR3),COLORGREEN;}
预测V:STICKLINE(IF(DYNAINFO(7)=CLOSE AND DYNAINFO(10)=AMOUNT,VAR1,VAR2),VAR1,0,4,1),COLORYELLOW;
AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主动买:=IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*((HIGH-OPEN)+
(CLOSE-LOW)),VOL/2)),POINTDOT,COLORRED;
主动买盘:主动买/10000,COLORRED,NODRAW;
主动卖:=IF(CLOSE>OPEN,AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,
AA*(HIGH-LOW),VOL/2)),LINETHICK0,COLORGREEN;
主动卖盘:主动卖/10000,COLORGREEN,NODRAW;
换手率%:VOL/CAPITAL*100,POINTDOT,COLORYELLOW;
流通盘(亿股):CAPITAL/1000000,POINTDOT;
STICKLINE(主动买>0,0,VOL,3,1),COLORRED;
STICKLINE(主动卖>0,0,VOL,3,1),COLORGREEN;
STICKLINE(主动买>0,0,主动买,2,0),COLORRED;
STICKLINE(主动卖<0,0,主动卖,2,0),COLORGREEN;
评论(0)