DIFF : EMA(CLOSE,SHORT) - EMA(CLOSE,LONG); DEA : EMA(DIFF,M);
MACD : 2*(DIFF-DEA);
Zero : 0;
STICKLINE(MACD>MACD[1] AND MACD>1 AND CLOSE>PRE AND CLOSE[1]>PRE[1] AND CLOSE[2]>PRE[2],0,MACD,80,1),colorred;
STICKLINE(MACD>MACD[1] AND MACD<1,0,MACD,8,1),colormagenta;
STICKLINE(MACD>MACD[1] AND MACD>1,0,MACD,8,1),coloryellow;
STICKLINE(MACD>MACD[1] AND MACD>1,0,MACD,8,1),colorgreen;
|
