VOLUME:VOL,VOLSTICK;
倍量柱:VOL/REF(VOL,1)>=1.91 AND CLOSE>REF(CLOSE,1),COLORYELLOW;
缩量柱:VOL<REF(VOL,1) AND REF(VOL,1)<REF(VOL,2),COLORRED;
平量柱:ABS(VOL-REF(VOL,1))/REF(VOL,1)<=0.02,COLORWHITE;
高量柱:VOL=HHV(VOL,20),COLORGREEN;
低量柱:VOL=LLV(VOL,20),COLORGRAY;
梯量柱:VOL>REF(VOL,1) AND REF(VOL,1)>REF(VOL,2);
缩倍柱:VOL/REF(VOL,1)<0.5;
百日地量:VOL=LLV(VOL,100);
STICKLINE(倍量柱,0,VOLUME,8,0),COLORYELLOW;
STICKLINE(缩量柱,0,VOLUME,8,0),COLORRED;
STICKLINE(平量柱,0,VOLUME,8,0),COLORWHITE;
STICKLINE(高量柱,0,VOLUME,8,0),COLORGREEN;
STICKLINE(低量柱,0,VOLUME,8,0),COLORGRAY;
STICKLINE(平量柱,0,VOLUME,8,0),COLORBLUE;
DRAWTEXT(百日地量,V,'地'),COLORRED,LINETHICK8;
DRAWTEXT(缩倍柱,V,'↓'),COLORRED;
DRAWTEXT(梯量柱,V,'∥'),COLORRED;
DRAWTEXT(高量柱 AND 倍量柱,V,'倍'),COLORRED; |