同花顺短线特准MACD金叉买卖指标公式[好查股公式]
2022/4/5 19:39:29
同花顺短线特准MACD金叉买卖指标公式:
DIF1:=EMA(CLOSE,6) - EMA(CLOSE,13);
DEA1:=EMA(DIF1,5);
MACD1:=2*(DIF1-DEA1);
MACD2:=EMA(MACD1,3);
STICKLINE(MACD1>MACD2 AND MACD1>0,0,MACD1,2,0),colorred;
STICKLINE(MACD1>MACD2 AND MACD1<0,0,MACD1,2,0),colorgreen;
STICKLINE(MACD1<MACD2 AND MACD1>0,0,MACD1,2,0),COLORCBCBC0;
STICKLINE(MACD1<MACD2 AND MACD1<0,MACD1,0,2,0),colorwhite;
DIF:DIF1,COLOR33FF33;
DEA:DEA1,coloryellow;
MACD:MACD1,colormagenta;
{强:IF(DIF1>=DEA1,DIF1,DEA1),colorred,LINETHICK2;}
PARTLINE(DIF1,DIF1>=DEA1 AND MACD1>MACD2 AND MACD1>0,RGB(255,0,0)),linethick2;
0,POINTDOT,colorwhite;
同花顺短线特准MACD金叉买卖指标公式
好查股公式指标