1. 哪位高手幫忙把這個通達信主圖指標改成條件選股公式出現B點時滿足條件
VAR2:=(100 - ((90 * (HHV(HIGH,14) - CLOSE)) / (HHV(HIGH,14) - LLV(LOW,14))));
VAR3:=(100 - MA(((100 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) - LLV(LOW,6))),34));
CROSS(VAR2,MA(VAR3,6));
2. 求海風1、2、3號和益盟操盤手、操盤手BS線的通達信源碼
1、海風2號
MA5:MA(CLOSE,5),COLORFFFFFF,LINETHICK2;
MA13:MA(CLOSE,13),COLOR00FF00;
MA21:MA(CLOSE,21),COLOR00FFFF,LINETHICK2;
MA34:MA(CLOSE,34),COLORFF00FF;
{MA55:MA(CLOSE,55),COLOR0000FF;}
{MA120:=MA(CLOSE,120),COLORFFFF00;}
天使:=EMA(C,2),COLOR000000;
魔鬼:=EMA(SLOPE(C,21)*20+C,42),COLOR000000;
買:=CROSS(天使,魔鬼);
賣:=CROSS(魔鬼,天使);
DRAWICON(買,L*0.97,1);
DRAWTEXT(買,L*0.95,'進攻'),COLORYELLOW;
DRAWICON(賣,H*1.03,2);
DRAWTEXT(賣,H*1.05,'撤退'),COLORWHITE;
STICKLINE(天使>=魔鬼,LOW,HIGH,0.01,0),COLOR0000DD;
STICKLINE(天使>=魔鬼,CLOSE,OPEN,2,1),COLORRED;
{STICKLINE(天使>=魔鬼,CLOSE,OPEN,3,0),COLOR0000CC;
STICKLINE(天使>=魔鬼,CLOSE,OPEN,2,0),COLOR0000DD;
STICKLINE(天使>=魔鬼,CLOSE,OPEN,1,0),COLOR0000FF;}
{STICKLINE(天使<魔鬼,CLOSE,OPEN,1,0),COLOREEEE00;
STICKLINE(天使<魔鬼,CLOSE,OPEN,2,0),COLORDDDD00;
STICKLINE(天使<魔鬼,CLOSE,OPEN,3,0),COLORCCCC00;}
STICKLINE(天使<魔鬼,LOW,HIGH,0.01,0),COLORFFDD00;
STICKLINE(天使<魔鬼,CLOSE,OPEN,2,0),COLORFFFF00;
STICKLINE(CROSS(天使,魔鬼),OPEN,CLOSE,2.5,0),COLORYELLOW;
STICKLINE(CROSS(魔鬼,天使),OPEN,CLOSE,2.5,0),COLORWHITE;
2、益盟操盤手
VAR1:=(100 - ((90 * (HHV(HIGH,14) - CLOSE)) / (HHV(HIGH,14) - LLV(LOW,14))));
VAR2:=(100 - ((90 * (HHV(HIGH,14) - CLOSE)) / (HHV(HIGH,14) - LLV(LOW,14))));
VAR3:=(100 - MA(((100 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) - LLV(LOW,6))),34));
DIR1:=ABS(CLOSE-REF(CLOSE,5));
VIR1:=SUM(ABS(CLOSE-REF(CLOSE,1)),5);
ER1:=DIR1/VIR1;
CS1:=ER1*(0.8-2/8)+2/8;
CQ1:=CS1*CS1;
AMA1:EMA(DMA(CLOSE,CQ1),2) ,COLORWHITE;
DIR2:=ABS(CLOSE-REF(CLOSE,10));
VIR2:=SUM(ABS(CLOSE-REF(CLOSE,1)),10);
ER2:=DIR2/VIR2;
CS2:=ER2*(0.8-2/24)+2/24;
CQ2:=CS2*CS2;
AMA2:EMA(DMA(CLOSE,CQ2),2),COLORGREEN,LINETHICK2;
AMA3:IF(AMA2/REF(AMA2,1)>0.997,AMA2,DRAWNULL),COLORYELLOW,LINETHICK2;
AMA4:IF(AMA2/REF(AMA2,1)>1.001,AMA2,DRAWNULL),COLORRED,LINETHICK2;
STICKLINE((VAR2 < MA(VAR3,6)),CLOSE,OPEN,3,1),COLOR008000;
STICKLINE((VAR2 > MA(VAR3,6)),OPEN,CLOSE,3,1),COLORRED;
STICKLINE(((OPEN > CLOSE) AND (VAR2 > MA(VAR3,6))),(OPEN * 0.998),(CLOSE * 1.0001),2.3,0),COLOR008000;
STICKLINE(((OPEN < CLOSE) AND (VAR2 < MA(VAR3,6))),(CLOSE * 0.998),(OPEN * 1.002),2.3,0),COLORRED;
STICKLINE(((OPEN > CLOSE) AND (VAR2 < MA(VAR3,6))),CLOSE,OPEN,2.3,0),COLOR008000;
DRAWICON(CROSS(VAR2,MA(VAR3,6)),(LOW - (LOW*0.04)),7);
DRAWICON(CROSS(MA(VAR3,6),VAR1),(HIGH+(HIGH*0.03)),8);
PT:=REF(H,1)-REF(L,1);
CDP:=(REF(H,1)+REF(L,1)+REF(C,1)*2)/4;
AH:=CDP+PT;
AL:=CDP-PT;
NH:=CDP*2-REF(L,1);
NL:=CDP*2-REF(H,1);
強:IF(AH>REF(C,1)*1.1,REF(C,1)*1.1,AH)NODRAW;
阻:IF(NH>強,(強-CDP)*0.618+CDP,NH)NODRAW,COLORCYAN;
M:=IF(AL<REF(C,1)/1.1,REF(C,1)/1.1,AL);
撐:IF(NL<M,CDP-(CDP-M)*0.618,NL)NODRAW;
底:IF(AL<REF(C,1)/1.1,REF(C,1)/1.1,AL)NODRAW;
3、操盤手BS線
MA5:MA(C,5),COLORF00FF0;
MA10:MA(C,10),COLORYELLOW;
MA21:MA(C,21),COLORE66878;
MA30:MA(C,30),COLORWHITE;
MA120:MA(C,120),COLOR399C7F,POINTDOT;
MA240:MA(C,240),COLOR000999,POINTDOT;
X1:=(C+L+H)/3;
X2:=EMA(X1,6);
X3:=EMA(X2,5);
DRAWICON(CROSS(X2,X3),L*0.98,7);
DRAWICON(CROSS(X3,X2),H*1.02,8);
STICKLINE(X2>=X3,LOW,HIGH,0.1,1),COLORRED;
STICKLINE(X2>=X3,CLOSE,OPEN,2,2),COLORRED;
STICKLINE(X2>=X3,CLOSE,OPEN,2,8),COLORBROWN;
STICKLINE(X2<X3,LOW,HIGH,0.1,1),COLORGREEN;
STICKLINE(X2<X3,CLOSE,OPEN,2,2),COLORGREEN;
STICKLINE(CROSS(X2,X3),OPEN,CLOSE,2,1),COLORYELLOW;
STICKLINE(CROSS(X3,X2),OPEN,CLOSE,2,1),COLORBLUE;
4、四方力道(主)
V1:=DMA((((HIGH + LOW) + (CLOSE * 2)) / 4.15),0.9);
HY1:=REF(EMA(V1,3),1);
實時線:MA(CLOSE,1),COLOR006400;
神秘線:HY1,COLOR400080;
STICKLINE(C>HY1,LOW,HIGH,1,0),COLORRED;
STICKLINE(C>HY1,CLOSE,OPEN,4.5,0),COLORRED;
STICKLINE(C>HY1,CLOSE,OPEN,4,0),COLORRED;
STICKLINE(C>HY1,CLOSE,OPEN,3,0),COLORRED;
STICKLINE(C>HY1,CLOSE,OPEN,2,0),COLORRED;
STICKLINE(C<=HY1,CLOSE,OPEN,4.5,0),COLORFF4242;
STICKLINE(C<=HY1,CLOSE,OPEN,4,0),COLORFF4242;
STICKLINE(C<=HY1,CLOSE,OPEN,3,0),COLORFF4242;
STICKLINE(C<=HY1,CLOSE,OPEN,2,0),COLORFF4242;
STICKLINE(C<=HY1,LOW,HIGH,1,0),COLORFF4242;
DRAWTEXT(CROSS(CLOSE,HY1),LOW,'買點'),LINETHICK2,COLORYELLOW;
DRAWTEXT(CROSS(HY1,CLOSE),HIGH*1.08,'賣點'),LINETHICK3,COLORWHITE;
APP:=(VOL / (((HIGH - LOW) * 2) - ABS((CLOSE - OPEN))));
ZL:=IF((CLOSE > OPEN),(APP * (HIGH - LOW)),IF((CLOSE < OPEN),(APP * ((HIGH - OPEN) + (CLOSE - LOW))),(VOL / 2)));
SF:=IF((CLOSE > OPEN),(0 - (APP * ((HIGH - CLOSE) + (OPEN - LOW)))),IF((CLOSE < OPEN),(0 - (APP * (HIGH - LOW))),(0 - (VOL / 2))));
庫存能量:=MA((ZL + SF),2);
庫存平均:=MA((ZL + SF),5);
DRAWTEXT(CROSS(庫存能量,庫存平均),L*0.97,''),COLORFF00FF,LINETHICK4;
5、上出下買+三背離
A:=MA(CLOSE,17)+ABS(MA(CLOSE,17)-REF(MA(CLOSE,17),1));
B:=MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),1);
分水嶺:IF(MA(CLOSE,17)<B,B,MA(CLOSE,17)),COLORFF00FF,LINETHICK2;
PMA:=分水嶺;
DD:=分水嶺<REF(分水嶺,1);
IF(DD,分水嶺,DRAWNULL),COLOR00FF00,LINETHICK2;
操作線:分水嶺-(EMA(C,3)-分水嶺),COLOR00FFFF,LINETHICK2;
S:=(PMA>操作線);
IF(S,分水嶺,DRAWNULL),COLOR00FF00,POINTDOT,LINETHICK4;
PM:MA(C,5),COLORFFFFCC,LINETHICK2;
IF(PM>REF(PM,1),PM,DRAWNULL),COLORRED,LINETHICK2;
IF(PM=REF(PM,1),PM,DRAWNULL),COLORRED;
IF(PM<REF(PM,1),PM,DRAWNULL),COLORFF9900,LINETHICK2;
DRAWICON(CROSS(分水嶺,操作線),分水嶺-0.1,1);
A1:=BARSLAST(REF(CROSS("MACD.DIF","MACD.DEA"),1));
B1:=REF(C,A1+1)>C AND REF("MACD.DIF",A1+1)<"MACD.DIF" AND CROSS("MACD.DIF","MACD.DEA");
DRAWTEXT(B1>0,L-0.02,'★M'),COLOR00FFFF;
A2:=BARSLAST(REF(CROSS("KDJ.K","KDJ.D"),1));
B2:=REF(C,A2+1)>C AND REF("KDJ.K",A2+1)<"KDJ.K" AND CROSS("KDJ.K","KDJ.D");
DRAWTEXT(B2,L-0.10,'◎K'),COLORFF00FF;
A3:=BARSLAST(REF(CROSS("RSI.RSI1","RSI.RSI2"),1));
B3:=REF(C,A3+1)>C AND REF("RSI.RSI1",A3+1)<"RSI.RSI1" AND CROSS("RSI.RSI1","RSI.RSI2");
DRAWTEXT(B3>0,L-0.18,'◆R'),COLOR0000FF;
C1:=BARSLAST(REF(CROSS("MACD.DEA","MACD.DIF"),1));
D1:=REF(C,C1+1)<C AND REF("MACD.DIF",C1+1)>"MACD.DIF" AND CROSS("MACD.DEA","MACD.DIF");
DRAWTEXT(D1>0,H+0.16,'★M'),COLOR00FF00;
C2:=BARSLAST(REF(CROSS("KDJ.D","KDJ.K"),1));
D2:=REF(C,C2+1)<C AND REF("KDJ.K",C2+1)>"KDJ.K" AND CROSS("KDJ.D","KDJ.K");
DRAWTEXT(D2>0,H+0.08,'◎K'),COLORFFFFCC;
C3:=BARSLAST(REF(CROSS("RSI.RSI2","RSI.RSI1"),1));
D3:=REF(C,C3+1)<C AND REF("RSI.RSI1",C3+1)>"RSI.RSI1" AND CROSS("RSI.RSI2","RSI.RSI1");
DRAWTEXT(D3>0,H+0.04,'◆R'),COLORFF9900;
6、變色KDJ
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:SMA(RSV,3,1),COLORWHITE;
D:SMA(K,3,1),COLORYELLOW;
J:3*K-2*D,COLORYELLOW;
IF(K<REF(K,1),K,DRAWNULL),COLORGREEN,LINETHICK1;
IF(D<REF(D,1),D,DRAWNULL),COLORGREEN,LINETHICK1;
IF(J<REF(J,1),J,DRAWNULL),COLORFFFF00,LINETHICK1;
IF(K>REF(K,1),K,DRAWNULL),COLORRED,LINETHICK1;
IF(D>REF(D,1),D,DRAWNULL),COLORRED,LINETHICK1;
IF(J>REF(J,1),J,DRAWNULL),COLORFF00FF,LINETHICK1;
7、變色RSI
N:=3;
N1:=5;N2:=10;N3:=20;N4:=1;M1:=7;M2:=2;
LC :=REF(C,N4);
RSI1:SMA(MAX(C-LC,0),N1,1)/SMA(ABS(C-LC),N1,1)*100,COLORRED,LINETHICK1;
RSI2:SMA(MAX(C-LC,0),N2,1)/SMA(ABS(C-LC),N2,1)*100,COLOR0099FF;
RSI3:SMA(MAX(C-LC,0),N3,1)/SMA(ABS(C-LC),N3,1)*100,COLORYELLOW,LINETHICK1;
IF(RSI1<RSI2,RSI1,DRAWNULL),COLORAA8800,LINETHICK1;
IF(RSI2>RSI1,RSI2,DRAWNULL),COLORAA8800,LINETHICK1;
IF(RSI3>RSI2,RSI3,DRAWNULL)COLORAA8800,LINETHICK1;
TY:=RSI1;{通用曲線值的引入}
AA:=REF(TY,N)=HHV(TY,2*N+1);
BB:=BACKSET(AA,N+1);
CC:=FILTER(BB,N) AND TY=HHV(TY,N+1);
DRAWICON(CC,TY*1.07,10);
AA2:=REF(TY,N)=LLV(TY,2*N+1);
BB2:=BACKSET(AA2,N+1);
CC2:=FILTER(BB2,N) AND TY=LLV(TY,N+1);
DRAWICON(CC2,TY*0.95,11);
GG:=ISLASTBAR AND REF(CC,BARSLAST(CC));
HH:=BACKSET(GG,BARSLAST(CC)+1);
II:=HH>REF(HH,1);
JJ:=REF(BARSLAST(CC),1);
KK:=BACKSET(II,JJ+2);
LL:=KK>REF(KK,1);
DRAWLINE(LL,TY,II,TY,1),COLORRED;
CS:=(REF(TY,BARSLAST(II))-REF(TY,BARSLAST(LL)))/(BARSLAST(LL)-BARSLAST(II));
阻力線:=REF(TY,BARSLAST(II))+BARSLAST(II)*CS;
阻力值:阻力線,LINETHICK0;
DRAWICON(CROSS(TY,阻力線),阻力線*0.99,12);
GG2:=ISLASTBAR AND REF(CC2,BARSLAST(CC2));
HH2:=BACKSET(GG2,BARSLAST(CC2)+1);
II2:=HH2>REF(HH2,1);
JJ2:=REF(BARSLAST(CC2),1);
KK2:=BACKSET(II2,JJ2+2);
LL2:=KK2>REF(KK2,1);
DRAWLINE(LL2,TY,II2,TY,1),COLORGREEN;
8、變色MACD
DIF1:=EMA(CLOSE,12) - EMA(CLOSE,26);
DEA1:=EMA(DIF1,9);
MACD1:=2*(DIF1-DEA1),STICK;
MACD2:=EMA(MACD1,3);
STICKLINE(MACD1>MACD2 AND MACD1>0,0,MACD1,1,0),COLORRED;
STICKLINE(MACD1>MACD2 AND MACD1<0,0,MACD1,1,0),COLORGREEN;
STICKLINE(MACD1<MACD2,0,MACD1,1,0),COLORCBCBC0;
STICKLINE(MACD1>=0 OR MACD1<=0,0,0,50,1),COLORWHITE;
DIF:DIF1,COLOR33FF33;
DEA:DEA1,COLORYELLOW;
MACD:MACD1,NODRAW,COLORMAGENTA;
強:IF(DIF1>=DEA1,DIF1,DRAWNULL),COLORRED,LINETHICK2;
3. CDP指標公式
CDP指標對廣大的投資者來說是一個比較陌生的老指標。它沒有引起投資者的注意主要是在現在市場上的技術分析軟體中,沒有在靜態和動態技術欄中設定,而是在各股的分時走勢或K線圖狀態中的分筆或成交明細中隱藏,只有在各股中處於上述狀態下,連續按"+"或"-"鍵才能顯現。同時,市場上的技術叢書中也無介紹,從而造成無人問津的境界。實際上CDP技術指標在一個牛皮盤局中是一個較好的高拋低吸的短線操作工具。該指標與其他技術指標不同之處是沒有曲線圖表,只有AH、NH、CDP、NL、AL五個數據,其運用法則為:NL和NH是進行短線進出的最佳點位,即:投資者想當日賣出時,把價格定在該股票CDP指標中的NH值上。若投資者想低價買入該股票,一般把買入價設在NL值上均會成功。而對波段操作者而言AH值和AL值是引導進出場的條件。凡是當然股價向上突破AH值時,股價次日還漲,而股價跌破AL值時,則股價次日將續跌。從滬深兩市實踐中證明每當一個連續下跌中的股票,若某日該股突破AH值時,有80%的概率是反轉信號,若一個連續上漲的股票,某日股價下跌破AL,則升勢宣告結束,因此,該組數據所提供的反轉信號要比其它技術指標超前一些。而CDP值只說明股價現階段的強弱情況,當股價高於該股CDP值時,現階段市場偏強。反之,偏弱。該技術指標不僅運用簡單,並且買賣點位明確,准確率也非常高。CDP逆勢操作指標的使用方法:開盤開在CDP最高值之上,立即追進!開盤開在CDP最低值之下,市場前景非常可怕,應當立即止損出局!平常波段操作在CDP的次高值與次低值,做買賣交易!中間值無意義!
{操盤手+自適應+cdp三合一}(主圖)
VAR1:=(100 - ((90 * (HHV(HIGH,14) - CLOSE)) / (HHV(HIGH,14) - LLV(LOW,14))));
VAR2:=(100 - ((90 * (HHV(HIGH,14) - CLOSE)) / (HHV(HIGH,14) - LLV(LOW,14))));
VAR3:=(100 - MA(((100 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) - LLV(LOW,6))),34));
DIR1:=ABS(CLOSE-REF(CLOSE,5));
VIR1:=SUM(ABS(CLOSE-REF(CLOSE,1)),5);
ER1:=DIR1/VIR1;
CS1:=ER1*(0.8-2/8)+2/8;
CQ1:=CS1*CS1;
AMA1:EMA(DMA(CLOSE,CQ1),2) ,COLORWHITE;
DIR2:=ABS(CLOSE-REF(CLOSE,10));
VIR2:=SUM(ABS(CLOSE-REF(CLOSE,1)),10);
ER2:=DIR2/VIR2;
CS2:=ER2*(0.8-2/24)+2/24;
CQ2:=CS2*CS2;
AMA2:EMA(DMA(CLOSE,CQ2),2),COLORGREEN,LINETHICK2;
AMA3:IF(AMA2/REF(AMA2,1)>0.997,AMA2,DRAWNULL),COLORYELLOW,LINETHICK2;
AMA4:IF(AMA2/REF(AMA2,1)>1.001,AMA2,DRAWNULL),COLORRED,LINETHICK2;
STICKLINE((VAR2 < MA(VAR3,6)),CLOSE,OPEN,3,1),COLOR008000;
STICKLINE((VAR2 > MA(VAR3,6)),OPEN,CLOSE,3,1),COLORRED;
STICKLINE(((OPEN > CLOSE) AND (VAR2 > MA(VAR3,6))),(OPEN * 0.998),(CLOSE * 1.0001),2.3,0),COLOR008000;
STICKLINE(((OPEN < CLOSE) AND (VAR2 < MA(VAR3,6))),(CLOSE * 0.998),(OPEN * 1.002),2.3,0),COLORRED;
STICKLINE(((OPEN > CLOSE) AND (VAR2 < MA(VAR3,6))),CLOSE,OPEN,2.3,0),COLOR008000;
DRAWICON(CROSS(VAR2,MA(VAR3,6)),(LOW - (LOW*0.04)),7);
DRAWICON(CROSS(MA(VAR3,6),VAR1),(HIGH+(HIGH*0.03)),8);
PT:=REF(H,1)-REF(L,1);
CDP:=(REF(H,1)+REF(L,1)+REF(C,1)*2)/4;
AH:=CDP+PT;
AL:=CDP-PT;
NH:=CDP*2-REF(L,1);
NL:=CDP*2-REF(H,1);
強:IF(AH>REF(C,1)*1.1,REF(C,1)*1.1,AH)NODRAW;
阻:IF(NH>強,(強-CDP)*0.618+CDP,NH)NODRAW,COLORCYAN;
M:=IF(AL<REF(C,1)/1.1,REF(C,1)/1.1,AL);
撐:IF(NL<M,CDP-(CDP-M)*0.618,NL)NODRAW;
底:IF(AL<REF(C,1)/1.1,REF(C,1)/1.1,AL)NODRAW;
通達信公式:(副圖)
N:=50;P:=55;
CDP:=(HIGH+2*CLOSE+LOW)/4;
FZ: WINNER((HIGH+LOW)/2)*100;
DX1:=100*ABS((COST(N)-CDP)/CDP);
DX:IF(DX1>100,100,DX1);
TX:100-DX;
PY:EMA(FZ,P);
STICKLINE(FZ<DX,DX,FZ,3,0),COLOREEEEFF;
STICKLINE(FZ<DX,DX,FZ+(DX-FZ)*0.88,4,0),COLORABCDEF;
STICKLINE(FZ<DX,DX,FZ+(DX-FZ)*0.6,4,0),COLORCCCCDF;
STICKLINE(FZ<DX,DX,FZ+(DX-FZ)*0.35,4,0),COLOR9999FF;
STICKLINE(FZ<DX,DX,FZ+(DX-FZ)*0.3,4,0),COLOR5555AF;
STICKLINE(FZ<DX,DX,FZ+(DX-FZ)*0.1,4,0),COLOR2222BF;
STICKLINE(FZ>TX,TX,FZ,4,0),COLORFFB0B0;
STICKLINE(FZ>TX,TX,TX+(FZ-TX)*0.88,4,0),COLORFF9F9F;
STICKLINE(FZ>TX,TX,TX+(FZ-TX)*0.6,4,0),COLORFF8E8E;
STICKLINE(FZ>TX,TX,TX+(FZ-TX)*0.35,4,0),COLORFF7E7E;
STICKLINE(FZ>TX,TX,TX+(FZ-TX)*0.3,4,0),COLORFF4E4E;
STICKLINE(FZ>TX,TX,TX+(FZ-TX)*0.2,4,0),COLORFF2E2E;
4. KDJ線是評價什麼的
很多股民朋友對炒股就是炒預期有所耳聞,看上市公司未來的發展,但炒股不僅要看公司的基本面,還需要看一下技術面。一談及技術面,多數人對MACD指標都有所了解,然而對KDJ的用法卻不是很明白,針對想要做短期的朋友來講,KDJ的重要性不言而喻。那麼今天,咱們就來扒一扒KDJ指標到底是什麼,以及我們該如何利用這個技術指標來提升自己做短線操作的容錯率。開始之前,不妨先領一波福利--機構精選的牛股榜單新鮮出爐,走過路過可別錯過:【絕密】機構推薦的牛股名單泄露,限時速領!!!
一、KDJ是什麼?
KDJ指標其實指的就是隨機指標,是由K線、D線和J線三條曲線所構成的,通過分析圖片,我們可以得出,K、D、J分別用不一樣的顏色來代表,其中K線為快速確認線,D線代表的是慢速主幹線,而方向明暗線則為J線。K值和D值的浮動范圍是0~100,而J值則存在小於0或大於100的情況,具有最大的波動范圍。KDJ的用處體現字判斷中短期行情走勢上。
總的來說,KDJ指標的作用僅僅是對行情進行判斷,需要把個股走勢准確的判斷出來,還需要把大盤走勢、所處的板塊及時事政策等多方面因素結合起來考量。實在沒有充足的時間去研究某隻個股的朋友,不妨點擊下面這個鏈接,輸入自己想要了解的股票代碼,進行深度分析【免費】測一測你的股票當前估值位置?
三、KDJ指標的優劣勢
KDJ指標的優點是對股價變化非常敏銳,可以作為短線操作的參考依據。但由於該指標有著過高的敏感度,有時買入或者賣出信號會過早地發出,容易導致投資者在操作上出現錯誤。那如何才能找到完美買賣時機?純人力技術分析還有用嗎?試試點擊下方鏈接,AI智能判斷買賣時機,進場再也不猶豫:【AI輔助決策】買賣時機捕捉神器
應答時間:2021-08-27,最新業務變化以文中鏈接內展示的數據為准,請點擊查看
5. 當前公式 : CDP短線 (指標畫線公式) 公式錯誤,無法添加到通達信指標中,求大神解答!
你的這個公式是大智慧軟體上使用的,通達信不能直接使用.
你可以以--CDP短線 (指標畫線公式)網路看看有沒有與該指標一樣的.
6. CDP在炒股中如何運用
逆勢操作系統,即CDP,是威爾斯·王爾德(Welles Wilder)提出的一種交易方法。在無趨勢的市場中,設價格處於無方向的調整狀態,可以依據上一交易日的最高價、最低價及收盤價來界定次日的交易價位。當日內同時買進賣出,是一種極短線的操作方法。
其計算公式為:
1.需求值(CDP)=(前日最高價+前日最低價+前日收盤價*2)/4
2.最高值(AH)=CDP+(前日最高價-前日最低價)
近高值(NH)=CDP*2-前日最低價
3.最低值(AL)=CDP-(前日最高價-前日最低價)
近低值(NL)=CDP*2-前日最高價
4.則此五個數值的排列順序為(從最高到最低):AH,NH,CDP,NL,AL
應用法則為:
1.CDP指標利用昨日的行情預測今日的股價走勢,供當天盤中的短線操作。即用昨日的波動來將今日的未來行情做一個高低等級的劃分,研判的關鍵是開盤價在CDP五個數值的哪個位置。
2.如果開盤價在NH與NL之間,表示今日行情可能呈小幅震盪,可以在NL的價位買進,而在NH的價位賣出;或在NH的價位賣出,NL的價位買進。以當日軋平為原則。
3.在波動較大的情況下,即開市價開在AH或AN附近時,意味著跳空開高或跳空開低,是一個大行情的發動開始.因此可在AH的價位去追買,AL的價位去追賣。通常一個跳空,意味著一個強烈的漲跌,應有相當的利潤。
注意要點:
1.CDP指標最適合於上下振盪的盤局行情,選擇高賣低買的區間賺取短線利潤。
2.對於大漲大跌的行情,尤其是沖破阻力價和支撐位時,為避免軋空或橫壓,需設停損點,防止突發性利多或利空的影響。
7. 誰幫我把這個指標編成選股源碼!
VAR2:=(100 - ((90 * (HHV(HIGH,14) - CLOSE)) / (HHV(HIGH,14) - LLV(LOW,14))));
VAR3:=(100 - MA(((100 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) - LLV(LOW,6))),34));
XG:CROSS(VAR2,MA(VAR3,6)); {B買入選股,就這3句}
{你公式N參數用到了沒,還是就發的一段,VAR1和VAR2一樣的吧}
8. 通達信 區間震盪線 dpo指標源碼
通達信區間震盪線指標源碼是正確的。你不要亂動就可以使用。
9. 通達信主圖指標源碼,求老師看有沒有未來,並幫改成選股和預警公式,謝謝
(1)無未來函數
(2)選股公式如下(買入):
VAR1:=(100 - ((90 * (HHV(HIGH,14) - CLOSE)) / (HHV(HIGH,14) - LLV(LOW,14))));
VAR2:=(100 - ((90 * (HHV(HIGH,14) - CLOSE)) / (HHV(HIGH,14) - LLV(LOW,14))));
VAR3:=(100 - MA(((100 * (HHV(HIGH,6) - CLOSE)) / (HHV(HIGH,6) - LLV(LOW,6))),34));
DIR1:=ABS(CLOSE-REF(CLOSE,5));
VIR1:=SUM(ABS(CLOSE-REF(CLOSE,1)),5);
ER1:=DIR1/VIR1;
CS1:=ER1*(0.8-2/8)+2/8;
CQ1:=CS1*CS1;
DIR2:=ABS(CLOSE-REF(CLOSE,10));
VIR2:=SUM(ABS(CLOSE-REF(CLOSE,1)),10);
ER2:=DIR2/VIR2;
CS2:=ER2*(0.8-2/24)+2/24;
CQ2:=CS2*CS2;
CROSS(VAR2,MA(VAR3,6));