有红色成交量的票票,根本就不参与。
VOL,VOLSTICK;
短3:=XMA(XMA(股价,3),3),LINETHICK0,COLORWHITE;
短6:=XMA(XMA(股价,6),6),LINETHICK0,COLORWHITE;
短8:=XMA(XMA(股价,10),10),LINETHICK0,COLORWHITE;
短中:=(短7+短8+短9+短3+短5+短6)/6,LINETHICK0,COLORWHITE;
短底:=短中*0.65,LINETHICK0,COLORGREEN;
中2:=XMA(XMA(股价,19),19),LINETHICK0,COLORWHITE;
中4:=XMA(XMA(股价,25),25),LINETHICK0,COLORWHITE;
中6:=XMA(XMA(股价,31),31),LINETHICK0,COLORWHITE;
中顶2:=中中2*1.4,LINETHICK0,COLORGREEN;
中50:=XMA(XMA(股价,50),50),LINETHICK0;
中中3:=(中40+中50+中60)/3,LINETHICK0,COLORWHITE;
中底3:=中中3*0.5,LINETHICK0,COLORRED;
长120:=XMA(XMA(股价,120),120),LINETHICK0,COLORWHITE;
长中:=(长90+长120+长150)/3,LINETHICK0,COLORYELLOW;
长顶顶:=长中*1.8,LINETHICK1,COLORRED;
MA短中:=EMA(短中,10),LINETHICK0,COLORWHITE;
V2:=IF(CURRBARSCOUNT=1,VOL*240/FROMOPEN/REF(VOL,1)-1,VOL/REF(VOL,1)-1),NODRAW,COLORRED;
VVOL:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;
VOLUME:=VOL,VOLSTICK;
中底VOL:=短底<中底2 AND 中底2>中底3 AND 中底2<长底,LINETHICK2,COLORGREEN;
STICKLINE(中中2>MA中中2,0,VOL,3,0),COLORFF00FF;{画粉柱}
STICKLINE(中中2<MA中中2,0,VOL,3,0),COLORFFFF00;
NOTEXT攻击量:EMA(V,60),COLORYELLOW;DRAWRECTREL(0,40,90,270,RGB(178,34,34));
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND COUNT(V>EMA(V,60),7)>=5 ,0,0.1,0,’ 强’),COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND COUNT(V>EMA(V,60),7)>=3 AND COUNT(V>EMA(V,60),7)<5 ,0,0.1,0,’ 中’),COLORWHITE;
DRAWTEXT_FIX(CURRBARSCOUNT=1 AND COUNT(V>EMA(V,60),7)<3 ,0,0.1,0,’ 弱’),COLORGREEN;
评论(0)