{长短成本均线}
短期成本均线:SUM(VOL*CLOSE,120)/SUM(VOL,120),COLORGREEN;
长期成本均线:SUM(VOL*CLOSE,240)/SUM(VOL,240),COLORYELLOW;
HJ_2:=CLOSE>短期成本均线;
HJ_3:=CLOSE<短期成本均线;
S:IF(短期成本均线>长期成本均线 AND HJ_2,短期成本均线,DRAWNULL),COLORMAGENTA,LINETHICK3;
{长短成本均线}
短期成本均线:SUM(VOL*CLOSE,120)/SUM(VOL,120),COLORGREEN;
长期成本均线:SUM(VOL*CLOSE,240)/SUM(VOL,240),COLORYELLOW;
HJ_2:=CLOSE>短期成本均线;
HJ_3:=CLOSE<短期成本均线;
S:IF(短期成本均线>长期成本均线 AND HJ_2,短期成本均线,DRAWNULL),COLORMAGENTA,LINETHICK3;