莊家殺手指標(biāo)源碼 MACD指標(biāo)優(yōu)化[通達(dá)信公式]
相關(guān)標(biāo)簽: 莊家殺手指標(biāo)源碼 MACD指標(biāo)優(yōu)化,macd指標(biāo)詳解 、 macd指標(biāo) 、 股市macd指標(biāo)詳解 、 macd指標(biāo)詳解l圖 、 macd指標(biāo)參數(shù)詳解 、 macd指標(biāo)的最佳設(shè)置值
其實(shí)此指標(biāo)已經(jīng)提供了靈敏的操作方法,但不是哪一個(gè)指標(biāo)就能決定股票的操作,需要配合多個(gè)指標(biāo)共同使用來(lái)提高買入及賣出的效率。喜歡的朋友多多研究,有了這個(gè)MACD指標(biāo),別的MACD指標(biāo)就不需要再看了
莊家殺手指標(biāo)源碼 MACD指標(biāo)優(yōu)化:
DIF:(EMA(CLOSE,12) - EMA(CLOSE,26)),COLORRED,NODRAW;
DEA:EMA(DIF,9),COLOR00FFFF,NODRAW;
MACD:2*(DIF-DEA),NODRAW;
DIFK:=EMA(DIF,3);
DIFD:=EMA(DIFK,3);
DKK:4*DIF-3*DEA,COLORFF00FF,NODRAW;
DDD:EMA(DKK,5),COLOR2588FF,NODRAW;
TRLSX1:= MAX(MAX((HHV(DIF,13)-LLV(DIF,13)),ABS(ref(DIF,1)-HHV(DIF,13))),ABS(ref(DIF,1)-LLV(DIF,13)));
TRLSX2:=EMA(TRLSX1,13);{本文來(lái)源:'www.328588.com' }
TRLSX3:=ref(DIF,1)-ref(TRLSX2,1);
支撐:HHV(TRLSX3,13),COLORFFFFFF,NODRAW;
RSV14:=(CLOSE - LLV(LOW,14))/(HHV(HIGH,14) - LLV(LOW,14))-0.5;
K14:=EMA(RSV14,3),COLORFF00FF,NODRAW;
D14:=EMA(K14,3),COLORGREEN,NODRAW;
J14:=3*K14-2*D14;
DRAWBAND(DIF,RGB(200,50,55),DEA,RGB(50,100,10));
MACDXG2:=ref(COUNT(DIF>0 AND MACD<0 AND MACD<ref(MACD,1),4)=4,1) AND MACD>ref(MACD,1);
STICKLINE(MACDXG2,MACD*1.2,0,2.8,0),COLORRED;
STICKLINE(MACD>ref(MACD,1) AND MACD>0,0,MACD,1.8,0),COLOR000055;
STICKLINE(MACD>ref(MACD,1) AND MACD>0,0,MACD,1.1,0),COLOR000099;
STICKLINE(MACD>ref(MACD,1) AND MACD>0,0,MACD,0.6,0),COLOR0000BB;
STICKLINE(MACD<=ref(MACD,1) AND MACD>0,0,MACD,1.8,0),COLOR888888;
STICKLINE(MACD<=ref(MACD,1) AND MACD>0,0,MACD,1.1,0),COLORBBBBBB;
STICKLINE(MACD<=ref(MACD,1) AND MACD>0,0,MACD,0.6,0),COLORDDDDDD;
STICKLINE(MACD>ref(MACD,1) AND MACD<0,0,MACD,1.8,0),COLOR3377AA;
STICKLINE(MACD>ref(MACD,1) AND MACD<0,0,MACD,1.1,0),COLOR3388BB;
STICKLINE(MACD>ref(MACD,1) AND MACD<0,0,MACD,0.6,0),COLOR4499CC;
STICKLINE(MACD<=ref(MACD,1) AND MACD<0,0,MACD,1.8,0),COLORFF3300;
STICKLINE(MACD<=ref(MACD,1) AND MACD<0,0,MACD,1.1,0),COLORFF5500;
STICKLINE(MACD<=ref(MACD,1) AND MACD<0,0,MACD,0.6,0),COLORFF7700;
STICKLINE(J14<-0.5,0,0.15,1.8,0),COLORFF00FF;
支撐,COLORFFFFFF;
IF(C>0,DIF,DRAWNULL),COLORRED,LINETHICK1;
IF(C>0,DEA,DRAWNULL),COLOR00FFFF,LINETHICK1;
IF(DEA<ref(DEA,1),DEA,DRAWNULL),COLORBE7F6F,LINETHICK1;
IF(DIF<=ref(DIF,1),DIF,DRAWNULL),COLORBLUE,LINETHICK1;
IF(C,DKK,DRAWNULL),COLORFF00FF,LINETHICK1;
IF(DKK<=ref(DKK,1),DKK,DRAWNULL),COLORCYAN,LINETHICK1;
IF(C,DDD,DRAWNULL),COLOR2255FF,LINETHICK1;
IF(DDD<=ref(DDD,1),DDD,DRAWNULL),COLOR33FF33,LINETHICK1; {本文來(lái)至CXH99.COM}
KDJXG:=ref(COUNT(J14<ref(J14,1),5)>=3,1) AND ref(J14,1)<-0.4 AND J14>ref(J14,1);
DRAWICON(FILTER(KDJXG,3),MACD*1.2,11),COLORFF00EE;
準(zhǔn)備介入點(diǎn):=ref(CROSS(0,MACD),3) AND COUNT(DIF>0 AND MACD<ref(MACD,1),4)=4 ;
DRAWICON(準(zhǔn)備介入點(diǎn),0.05,9);
DRAWTEXT_FIX(C>O,0.01,0.9,0,' www.kzuj.com.cn '),COLORRED;
有思路,想編寫各種指標(biāo)公式,程序化交易模型,選股公式,預(yù)警公式的朋友
可聯(lián)系技術(shù)人員 QQ: 262069696 進(jìn)行 有償 編寫!(不貴!點(diǎn)擊查看價(jià)格!)
相關(guān)文章
-
沒(méi)有相關(guān)內(nèi)容