通达信量比目标公式:
M1:=5; M2:=10; M3:=20 ; M4:=60; VOLUME:=VOL,VOLSTICK; MOL1:MA(VOLUME,M1),LINETHICK1;MOL2:MA(VOLUME,M2),LINETHICK1,COLORGREEN; MOL3:MA(VOLUME,M3),LINETHICK0; MOL4:MA(VOLUME,M4),LINETHICK1; 前量比:=VOL/REF(VOL,1); 五量比:=VOL/MOL1; 六量比:=VOL/MOL4; IF(MA(VOL,5)>=REF(MA(VOL,5),1),MA(VOL,5),DRAWNULL),COLORRED,LINETHICK2;