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<ref(D,1),K);
K1:=IF(C>H2,-3,IF(C<L2,1,0));
K2:=VALUEWHEN(K1<>0,K1);
G:=IF(K2>0,H2,L2);
{股旁网-股票公式网站 www.GupAng.com}
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;
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
评论(0)