通达信小剑VOL指标公式
通达信宁波买点选股指标公式
通达信小剑VOL指标公式:
M1:=5;
M2:=10;
M3:=20;
M4:=60;
VAR2:=IF(PERIOD=5,240/240,IF(PERIOD=4,240/60,IF(PERIOD=3,240/30,IF(PERIOD=2,240/15,IF(PERIOD=1,240/5
,DRAWNULL)))));
Vvol:IF(CURRBARSCOUNT=1,
IF(PERIOD>0 AND PERIOD<6,MIN(CAPITAL,DYNAINFO(8)/FROMOPEN*240/VAR2),
IF(PERIOD=6,V*5/WEEkdAY,IF(PERIOD=7,V*31/DAY,DRAWNULL))),VOL),NODRAW,COLORC0C0C0;
stICKLINE(CURRBARSCOUNT=1,VVOL,0,-1,-1),COLORC0C0C0;
VOLUME:VOL,VOLSTICK,COLOR3232FF;
STICKLINE(COUNT(C>0,0)=1 AND C>=O OR C>=REF(C,1),0,V,-1,1),COLOR3232FF;
STICKLINE(COUNT(C>0,0)=1 AND C<O OR C<REF(C,1),0,V,-1,0),COLORCYAN;
MAVOL1:MA(VVOL,M1),COLORWHITE;
MAVOL2:MA(VVOL,M2),COLORYELLOW;
MAVOL3:MA(VVOL,M3),COLORMAGENTA;
MAVOL4:MA(VVOL,M4),COLORGREEN;
VHSL:100*VVOL/CAPITAL,COLORBLUE,NODRAW;
VAMT:VVOL/V*AMOUNT/10000,COLORCYAN,NODRAW;
通达信低位标注及强支撑线主图指标公式