最新更新 - 网站地图 -
您的当前位置:首页 > 股票公式 > 公式技巧 > 把大智慧的凤凰线指标改成通达信的指标和选股公式

把大智慧的凤凰线指标改成通达信的指标和选股公式

来源:网络 点击: 时间:2023-01-06 06:48:05

编写要求:

{n,1,1,30,1} 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 var1xopen and var1xopen and var1var2,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;

解答:

?N:=1;

XOPEN:=(REF(O,N)+REF(C,N))/2;

    Copyright 2018- www.dyjian.com/ 大宇股票知识网 海口美兰韩哲棚百货商行 版权所有 琼ICP备2023001966号

    免责声名:本站所发表的内容仅用于学术交流和学习,内容所带来的一切后果均与本站无关。若您发现本站存在您非授权的原创作品,请第一时间联系本站删除!

    Top