均线变色(源码 主图 通达信 贴图)
MA20:MA(C,20),COLORC08080,LINETHICK1;
MA60:MA(C,60),COLORFF0000,LINETHICK2;
MA120:MA(C,120),COLORFFFF80,LINETHICK3;
MA250:MA(C,250),COLOR66DD66,LINETHICK4;
IF(MA(C,20)>=REF(MA(C,20),1),MA(C,20),DRAWNULL),COLORWHITE,LINETHICK1;
IF(MA(C,60)>=REF(MA(C,60),1),MA(C,60),DRAWNULL),COLORYELLOW,LINETHICK2;
IF(MA(C,120)>=REF(MA(C,120),1),MA(C,120),DRAWNULL),COLORGREEN,LINETHICK3;
IF(MA(C,250)>=REF(MA(C,250),1),MA(C,250),DRAWNULL),COLORRED,LINETHICK4;