通达信精进壹号改进主图指标公式

N:=14;
a0:=(l+h+c*2)/4;
a1:=ema(a0,n)coloryellow;
a1x:=(a1-ref(a1,1))/ref(a1,1)*100;
g1:=barslast(cross(a1x,0));
买入止损:ref(a0,g1),colorwhite,linethick1;
买入盈利:a0-买入止损/买入止损*100,nodraw;
if(a1x>=0,买入止损,drawnull),colorred,linethick2;
if(a1x>=0,a1,drawnull),colorred,linethick2;
if(h>=ref(a0,g1)*1.1,ref(a0,g1)*1.1,drawnull),colorgreen,pointdot;
if(h>=ref(a0,g1)*1.2,ref(a0,g1)*1.2,drawnull),colorgreen,pointdot;
if(h>=ref(a0,g1)*1.3,ref(a0,g1)*1.3,drawnull),colorgreen,circledot;
if(h>=ref(a0,g1)*1.4,ref(a0,g1)*1.4,drawnull),colorgreen,pointdot;
if(h>=ref(a0,g1)*1.5,ref(a0,g1)*1.5,drawnull),colorgreen,pointdot;
if(h>=ref(a0,g1)*1.6,ref(a0,g1)*1.6,drawnull),colorgreen,pointdot;
if(h>=ref(a0,g1)*1.7,ref(a0,g1)*1.7,drawnull),colorgreen,pointdot;

通达信精进壹号改进主图指标公式

版权声明

本文仅代表作者观点,不代表无忧指标公式网立场。
本文系作者授权无忧指标公式网发表,未经许可,不得转载。

文章内容来自互联网,本网站无任何收费项目也不推荐股票
广告投放请自行识别风险。本站无任何QQ群微信群