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; |