變色與變形KDJ指標(biāo)在股市怎樣應(yīng)用(附源碼)(3)
2016-11-28 10:56 贏家江恩
3、kdj優(yōu)化
月K金:IF(CROSS(“KDJ.K#MONTH”,“KDJ.D#MONTH”),90,0),COLORYELLOW,LINETHICK1;
IF((“KDJ.K#MONTH”》“KDJ.D#MONTH”),60,0),COLORYELLOW,CIRCLEDOT;
STICKLINE(CROSS(“KDJ.K#MONTH”,“KDJ.D#MONTH”),100,0,3,0),COLORYELLOW;
月K死:IF(CROSS(“KDJ.D#MONTH”,“KDJ.K#MONTH”),90,0),COLORGREEN,LINETHICK1;
IF((“KDJ.K#MONTH”《“KDJ.D#MONTH”),60,0),COLORGREEN,CIRCLEDOT;
STICKLINE(CROSS(“KDJ.D#MONTH”,“KDJ.K#MONTH”),100,0,3,0),COLORGREEN;
周K金:IF(CROSS(“KDJ.K#WEEK”,“KDJ.D#WEEK”),70,0),COLORRED;
IF((“KDJ.K#WEEK”》“KDJ.D#WEEK”),30,0),COLORRED,CROSSDOT;
STICKLINE(CROSS(“KDJ.K#WEEK”,“KDJ.D#WEEK”),100,0,1,0),COLORRED;
周K死:IF(CROSS(“KDJ.D#WEEK”,“KDJ.K#WEEK”),70,0),COLORBLUE,LINETHICK1;
IF((“KDJ.K#WEEK”《“KDJ.D#WEEK”),30,0),COLORBLUE,CROSSDOT;
STICKLINE(CROSS(“KDJ.D#WEEK”,“KDJ.K#WEEK”),100,0,1,0),COLORBLUE;
RSV60:=(CLOSE-LLV(LOW,9/2))/(HHV(HIGH,9/2)-LLV(LOW,9/2))*100;
K60:=SMA(RSV60,3,1);
D60:=SMA(K60,3,1);
J60:=3*K60-2*D60;
STICKLINE(K60》=D60,5,0,3,0),COLORRED;
STICKLINE(K60
RSV30:=(CLOSE-LLV(LOW,9/4))/(HHV(HIGH,9/4)-LLV(LOW,9/4))*100;
K30:=SMA(RSV30,3,1);
D30:=SMA(K30,3,1);
J30:=3*K30-2*D30;
STICKLINE(K30》=D30,90,87,3,0),COLORRED;
STICKLINE(K30
N:=9; M1:=3; M2:=3;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:SMA(RSV,M1,1),COLORFFFFFF,LINETHICK1;
D:SMA(K,M2,1),COLOR0080FF,LINETHICK1;
J:3*K-2*D,COLORFF00FF,LINETHICK1;
IF(J》100,J,DRAWNULL),COLORFFFF00,LINETHICK2;
IF(J《0,J,DRAWNULL),COLORGREEN,LINETHICK2;
DRAWICON(CROSS(J,D),D,1);
DRAWICON(CROSS(D,J),D,2);
0,COLOR008000,DOTLINE;
100,COLOR808040,DOTLINE;
很多的技術(shù)指標(biāo)在使用過程中,需要不同的優(yōu)化,kdj指標(biāo)也不例外,投資者需要經(jīng)過指標(biāo)源碼的優(yōu)化來分析更加準(zhǔn)確的走勢(shì)形態(tài),從而獲得其中的操作盈利,如圖上證指數(shù)在2010年的指數(shù)價(jià)格走勢(shì)變化,依據(jù)價(jià)格的變化,kdj指標(biāo)優(yōu)化之后,在指標(biāo)線中,形成了短線買入點(diǎn)位置以及短線賣出的形態(tài),同時(shí)也可以做長(zhǎng)線買賣操作。
南方財(cái)富網(wǎng)聲明:資訊來源于合作媒體及機(jī)構(gòu),屬作者個(gè)人觀點(diǎn),僅供投資者參考,并不構(gòu)成投資建議。投資者據(jù)此操作,風(fēng)險(xiǎn)自擔(dān)。
- 變色與變形KDJ指標(biāo)在股市怎樣應(yīng)用(附源碼
- 隨機(jī)指標(biāo)實(shí)戰(zhàn)分析的9個(gè)核心原則
- 終極解密kdj指標(biāo)圖像原理與操作技巧
- 投資者怎樣理解kdj指標(biāo)的原理
- 實(shí)戰(zhàn)解說周線kdj指標(biāo)的選股方案
- KDJ與EXPMA指標(biāo)的實(shí)戰(zhàn)結(jié)合應(yīng)用
- 鐵樹開花的意思 kdj鐵樹開花戰(zhàn)法
- 超買超賣指標(biāo)-KDJ指標(biāo)
- 原油投資中什么是KDJ死叉?
- KDJ指標(biāo)的原理與實(shí)戰(zhàn)運(yùn)用