同花順擒龍MACD指標(biāo)公式
基本概況:
- 指標(biāo)類別: 同花順指標(biāo)
- 授權(quán)方式: 免費版
- 指標(biāo)評級: ★★★★★
- 指標(biāo)語言: 簡體中文
- 指標(biāo)來源: 互聯(lián)網(wǎng)
- 指標(biāo)日期: 2017-07-18 00:00:00
內(nèi)容介紹:
同花順擒龍MACD指標(biāo)公式: DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
MACD:=EMA(DIF,9),COLOR33CCFF;
DEF:2*(DIF-MACD),COLORFFFF00,LINETHICK0;
STICKLINE(DEF>=0 AND DEF>=REF(DEF,1),0,DEF,0,0),colorred;
STICKLINE(DEF>=0 AND DEF< REF(DEF,1),0,DEF,0.0,0),colorred;
STICKLINE(DEF<0 AND DEF>=REF(DEF,1),0,DEF,0.0,0),colorcyan;
STICKLINE(DEF<0 AND DEF< REF(DEF,1),0,DEF,0.0,0),colorcyan;
IF(DIF<1000,0,DRAWNULL),colorbrown;
K1:=BACKSET(DIF>REF(DIF,1),2);
強DIF:IF(K1,DIF,DRAWNULL),colorred;
K2:=BACKSET(DIF<REF(DIF,1),2);
弱DIF:IF(K2,DIF,DRAWNULL),COLORFF8B80;
K3:=BACKSET(MACD>REF(MACD,1),2);
強MACD:IF(K3,MACD,DRAWNULL),colorlired;
K4:=BACKSET(MACD<REF(MACD,1),2);
弱MACD:IF(K4,MACD,DRAWNULL),COLORFF8B80;
底拐: DRAWLINE(DIF>=HHV(DIF,21),DIF,DIF<=LLV(DIF,21),DIF,1),colorwhite,POINTDOT;
DRAWICON(強DIF>底拐 AND REF(DIF,1)=REF(底拐,1) AND REF(DIF,2)>REF(DIF,1),0,1);
A1:=BARSLAST(REF(CROSS(DIF,MACD),1));
底背離:=REF(CLOSE,A1+1)>CLOSE AND DIF>REF(DIF,A1+1) AND CROSS(DIF,MACD);
DRAWLINE(A1=0,MACD,底背離,MACD,0),coloryellow,LINETHICK2;
A2:=BARSLAST(REF(CROSS(MACD,DIF),1));
頂背離:=REF(CLOSE,A2+1)<CLOSE AND REF(DIF,A2+1)>DIF AND CROSS(MACD,DIF);
DRAWLINE(A2=0,MACD,頂背離,MACD,0),colorgreen,LINETHICK2;
AA1:=IF(DEF>0,1,-1);
AA2:=REF(AA1,1);
AA3:=AA1*AA2;
AA4:=BARSLAST(AA3<0);
AA5:=AA4+1;
同花順擒龍MACD指標(biāo)公式: 更新時間:2017-7-18 14;24
相關(guān)推薦: