当前位置: 首页 > 文章教程  > 股票财经 > 炒股公式

通达信神龙精准KDJ指标公式

5/13/2018 9:54:44 PM 人评论

DRAWGBK(CLOSE>0,RGB(0,0,0),RGB(20,58,120),0,61,0);X_1:=MA(CLOSE,13);X_2:=100-ABS((CLOSE-X_1)/X_1*100);X_3:=LLV(LOW,75);X_4:=HHV(HIGH,75);X_5:=(X_4-X_3)/100;X_6:=SMA((CLOSE-X_3)/X_5,20,1);X_7:=SMA((OPEN-X_3)/X_5,20,1);X_8:=3*X_6-2*SMA(X_6,15,1);X_9:…

DRAWGBK(CLOSE>0,RGB(0,0,0),RGB(20,58,120),0,61,0);
X_1:=MA(CLOSE,13);
X_2:=100-ABS((CLOSE-X_1)/X_1*100);
X_3:=LLV(LOW,75);
X_4:=HHV(HIGH,75);
X_5:=(X_4-X_3)/100;
X_6:=SMA((CLOSE-X_3)/X_5,20,1);
X_7:=SMA((OPEN-X_3)/X_5,20,1);
X_8:=3*X_6-2*SMA(X_6,15,1);
X_9:=3*X_7-2*SMA(X_7,15,1);
X_10:=100-X_9;
X_11:=100-X_8;
X_12:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
X_13:=EMA(X_12,5);
DRAWBAND(IF(X_13-X_11>=0,X_13-X_11,0),RGB(150,90,50),0,RGB(50,50,50));
X_14:=(2*CLOSE+HIGH+LOW)/4;
X_15:=LLV(LOW,34);
X_16:=HHV(HIGH,34);
X_17:=MAX((X_14-X_15)/(X_16-X_15)*100,8);
X_18:=SMA(X_17,8,1);
X_19:=SMA(X_18,5,1);
DRAWBAND(X_18,RGB(250,248,0),X_19,RGB(0,118,0));
J:3*X_18-2*X_19,COLORMAGENTA;
IF(EMA(((2*CLOSE+HIGH+LOW+OPEN)/5-LLV((2*CLOSE+HIGH+LOW+OPEN)/5,60))/(HHV((2*CLOSE+HIGH+LOW+OPEN)/5,60)-LLV((2*CLOSE+HIGH+LOW+OPEN)/5,60)),2)*100>90 OR EMA(((2*CLOSE+HIGH+LOW+OPEN)/5-LLV((2*CLOSE+HIGH+LOW+OPEN)/5,15))/(HHV((2*CLOSE+HIGH+LOW+OPEN)/5,15)-LLV((2*CLOSE+HIGH+LOW+OPEN)/5,15)),2)*100>95 AND J>80,J,DRAWNULL),COLORGREEN,LINETHICK2;
IF(EMA(((2*CLOSE+HIGH+LOW+OPEN)/5-LLV((2*CLOSE+HIGH+LOW+OPEN)/5,60))/(HHV((2*CLOSE+HIGH+LOW+OPEN)/5,60)-LLV((2*CLOSE+HIGH+LOW+OPEN)/5,60)),2)*100<10 OR EMA(((2*CLOSE+HIGH+LOW+OPEN)/5-LLV((2*CLOSE+HIGH+LOW+OPEN)/5,15))/(HHV((2*CLOSE+HIGH+LOW+OPEN)/5,15)-LLV((2*CLOSE+HIGH+LOW+OPEN)/5,15)),2)*100<5 AND J<5,J,DRAWNULL),COLORYELLOW,LINETHICK2;
X_20:=SMA(CLOSE,2,1);
X_21:=SMA(MAX(CLOSE-X_20,0),6,1)/SMA(ABS(CLOSE-X_20),6,1)*100;
X_22:=SMA(HIGH,2,1);
X_23:=SMA(MAX(HIGH-X_22,0),6,1)/SMA(ABS(HIGH-X_22),6,1)*100;
X_24:=SMA(OPEN,2,1);
X_25:=SMA(MAX(OPEN-X_24,0),6,1)/SMA(ABS(OPEN-X_24),6,1)*100;
X_26:=SMA(LOW,2,1);
X_27:=SMA(MAX(LOW-X_26,0),6,1)/SMA(ABS(LOW-X_26),6,1)*100;
X_28:=SMA(10000*CLOSE/INDEXC,2,1);
X_29:=SMA(MAX(10000*CLOSE/INDEXC-X_28,0),6,1)/SMA(ABS(10000*CLOSE/INDEXC-X_28),6,1)*100;
X_30:=(X_21+X_25+X_23+X_27+X_29)/5;
X_31:=EMA(EMA(X_30,6),5);
底部【机会区】:IF(X_30<=15 AND X_31<=15,J,DRAWNULL),COLORRED,LINETHICK3;
顶部【风险区】:IF(X_30>=85 AND X_31>=80,J,DRAWNULL),COLORWHITE,LINETHICK3;
控仓(险):EMA(WINNER(CLOSE)*100,5)>85 AND X_18>85 OR (EMA(WINNER(CLOSE)*100,5)>90 OR X_18>90),NODRAW,COLORCYAN;
STICKLINE(控仓(险),J,85,0,1),COLORCYAN,LINETHICK3;
X_32:=REF(LOW,1)*0.9;
X_33:=EMA(X_32,30);
X_34:=CLOSE-REF(CLOSE,1);
X_35:=MAX(X_34,0);
X_36:=ABS(X_34);
X_37:=SMA(X_35,7,1)/SMA(X_36,7,1)*100;
X_38:=SMA(X_35,13,1)/SMA(X_36,13,1)*100;
X_39:=BARSCOUNT(CLOSE);
X_40:=SMA(MAX(X_34,0),6,1)/SMA(ABS(X_34),6,1)*100;
X_41:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100;
X_42:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
X_43:=SMA((SMA(X_42,4,1)-50)*2,3,1);
X_44:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;
X_45:=SMA(X_44,4,1);
X_46:=SMA(X_45,3,1);
X_47:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;
神龙大底:(X_40<=25 AND X_41<(-95) AND X_47>20 AND X_43<(-30) AND X_46<30 AND X_33-CLOSE>=(-0.25) AND X_37<22 AND X_38<28 AND X_39>50)*50,COLORYELLOW;
X_48:=VOL/REF(VOL,1)>=1.91 AND CLOSE>REF(CLOSE,1) AND CLOSE>OPEN;
X_49:=VOL>=HHV(VOL,21);
X_50:=X_48 AND X_49;
倍量反弹:(X_30<=15 AND X_31<=15 AND X_50)*70,COLORGREEN;
X_51:=BARSLAST(MONTH!=REF(MONTH,1))+1;
月±%:(CLOSE/REF(CLOSE,X_51)-1)*100,NODRAW,COLORRED;

