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);
{ 老K股票学习网_飞狐股票指标公式}
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;
Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号
免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!