短期成本均线:SUM(VOL*CLOSE,30)/SUM(VOL,30),COLORWHITE;
VAR1:=SUM(VOL*CLOSE,240)/SUM(VOL,240);
VAR2:=CLOSE 短期成本均线;
VAR3:=CLOSE 短期成本均线;
IF(短期成本均线 VAR1 AND VAR2,短期成本均线,DRAWNULL),COLORMAGENTA,LINETHICK3;
短期成本均线:SUM(VOL*CLOSE,30)/SUM(VOL,30),COLORWHITE;
VAR1:=SUM(VOL*CLOSE,240)/SUM(VOL,240);
VAR2:=CLOSE 短期成本均线;
VAR3:=CLOSE 短期成本均线;
IF(短期成本均线 VAR1 AND VAR2,短期成本均线,DRAWNULL),COLORMAGENTA,LINETHICK3;