倍量柱副图指标

TOTAL:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD=5,TOTALFZNUM,1)))));

MTIME:=MOD(FROMOPEN,TOTAL);

CTIME:=IF(MTIME<0.5,TOTAL,MTIME);

{倍量柱}

VVOL:IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;

STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,VVOL,0,-1,-1),COLOR00C0C0;

VOLUME:VOL,VOLSTICK;

AA:=VOL>REF(V,1)*1.9;{倍量}

{BUYHAOGU}

AA1:=V/REF(V,1)<=0.6;{缩倍量}

STICKLINE(AA,0,V,2,0),COLORYELLOW;

STICKLINE(AA1,0,V,2,0),COLOR1D7300;

MV5:MA(V,5)COLORYELLOW;

MV35:MA(V,35)COLORMAGENTA;{启动}

MV135:MA(V,135)COLOR1D7300;{异动}

DRAWICON(CROSS(MV5,MV135),MV5,1); {5日上穿135日做记号};

(0)

相关推荐