VOLUME:VOL,VOLSTICK;
MAVOL1:MA(VOLUME,5);
MAVOL2:MA(VOLUME,10);
倍量:=V>REF(V,1)*3;
两倍量:=V>REF(V,1)*2 AND V< REF(V,1)*3;
三倍量:=V>REF(V,1)*3 AND V< REF(V,1)*4;
四倍量:=V>REF(V,1)*4 AND V< REF(V,1)*5;
五倍量:=V>REF(V,1)*5;
缩量:=V< REF(V,1)*0.5;
倍量柱:STICKLINE(倍量 AND C>O,0,V,1,0),COLORYELLOW;
DRAWTEXT(三倍量 AND C>O,V*1.03,' 3'),COLOR00FFFF;
DRAWTEXT(四倍量 AND C>O,V*1.03,' 4'),COLOR00FFFF;
DRAWTEXT(五倍量 AND C>O,V*1.03,' 5 '),COLOR00FFFF;
DRAWTEXT(V>MA(V,5)*2 AND C< O,V*0.90,' 分歧'),COLORFFFFFF;
DRAWTEXT(缩量,V*0.95,' 缩量'),COLOR00FF00;