飞狐双J线背离指标公式,飞狐多周期KDJ指标公式
admin888
|飞狐双J线背离指标公式,飞狐多周期KDJ指标公式
飞狐双J线背离指标公式
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
J1:3*(SMA(RSV,3,1))-2*(Sma((SMA(RSV,3,1)),3,1));
RSV2:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;
J2:3*(SMA(RSV2,4,1))-2*(SMA((SMA(RSV2,5,1)),5,1));
AA:=REF(J1,3)=HHV(J1,2*3+1);
BB:=BacKSET(AA,3+1);
CC:=FILTER(BB,3) AND J1=HHV(J1,3+1);
A1:=BArslAst(REF(CC,1));
顶背离:=REF(CLOSE,A1+1)
DRAWLINE(CC,J1,FILTER(顶背离>0,5),J1,0),COLORCYAN,LINETHICK2;
AA2:=REF(J1,3)=LLV(J1,2*3+1);
BB2:=BACKSET(AA2,3+1);
CC2:=FILTER(BB2,3) AND J1=LLV(J1,3+1);
AA2A:=BARSLAST(REF(CC2,1));
底背离:=REF(C,AA2A+1)>CLOSE AND REF(J1,AA2A+1)
DRAWLINE(CC2,J1,FILTER(底背离>0,5),J1,0),COLORMAGENTA,LINETHICK2;
AA:=REF(J2,3)=HHV(J2,2*3+1);
BB:=BACKSET(AA,3+1);
CC:=FILTER(BB,3) AND J2=HHV(J2,3+1);
A1:=BARSLAST(REF(CC,1));
顶背离:=REF(CLOSE,A1+1)
DRAWLINE(CC,J2,FILTER(顶背离>0,5),J2,0),COLORGREEN,LINETHICK2;
AA2:=REF(J2,3)=LLV(J2,2*3+1);
BB2:=BACKSET(AA2,3+1);
CC2:=FILTER(BB2,3) AND J2=LLV(J2,3+1);
AA2A:=BARSLAST(REF(CC2,1));
底背离:=REF(C,AA2A+1)>CLOSE AND REF(J2,AA2A+1)
DRAWLINE(CC2,J2,FILTER(底背离>0,5),J2,0),COLORRED,LINETHICK2;
威廉1:-100*(HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9));
威廉2:-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
100,LINEDOT;
80,LINEDOT;
20,LINEDOT;
0,LINEDOT;
-80,LINEDOT;
-100,LINEDOT;
飞狐多周期KDJ指标公式
Var3:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
K13:SMA(var3,3,1) ;
D14:sma(K13,3,1) ;
Var31:=(CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*100;
K21:sMA(var31,3,1) ;
D21:sMA(K21,3,1) ;
Var34:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;
K34:sMA(var34,3,1);
D34:sMA(K34,3,1) ;
Var55:=(CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100;
K55:sMA(var55,3,1) ;
D55:sMA(K55,3,1) ;
20,colorwhite;
80,colorwhite;
DIBU:= K13<20 AND D14<20 AND K21<20 AND D21<20 AND K34<20 AND D34<20 AND K55<20 AND D55<20;
stICKLINE(DIBU=1,80,60,5.8,1),COLORRED;
TOBU:= K13>80 AND D14>80 AND K21>80 AND D21>80 AND K34>80 AND D34>80 AND K55>80 AND D55>80;
STICKLINE(TOBU=1,40,20,5.8,1),COLORGREEN;
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。