炒股指标

显示 收起

同花顺超强MACD指标公式

同花顺超强MACD指标公式:

DRAWGBK(V>1,STRIP(RGB(60,100,255),RGB(130,120,255),1));
 DIFF : EMA(CLOSE,4) - EMA(CLOSE,14),ColorFFFFFF,LINETHICK1;
 DEA: EMA(DIFF,5),ColorFF0000,LINETHICK1;
MACD彩柱:(DIFF-DEA)*2,COLORSTICK,LINETHICK1;
 STICKLINE(((MACD彩柱<REF(MACD彩柱,1)) AND (MACD彩柱>0)),0,MACD彩柱,6,0),Color3EFFFF;
 STICKLINE(((MACD彩柱>REF(MACD彩柱,1)) AND (MACD彩柱<0)),0,MACD彩柱,6,0),Color3EFFFF;
 D1:=EMA(C,3)-EMA(C,14);
 D2:=EMA(O,3)-EMA(O,14);
 D3:=EMA(H,3)-EMA(H,14);
 D4:=EMA(L,3)-EMA(L,14);
 STICKLINE(D1>D2,D1,D2,10,0),COLOR993388;
 STICKLINE(D1>D2,D1,D2,4,0),COLOR000099;
 STICKLINE(D1>D2,D1,D2,2,0),COLOR0033EE;
 STICKLINE(D1>D2,D1,D2,1,0),COLOR0000FF;
 STICKLINE(D1<D2,D1,D2,10,0),COLOR999900;
 STICKLINE(D1<D2,D1,D2,4,0 ),COLOR009900;
 STICKLINE(D1<D2,D1,D2,2,0 ),COLOR00CC00;
 STICKLINE(D1<D2,D1,D2,1,0 ),COLOR00FF00;
 
同花顺超强MACD指标公式实例图解:
 

 

同花顺超强MACD指标公式