通達信智能KDJ買賣指標公式
- 指標類別: 通達信指標公式
- 授權(quán)方式: 免費版
- 指標評級: ★★★★★
- 指標分類: 趨勢
- 畫線方法: 副圖
- 日期:2021-11-03 來源:互聯(lián)網(wǎng)
通達信智能KDJ買賣指標公式:
N:=9;M1:=3;M2:=3;
{KDJ}
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:SMA(RSV,M1,1);
D:SMA(K,M2,1);
J:3*K-2*D;
頂軸:105, POINTDOT;
上軸:90, POINTDOT;
下軸:10, POINTDOT;
底軸:0, POINTDOT;
搶錢軸:-10, POINTDOT;
DRAWTEXT(CROSS(J,頂軸) ,100,'大出'), COLORYELLOW;
DRAWTEXT(CROSS(J,上軸) ,90,'小出'), COLOR99FFCC;
DRAWTEXT(CROSS(下軸,J) ,10,'小進'), COLORBLUE;
DRAWTEXT(CROSS(底軸,J) ,0,'大進'), COLORRED;
DRAWTEXT(CROSS(搶錢軸,J) ,-5,'狂進'), COLORWHITE;
{黃金方塊}
RA:=LLV(LOW,35);
RB:=HHV(HIGH,30);
RC:=EMA((CLOSE-RA)/(RB-RA)*4,4)*19;
近日均價:=MA(CLOSE,5),COLORYELLOW,LINETHICK2;
STICKLINE(RC<6 AND 100*(HHV(HIGH,19)-CLOSE)/(HHV(HIGH,19)-LLV(LOW,19))>97 ,0 ,近日均價*1.15 ,2 , 0),COLORYELLOW;
{提示}
VAR1:=(EMA(CLOSE,12)-EMA(CLOSE,26))*100+50;
VAR2:=EMA(VAR1,9);
VAR3:=(HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21))*100-10;
VAR4:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
VAR5:=SMA(VAR4,13,8);
Q1:=(CLOSE-REF(CLOSE, 1))/REF(CLOSE, 1)*100;
Q2:=(CLOSE-LLV(LOW, 18))/(HHV(HIGH, 18)-LLV(LOW, 18))*100;
Q3:=SMA(Q2, 9, 1);
Q4:=SMA(Q3, 3, 1);
趨勢:=3*Q3-2*Q4;
Q5:=趨勢>1*REF(趨勢, 1);
Q6:=LLVBARS(LOW, 50);
Q7:=SUM(VOL, Q6);
Q8:=HHVBARS(HIGH, 50);
Q9:=SUM(VOL, Q8);
Q10:=(CLOSE-REF(OPEN, Q8))/REF(OPEN, Q8)*100;
Q11:=HHV(趨勢,5);
A1:=EMA(Q3, 3);
A2:=EMA(A1, 3);
A3:=EMA(A2, 3);
A4:=EMA(A3, 3);
A5:=EMA(A4, 3);
A6:=EMA(A5, 3);
A:=EMA(A4, 3);
DRAWTEXT(CROSS(趨勢, 20) AND Q10<-13,10,'看量入場'), COLORRED;
DRAWTEXT(CROSS(趨勢, A5) AND REF(趨勢,1)<34,REF(趨勢,1),'盯緊'), COLORWHITE;
DRAWTEXT(CROSS(趨勢, A1) AND Q5 AND A1<20 AND Q1>9 OR A1>1*REF(A1, 1)
AND Q1>4 AND A1<60, 45, '調(diào)'), COLOR00FF00;
通達信智能KDJ買賣指標公式實例圖解:
通達信智能KDJ買賣指標公式