M1:=5; M2:=10; M3:=20 ; M4:=60;
VOLUME:=VOL,VOLSTICK;
MAVOL1:MA(VOLUME,M1),LINETHICK1;
MAVOL2:MA(VOLUME,M2),LINETHICK1,COLORGREEN;
MAVOL3:MA(VOLUME,M3),LINETHICK0;
MAVOL4:MA(VOLUME,M4),LINETHICK1;
前量比:=VOL/REF(VOL,1); 五量比:=VOL/MAVOL1; 六量比:=VOL/MAVOL4;
IF(MA(VOL,5)>=REF(MA(VOL,5),1),MA(VOL,5),DRAWNULL),COLORRED,LINETHICK2;