通達信KDJ買點超準指標公式
- 指標類別: 通達信指標公式
- 授權(quán)方式: 免費版
- 指標評級: ★★★★★
- 指標分類: 超買超賣
- 畫線方法: 副圖
- 日期:2020-05-06 來源:互聯(lián)網(wǎng)
通達信KDJ買點超準指標公式:
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,LINETHICK2;
K:SMA(RSV,3,1);
D:SMA(K,3,1);
J:3*K-2*D,COLORFF00FF;
IF(J<0,J,DRAWNULL),COLORGREEN,LINETHICK3;
IF(K>90,K,DRAWNULL),COLOR0000FF,LINETHICK3;
IF(D>85,D,DRAWNULL),COLORFFFF11,LINETHICK3;
DRAWICON(CROSS(J,1),J,1);
DRAWICON(K>80 AND D>80 AND CROSS(D,K),D,2);
{MDCZ買點超準}
HLM1:=MA(HHV(H,485),17);
HLM2:=MA(HHV(H,222),17);
HLM3:=MA(HHV(H,96),17);
HLM4:=MA(LLV(L,485),17);
HLM5:=MA(LLV(L,222),17);
HLM6:=MA(LLV(L,96),17);
HLM7:=MA((HLM1*0.558+HLM2*0.558+HLM3*0.558+HLM4*0.96+HLM5*0.96+HLM6*0.96)/6,17);
HLM8:=MA((HLM1*0.55+HLM2*0.55+HLM3*0.65+HLM4*1.25+HLM5*1.23+HLM6*1.2)/6,17);
HLM9:=MA((HLM1*0.68+HLM2*0.68+HLM3*0.68+HLM4*1.3+HLM5*1.3+HLM6*1.3)/6,17);
HLM10:=MA((HLM7*3+HLM8*2+HLM9)/6*1.738,17);
HLM11:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1)*100;
HLM12:=MA(IF(C*1.35<=HLM10,HLM11*10,HLM11/10),3);
HLMH:=HHV(HLM12,30);
關(guān)注:MA(IF(L<=LLV(L,13),(HLMH+HLM11*2)/2,0),3) /200,COLOR00FF00,LINETHICK3;
DRAWTEXT(CROSS(關(guān)注,1.2),關(guān)注*0.5-6,'↑▲'),COLORFF00FF;
DRAWTEXT(CROSS(關(guān)注,4.5),關(guān)注,'買點出現(xiàn)'),COLOR00FFFF;
DRAWICON(CROSS(關(guān)注,7.0),關(guān)注*0.5-20,14);
0;20;50;80;100;
{把它加到KDJ指標上(0--100坐標),效果很好!};
N1:=7;
LC:=REF(CLOSE,1);
X:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100,COLORYELLOW,LINETHICK1;
魔鬼:=DRAWLINE(X>=HHV(X,N1),X,X<=LLV(X,N1),X,1),COLOR00FF00;
魔王:=DRAWLINE(X>=HHV(X,N1),X,X<=LLV(X,N1),1,X),COLOR00FF00;
TJ0:=X=魔王;
TJ1:=X=魔鬼;
TJ2:=X<REF(X,1);
TJ3:=X>REF(1,X);
JRS1:=DRAWICON(TJ1 AND TJ2,X,1);
JRS2:=DRAWICON(TJ0 AND TJ3,X,2);
DRAWICON(FILTER(JRS1>0,1),L*0.97,1);
DRAWICON(FILTER(JRS2>0,1),H*1.02,2);
通達信KDJ買點超準指標公式實例圖解:
通達信KDJ買點超準指標公式