建仓指标源码下载:
折线:zig(3,20);
前波峰值:=peak(3,20,1);
前波谷值:=trough(3,20,1);
drawnumber(折线>ref(折线,1) and ref(折线,1)<ref(折线,2),ref(c,1),-(前波峰值-ref(c,1))/前波峰值*100);
drawnumber(折线<ref(折线,1) and ref(折线,1)>ref(折线,2),ref(c,1),(ref(c,1)-前波谷值)/前波谷值*100);
var1:=zig(3,2.88)<ref(zig(3,2.88),1) and ref(zig(3,2.88),1)>ref(zig(3,2.88),2);
var2:=zig(3,2.88)>ref(zig(3,2.88),1) and ref(zig(3,2.88),1)<ref(zig(3,2.88),2);
stickline(var1,c,o,8,0),color00ff00;
stickline(var1,c,o,5,0),color00ff00;
stickline(var1,h,l,2,0),color00ff00;
stickline(var2,c,o,7,0),color0000ff;
stickline(var2,c,o,5,0),color0000ff;
stickline(var2,h,l,2,0),color0000ff;
//www.goodgongshi.com
x1:=(c+l+h)/3;
x2:=ema(x1,6);
x3:=ema(x2,5);
stickline(cross(x2,x3),open,close,6,0),coloryellow;
stickline(cross(x3,x2),open,close,6,0),colorblue;
b:ema(c,2),pointdot,color000000;
w:zig(1,3),coloryellow;
g:=ma(w,2),colorred;
d:=ema(w,34),colorgreen;
f:=100*(c-ref(c,1))/ref(c,1);
jd:=if(c<ref(o,1) and f<0,1,0);
s1:=jd;
mr:=if(c<ref(o,2) and f<0,1,0),linethick0;
s2:=mr;
a1:=s1=0 and ref(s1,1)=1 and s2=0 and ref(s2,1)=1 and cross(zig(3,3) ,ref(zig(3 ,3),1));
a2:=s1=0 and ref(s1,1)=1 and s2=0 and ref(s2,1)=1 and cross(zig(3,5) ,ref(zig(3 ,5),1));
aa:=(cross(w,g) and (a1 and a2 or d<0)) or cross(b,g);
a11:llv(low,144),colormagenta;
stickline(a11<w and w>ref(w,1),w,a11,9,0),colorbrown,linethick5;
stickline(a11<b and w<ref(w,1),w,a11,0.8,0),colorgreen;
a11,colorgray,linethick7;
b:zig(3,10),coloryellow;
g:=ma(b,2),colorred;
d:=ema(b,34),colorgreen;
j:=ema(b,144),colorligreen;
drawicon(cross(b,g),b-0.1,1);
drawicon(cross(g,b),g+0.1,2);
//drawtext(cross(b,g),b*0.85,"建"),coloryellow;
//drawtext(cross(g,b),g,"清"),colorgreen;
f:=100*(c-ref(c,1))/ref(c,1);
jd:=if(c<ref(o,1) and f<0,1,0);
s1:=jd;
mr:=if(c<ref(o,2) and f<0,1,0),linethick0;
s2:=mr;
a1:=s1=0 and ref(s1,1)=1 and s2=0 and ref(s2,1)=1 and cross(zig(3,3) ,ref(zig(3 ,3),1));
a2:=s1=0 and ref(s1,1)=1 and s2=0 and ref(s2,1)=1 and cross(zig(3,5) ,ref(zig(3 ,5),1));
//drawtext(a1 and a2 or d<0,b,'加仓'),coloryellow;//加仓买
//drawicon(a1 and a2,b-0.2,1);
var3:=peakbars(3,5,1)<10;
var5:=if(var3=1,2,0);
顶:= if(var5=2,2,0);
顶a:=if(顶>ref(顶,1),1,0),stick,colorcyan, linethick2;//
//drawtext(顶a=1,b*1.1,'减仓'),colorgreen;
drawicon(顶a=1,b,2);
mid:=ma(close,26);
upper:=mid + 2*std(close,26),colorwhite;//上轨
upper1:=mid + 1.618*std(close,26),colorred;//上轨
lower:=mid - 2*std(close,26),coloryellow;//下轨
lower1:=mid - 1.618*std(close,26),colorgreen;//下轨
//drawtext(cross(close,lower),j*1.05,"l"),coloryellow;;
//drawtext(cross(close,upper),j*1.05,"l"),colorgreen;
verline(cross(b,g) and (a1 and a2 or d<0),1),colorlimagenta;//画加仓建仓垂线
verline(cross(g,b),1),colorcyan;//画清仓垂线
买线:=zig(3,10);
卖线:=ma(买线,3);
stickline(cross(买线,卖线),o,c,9,0),color00aaff;
stickline(买线<卖线,h,l,0,0),colorgreen;
stickline(买线<卖线,c,o,9,0),color007700;
stickline(买线<卖线,c,o,8,0),color008e00;
stickline(买线<卖线,c,o,7,0),color009900;
stickline(买线<卖线,c,o,6,0),color00a600;
stickline(买线<卖线,c,o,5,0),color00b500;
stickline(买线<卖线,c,o,4,0),color00c600;
stickline(买线<卖线,c,o,3,0),color00d500;
stickline(买线<卖线,c,o,2,0),color00e600;
stickline(买线>=卖线,h,l,0,0),color0000ff;
stickline(买线>=卖线,c,o,9,0),color0000a3;
stickline(买线>=卖线,c,o,8,0),color0000b7;
stickline(买线>=卖线,c,o,6,0),color0000c8;
stickline(买线>=卖线,c,o,5,0),color0000d9;
stickline(买线>=卖线,c,o,4,0),color0000cd;
stickline(买线>=卖线,c,o,3,0),color0000e9;
stickline(买线>=卖线,c,o,2,0),color0000ea;
stickline(买线>=卖线,c,o,1,0),color0000ff;
var10:=if(troughbars(3,16,1)=0 and high>low+0.04,4,0);
var11:=zig(3,6)>ref(zig(3,6),1) and ref(zig(3,6),1)<=ref(zig(3,6),2) and ref(zig(3,6),2)<=ref(zig(3,6),3);
var12:=zig(3,6)=ref(zig(3,6),2) and ref(zig(3,6),2)>=ref(zig(3,6),3);
var13:=zig(3,22)>ref(zig(3,22),1) and ref(zig(3,22),1)<=ref(zig(3,22),2) and ref(zig(3,22),2)<=ref(zig(3,22),3);
var14:=zig(3,22)=ref(zig(3,22),2) and ref(zig(3,22),2)>=ref(zig(3,22),3);
var15:=zig(3,51)>ref(zig(3,51),1) and ref(zig(3,51),1)<=ref(zig(3,51),2) and ref(zig(3,51),2)<=ref(zig(3,51),3);
var16:=zig(3,51)=ref(zig(3,51),2) and ref(zig(3,51),2)>=ref(zig(3,51),3);
var17:=zig(3,72)>ref(zig(3,72),1) and ref(zig(3,72),1)<=ref(zig(3,72),2) and ref(zig(3,72),2)<=ref(zig(3,72),3);
var18:=zig(3,72)=ref(zig(3,72),2) and ref(zig(3,72),2)>=ref(zig(3,72),3);
var19:=ema(close,2)-ema(close,150);
var1a:=ema(var19,100);
var1b:=2*(var19-var1a);
var1c:=pow(var1b,3)*0.1+pow(var1b,1);
var1d:=sqrt(sqrt(low*high*open*close));
var1e:=ema(var1d*0.97,3);
var1f:=(high+low+close)/3;
买点1:=var10;
买点2:=(var11+var13+var15+var17);
var1:=ma(close,5);
var2:=ma(close,10);
var3:=ma(close,30);
var4:=ma(close,60);
var5:=ema(cost(85),7);
var6:=ema(cost(15),7);
var7:=sum(close*vol*100,4)/sum(vol*100,4);
var8:=intpart(var7*100)/100;
var9:=sum(close*vol*100,7)/sum(vol*100,7);
vara:=intpart(var9*100)/100;
varb:=sum(close*vol*100,28)/sum(vol*100,28);
varc:=intpart(varb*100)/100;
vard:=ema(close,5)-ema(close,10);
vare:=ema(vard,9);
var13:=ref(vare,1);
var14:=vare;
var15:=var14-var13;
var16:=ref(vard,1);
var19:=open;
买点3:=if(var19<=var1 and var19<=var2 and var19<=var3 and var1a>=var1 and var1a>=varc and var15>0 and var18>0,0.5,0);
verline(买点3>0 or 买点1>0 or 买点2>0, 2),color0000ff;
a1:=c>=ref(c,4);
a:=c<ref(c,4);
aa:=c<ref(c,4) and ref(a1,2);
t:=barslast(aa),nodraw;
n:=t=1 and ref(t=0 and aa,2) and a;
n1:=t=2 and ref(n,1) and a;
n2:=t=3 and ref(n1,1) and a;
n3:=t=4 and ref(n2,1) and a;
n4:=t=5 and ref(n3,1) and a;
n5:=t=6 and ref(n4,1) and a;
n6:=t=7 and ref(n5,1) and a;
n7:=t=8 and ref(n6,1) and a;
drawtext(n5,h*1.10,'7'),colorred;
drawtext(n6,h*1.10,'8'),colorred;
drawtext(n7,h*1.10,'9'),colorred;
var10:=if(troughbars(3,16,1)=0 and high>low+0.04,4,0);
var11:=zig(3,6)>ref(zig(3,6),1) and ref(zig(3,6),1)<=ref(zig(3,6),2) and ref(zig(3,6),2)<=ref(zig(3,6),3);
var13:=zig(3,22)>ref(zig(3,22),1) and ref(zig(3,22),1)<=ref(zig(3,22),2) and ref(zig(3,22),2)<=ref(zig(3,22),3);
var15:=zig(3,51)>ref(zig(3,51),1) and ref(zig(3,51),1)<=ref(zig(3,51),2) and ref(zig(3,51),2)<=ref(zig(3,51),3);
var17:=zig(3,72)>ref(zig(3,72),1) and ref(zig(3,72),1)<=ref(zig(3,72),2) and ref(zig(3,72),2)<=ref(zig(3,72),3);
建仓买进1:=var10;
买进2:=(var11+var13+var15+var17);
drawtext(建仓买进1>0 or 买进2>0,low*1.19,'加仓'),colorred;
drawtext(建仓买进1>0 ,low*1.25,'建仓'),coloryellow;
上一指标公式:无上仙魔指标下载
下一指标公式:万能买了就涨KDJ下载
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文建仓指标下载仅供学习研究。