同花顺金凤凰指标公式

xopen:=(REF(O,1)+REF(C,1))/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-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图