RSV:=(C-LLV(L,4))/(HHV(H,4)-LLV(L,4))*100;
K:=LLV(L,4)+SMA(RSV,4,1)/100*(HHV(H,4)-LLV(L,4));
D:=SMA(K,3,1);
{ _飞狐股票指标公式}
H2:=VALUEWHEN(C>=d and d>ref(D,1),D);
L2:=VALUEWHEN(C<=d and d
K1:=IF(C>H2,-3,IF(C
G:=IF(K2>0,H2,L2);
STICKLINE(C>G,L,H,0,0),ColorFFB9FF;
STICKLINE(C>G,O,C,7,0),ColorFFB9FF;
STICKLINE(C<=G,L,H,0,0),ColorFF8900;
STICKLINE(C<=G,O,C,7,0),ColorFF8900;
STICKLINE(CROSS(C,G),L,H,0,0),COLORMAGENTA;
STICKLINE(CROSS(C,G),O,C,7,0),COLORMAGENTA;
STICKLINE(CROSS(G,C),L,H,0,0),COLORYELLOW;
STICKLINE(CROSS(G,C),O,C,7,0),COLORYELLOW;
压撑线:G,LINETHICK2,PRECISION2,COLORRED;
DRAWTEXT(CROSS(C,G),L,'B'),ALIGN,PXDN8,ColorFFB9FF;
DRAWTEXT(CROSS(G,C),H,'S'),ALIGN,PXUP26,COLORGREEN;
Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号
免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!