您现在的位置:  股票知识 > 股票公式 > 大智慧股票公式 > 正文
南财搜索

大智慧经典版 大智慧新指标《凤凰线》买卖点清晰主图源码

2016-08-10 15:25    股票知识   zhishi.southmoney.com
    
大智慧经典版 大智慧新指标《凤凰线》买卖点清晰主图源码 南方财富网小编为您提供
 

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;

 
更多股票公式相关资讯请关注南方财富网
 
(股票知识网zhishi.southmoney.com)
    股票知识网声明:资讯来源于合作媒体及机构,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。
商务进行时
股票知识学习
联盟广告

关于股票知识网 -版权声明 -诚聘英才 -广告服务 -网站地图 -
特此声明:广告商的言论与行为均与股票知识网无关
zhishi.southmoney.com
股票知识网 © 版权所有 闽ICP备09035581号