M1:=5;
二十日量比:SUM(VOL/REF(MA(VOL,M1),1)*1,20),NODRAW;
DRAWRECTREL(400,0,635,320,RGB(0,100,0));
DRAWRECTREL(470,0,470+CONST(一十日量比*400/400),320,RGB(150,10,0));
DRAWRECTREL(400,460,635,750,RGB(0,50,160));
DRAWRECTREL(470,460,470+CONST(二十日量比*400/400),750,RGB(150,10,0));