R:=2.5;放量:=vol>=REF(VOL,1)*1.5 && VOL<REF(VOL,1)*2;
倍量:=VOL>=REF(VOL,1)*2 && VOL<REF(VOL,1)*3,COLORMAGENTA;
STICKLINE(C>=O,0,VOL,R,1),COLORRED;
STICKLINE(C<O,0,VOL,R,1),COLORCYAN;
STICKLINE(放量,0,VOL,R,0),COLORLIRED;
STICKLINE(倍量,0,VOL,R,0),COLORYELLOW;
三倍:=VOL>=REF(VOL,1)*3,COLORMAGENTA;
STICKLINE(三倍,0,V,R,0),COLORFF00FF;
缩量:=AMO*2<REF(VOL,1),COLORMAGENTA;
STICKLINE(缩量,0,VOL,R,0),COLOR00FF00;
DRAWTEXT(倍量,VOL*1.1,'倍量'),COLORWHITE;
DRAWTEXT(三倍,VOL*1.1,'三倍'),COLORFF00F5;
DRAWTEXT(缩量,VOL*1.1,'缩量'),COLOR00FF00;
DRAWTEXT(放量,VOL*1.1,'放量'),COLORLIRED;