|
DIF:EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:EMA(DIF,9);
MACDDIF-DEA)*2,COLORSTICK;
S1:=MACD<REF(MACD,1)AND MACD>0;
S2:=MACD<REF(MACD,1)/2 AND MACD<0;
STICKLINE(MACD>=0,MACD,0,1,0),COLORRED;
STICKLINE(S1,0,MACD,1,0),COLOR00FFFF;
STICKLINE(S2,0,MACD,1,0),COLORFFFFFF;
STICKLINE(MACD>REF(MACD,1)AND MACD<0,0,MACD,1,0),COLORFFFF00;
|
|