新指标《凤凰线》买卖点清晰主图源码

 

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;




来函数检测结果如下
该公式没有未来函数


解密、定制、编写公式指标请联系QQ或微信同号:88652583
置顶指标

相关指标公式

指标安装下载帮助  |   联系我们  |  乐淘公式网  |  公式网   |  指标公式  |   加入收藏   |  设为主页

@2005-2025 浙ICP备2024071487号-1 乐淘公式网公式网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
免责声明:乐淘公式网所有指标公式及文章由网络收集,不保障实时性和真实性, 仅供学习研究并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。
QQ:88652583 微信 88652583
sitemap站点地图