MA3:MA(C,3),COLORF00FF0;
MA5:MA(C,5),COLORYELLOW;
MA8:MA(C,8),COLORE66878;
MA10:MA(C,10),COLORWHITE;
MA12:MA(C,12),COLORGREEN;
MA15:MA(C,15),COLORRED;
DRAWICON(CROSS(MA3,MA8),L*0.98,17);
STICKLINE(MA3>=MA8,OPEN,CLOSE,2.5,0),COLORRED;
STICKLINE(MA3<=MA8,OPEN,CLOSE,2.5,0),COLORWHITE;
STICKLINE(CROSS(MA3,MA8) AND C>O,OPEN,CLOSE,3,0),COLORYELLOW;
DRAWTEXT_FIX(1,0,0.95,0,'公众号:爱指标源码'),COLORMAGENTA;
STICKLINE(CROSS(MA8,MA3) AND C<O,OPEN,CLOSE,3,0),COLORBLUE;
DRAWTEXT(CROSS(MA3,MA8) AND C>O,L*1,'☆庄加仓'),COLORRED;
DRAWTEXT(CROSS(MA8,MA3) AND C<O,H*1,'☆庄减仓'),COLORGREEN;