最实用的指标
DIFF:=(EMA(CLOSE,9) - EMA(CLOSE,27));
DEA:=EMA(DIFF,6);
MACD2:=(2 * (DIFF - DEA))*15;
E:=DIFF*100;
MA1:MA(E,5),COLORYELLOW,LINETHICK2;
MA2:MA(E,10);
MA3:MA(E,20);
STICKLINE(E<REF(E,1),E,MA(E,1),2,0),COLORD9D919;
STICKLINE(E<REF(E,2),E,MA(E,2),2,0),COLORD9D919;
STICKLINE(E<REF(E,3),E,MA(E,3),2,0 ),COLORD9D919;
STICKLINE(E<REF(E,4),E,MA(E,4),2,0 ),COLORD9D919;
STICKLINE(E> REF(E,4),E,EMA(E,4),2,0) ,COLORRED;
STICKLINE(E> REF(E,3),E,EMA(E,3),2,0) ,COLORRED;
STICKLINE(E> REF(E,2),E,EMA(E,2),2,0) ,COLORRED;
STICKLINE(E> REF(E,1),E,EMA(E,1),2,0) ,COLORRED;
DIF:=(EMA(CLOSE,4) - EMA(CLOSE,13));
F:=DIF*200;
MA5:=MA(F,5);
STICKLINE(F<REF(F,1),F,MA(F,1),2,0),COLORD9D919;
STICKLINE(F<REF(F,2),E,MA(F,2),2,0),COLORD9D919;
STICKLINE(F<REF(F,3),E,MA(F,3),2,0 ),COLORD9D919;
STICKLINE(F<REF(F,4),E,MA(F,4),2,0 ),COLORD9D919;
STICKLINE(F> REF(F,4),E,EMA(F,4),2,0) ,COLORRED;
STICKLINE(F> REF(F,3),E,EMA(F,3),2,0) ,COLORRED;
STICKLINE(F> REF(F,2),E,EMA(F,2),2,0) ,COLORRED;
STICKLINE(F> REF(F,1),E,EMA(F,1),2,0) ,COLORRED;