|
4楼
楼主 |
发表于 2020-10-19 20:57
|
只看该作者
DIFIF1:=EMA(CLOSE,34) - EMA(CLOSE,55);
DEAEA1:=EMA(DIFIF1,13);
MACD1:=4*(DIFIF1-DEAEA1);
MACD2:=EMA(MACD1,5);
STICKLINE(MACD1>MACD2 AND MACD1>=0,H,L,4,0),COLORRED;
STICKLINE(MACD1>MACD2 AND MACD1>=0,O,C,10,0),COLORRED;
STICKLINE(MACD1>MACD2 AND MACD1<0,H,L,4,0),COLORWHITE;
STICKLINE(MACD1>MACD2 AND MACD1<0,O,C,10,0),COLORWHITE;
STICKLINE(MACD1<MACD2 AND MACD1<0,H,L,4,0),COLOR00D900;
STICKLINE(MACD1<MACD2 AND MACD1<0,O,C,10,0),COLOR00D900;
STICKLINE(MACD1<MACD2 AND MACD1>=0,H,L,4,0),COLORFF00FF;
STICKLINE(MACD1<MACD2 AND MACD1>=0,O,C,10,0),COLORFF00FF;
MA(C,5),COLOR00FFFF;
MA(C,13),COLORFFFF00; |
|