通达信,均线,变色,主图,指标源码
DRAWTEXT_FIX(ISLASTBAR ,0.79,0.05,1,DYBLOCK),COLORMAGENTA,LINETHICK5;
DRAWTEXT_FIX(ISLASTBAR ,0.8,0.05,0,HYBLOCK),COLORYELLOW,LINETHICK3;
DRAWTEXT_FIX(ISLASTBAR ,0.8,0.05,0,HYBLOCK),COLORYELLOW,LINETHICK5;
DRAWTEXT_FIX(ISLASTBAR ,0.79,0.05,1,DYBLOCK),COLORYELLOW,LINETHICK3;
DRAWTEXT_FIX(ISLASTBAR ,0.8,0.05,0,HYBLOCK),COLORYELLOW,LINETHICK5;
MA5:MA(CLOSE,5);
MA13:MA(CLOSE,13);
MA21:MA(CLOSE,21);
MA30:MA(CLOSE,30);
MA60:MA(CLOSE,60);
MA89:MA(CLOSE,89);
MA144:MA(CLOSE,144),LINETHICK2;
MA233:MA(CLOSE,233),LINETHICK2;
MA377:MA(CLOSE,377);
MA4181:MA(CLOSE,4181),LINETHICK3;
二分之一:REF((H+L)/2,1),POINTDOT;
上升:IF(MA30>REF(MA30,1),MA30,DRAWNULL),COLORRED,LINETHICK3;
下降:IF(MA30<REF(MA30,1),MA30,DRAWNULL),COLORGREEN,LINETHICK3;
IF(MA60>REF(MA60,1),MA60,DRAWNULL),COLORLIRED,LINETHICK3;
IF(MA60<REF(MA60,1),MA60,DRAWNULL),COLORLIBLUE,LINETHICK3;股票