同花順超強MACD指標公式
同花順指標公式源碼概況:
- 指標類別: 同花順指標公式
- 授權(quán)方式: 免費版
- 指標評級: ★★★★★
- 指標分類: 趨勢
- 畫線方法: 副圖
- 日期:2019-01-23 來源:互聯(lián)網(wǎng)
同花順指標公式源碼介紹:
同花順超強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;
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指標公式
同花順指標相關(guān)閱讀