在线检测未来函数

飞狐BS点主图指标公式

来源:Internet,编辑:股旁网,2011-01-20

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;

飞狐BS点主图指标公式

相关文章