通达信神龙精准KDJ指标公式

相关教程

  • 飞狐主力净买量指标公式

    A:=VOL*CLOSE;B:=SUM(A,2)/SUM(VOL,2);B1:=EMA(B,7);M:=(B-B1);STICKLINE(M>0,0,M,2,0),COLORRED;STICKLINE(M<0,0,M,2,0),COLORGREEN;主力净买量:M,COLORYELLOW;三日均量:EMA(M,3),COLORWHITE;

    5/13/2018 10:07:24 PM
  • 飞狐MACD与KDJ综合指标公式

    DIFZ:=EMA(C,12)-EMA(C,26);DEAZ:=EMA(DIFZ,9);MACDZ:=8*(DIFZ-DEAZ);RSV:=((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21)))*247.2-123.6;SQX:=(C-MA(CLOSE,13))*10;DIF:=EMA(MA(SQX,7),1);DEA:=EMA(DIF,7);MACD:=(DIF-DEA)*2;STICKLINE(MACD>0 AND MACD>REF(M…

    5/13/2018 10:07:22 PM
  • 飞狐MACD和KDJ主图指标公式

    INPUT:N(18),S(26),P(12),M(9);DRAWGBK(CLOSE=CLOSE,COLORRGB(80,130,130),COLORRGB(30,30,60),1);A:=EMA(CLOSE,S);T:=EMA(CLOSE,P);B:=EMA(A,M);T1:=EMA(T,M);DEA:=EMA(T-(T1-T),2),COLORFF8866,LINETHICK2;DIFF:=DEA-EMA(((A-B)-(T-T1)),1)*6,COLORFFFF66,LINETHICK2;F…

    5/13/2018 10:07:20 PM
  • 飞狐将军参谋指标公式

    Var1:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20;Var2:=2*ABS(Var1);Var3:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);Var4:=100-3*SMA((OP…

    5/13/2018 10:07:19 PM

共有条评论 网友评论

验证码: 看不清楚?