飞狐异型KDJ指标公式

[复制链接]
查看97 | 回复0 | 2021-8-21 12:42:12 | 显示全部楼层 |阅读模式

Z:=9;N:=5;
VAR4:=ZIG(3,Z);
RSV:=(VAR4-LLV(VAR4,N))/(HHV(VAR4,N)-LLV(VAR4,N))*100;
K: SMA(RSV,3,1),ColorFFFFFF;
D: SMA(K,3,1),Color00FFFF;
J: 3*K-2*D,ColorFF00FF;
V1:=TROUGHBARS(3,Z,1);
V2:=PEAKBARS(3,Z,1);
V3:=BARSLAST(V1>=V2);
V4:=BARSLAST(V2>=V1);
V11:=TROUGH(3,Z,1);
{www.gupang.com 股旁网_飞狐股票指标公式}
V12:=(CLOSE-V11)/V11*100>Z AND REF(CLOSE,2) <= REF(CLOSE,1) AND CLOSE < REF(CLOSE,1) AND REF(CLOSE,1)=HHV(CLOSE,V3);
V21:=PEAK(3,Z,1);
V22:=(V21-CLOSE)/V21*100>Z AND REF(CLOSE,2)>=REF(CLOSE,1) AND CLOSE>REF(CLOSE,1) AND REF(CLOSE,1)=LLV(CLOSE,V4);
V31:=V1=1 or V22;
V32:=V2=1 or V12;
ZF: IF(V4>0,((CLOSE-HHV(CLOSE,V4))/(HHV(CLOSE,V4)))*(100),((CLOSE-LLV(CLOSE,V3))/(CLOSE))*(100)),ColorFFFF00,ColorStick;

202108211204.jpg

202108211204.jpg

 

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则