您现在的位置:程序化交易>> 股票公式>> 大智慧>> 大智慧公式>>正文内容

凤凰线买卖点清晰新指标公式[大智慧公式]

相关标签:

 

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;
CXH:=STRTONUM(STRRIGHT(DATESTR(CURRENTDATE),1));
WARNING('http://www.cxh99.com',CURRENTTIME>180000 and (CXH=1 OR CXH=6));
DRAWTEXTREL(10 ,10 ,'指标公式');


 

 

有思路,想编写各种指标公式,程序化交易模型,选股公式,预警公式的朋友

可联系技术人员 QQ: 511411198  有需要帮忙请点击这里留言!!!进行 有偿 编写!不贵!点击查看价格!

 


【字体: 】【打印文章】【查看评论

相关文章

    没有相关内容