龙听期货论坛's Archiver

龙听 发表于 2019-1-3 14:22

fhx凤凰线系统自带公式,个人觉的还可以[大智慧公式]

[color=#212121][font=宋体, Arial, Helvetica, sans-serif][size=14px]fhx凤凰线-系统自带[/size][/font][/color][url=http://www.cxh99.com/]公式[/url][color=#212121][font=宋体, Arial, Helvetica, sans-serif][size=14px],个人觉的还可以fhx凤凰线-系统自带[/size][/font][/color][url=http://www.cxh99.com/]公式[/url][color=#212121][font=宋体, Arial, Helvetica, sans-serif][size=14px],个人觉的还可以[/size][/font][/color]

[color=#212121][font=宋体, Arial, Helvetica, sans-serif][size=14px]N缺省1[/size][/font][/color]


[color=#212121][font=宋体, Arial, Helvetica, sans-serif][size=14px][code]
xopen:=(ref(o,N)+ref(c,N))/2;
xclose:=close;
xhigh:=max(high,xopen);
xlow:=min(low,xopen);

volality:=ma(xhigh-xlow,8);

凰线:ma(xclose,5)+volality/2;
凤线:ma(xclose,5)-volality/2;

bu:=cross(xclose,凰线);
sel:=cross(凤线,xclose);

var1:=barslast(bu);
var2:=barslast(sel);

drawicon(ref(var1,1)>var2 and var1=0,xlow,7),align1,valign0;
drawicon(ref(var2,1)>var1 and var2=0,xhigh,8),align1,valign2;
STICKLINE(xclose>xopen and var1<var2,xclose,xopen ,8,0 ),colorred;
STICKLINE(xclose>xopen and var1<var2,xhigh,xclose ,0.5,0 ),colorred;
STICKLINE(xclose>xopen and var1<var2,xopen,xlow ,0.5,0 ),colorred;STICKLINE(xclose<=xopen and var1<var2,xclose,xopen ,8,0 ),coloryellow;
STICKLINE(xclose<=xopen and var1<var2,xhigh,xopen ,0.5,0 ),coloryellow;
STICKLINE(xclose<=xopen and var1<var2,xclose,xlow ,0.5,0 ),coloryellow;STICKLINE(xclose<=xopen and var1>var2,xclose ,xopen ,8,0 ),colorgreen;
STICKLINE(xclose<=xopen and var1>var2,xopen ,xhigh ,0.5,0 ),colorgreen;
STICKLINE(xclose<=xopen and var1>var2,xclose,xlow ,0.5,0 ),colorgreen;
STICKLINE(xclose>xopen and var1>var2,xclose ,xopen ,8,0 ),colorblue;
STICKLINE(xclose>xopen and var1>var2,xclose,xhigh ,0.5,0 ),colorblue;
STICKLINE(xclose>xopen and var1>var2,xopen,xlow ,0.5,0 ),colorblue;
[/code]
[/size][/font][/color]
[color=#212121][font=宋体, Arial, Helvetica, sans-serif][size=14px][attach]6225[/attach]
[/size][/font][/color]

页: [1]