机构买卖优化源码下载:
指标比【bs买卖优】指标更优秀,该指标是机构相关指标经过优化的出来的。
//{1.机构部分}
买线:=zig(3,10);
卖线:=ma(买线,2);
bu:=cross(买线,卖线);
sel:=cross(卖线,买线);
drawtext(bu,l*0.95,'机构进场'),coloryellow;
drawtext(sel,h*1.05,'机构清仓'),colorblue;
stickline(买线>=卖线,low,high,0,0),colorred;
stickline(买线>=卖线,close,open,2,0),colorred;
stickline(买线<卖线,close,open,2,0),colorgreen;
stickline(买线<卖线,low,high,0,0),colorgreen;
stickline(cross(买线,卖线),open,close,2,0),coloryellow;
stickline(cross(卖线,买线),open,close,2,0),colorblue;
drawicon((zig(3,5)>ref(zig(3,5),1)) and (ref(zig(3,5),1)<=ref(zig(3,5),2)) and(ref(zig(3,5),2)<=ref(zig(3,5),3)),low*0.99,1);
drawicon((zig(3,5)=ref(zig(3,5),2)) and(ref(zig(3,5),2)>=ref(zig(3,5),3)),h,2);
//{2.买卖}
varc:=(zig(3,5)>ref(zig(3,5),1)) and (ref(zig(3,5),1)<=ref(zig(3,5),2)) and(ref(zig(3,5),2)<=ref(zig(3,5),3));
vard:=(zig(3,5)=ref(zig(3,5),2)) and (ref(zig(3,5),2)>=ref(zig(3,5),3));
drawtext((varc=1),l,'买'),coloryellow;
drawtext((vard=1),h,'卖'),colorblue;
//{3.头部}
v10:=peakbars(3,15,1)<10;
v12:=if(v10=1,50,0);
头部:= if(v12=50,100,0);
drawtext(头部>ref(头部,1),h*1.02,'拉升减仓'),colorwhite,linethick1;
//{4.抄底部分}
v9:=troughbars(3,15,1)<10;
v11:=if(v9=1,50,0);
drawtext(v11>ref(v11,1),l*0.95,'抄底'),colormagenta;
//{5.短线部分}
vare:=ma(100*(close-llv(close,34))/(hhv(high,34)-llv(low,34)),5)-20;
varf:=100-3*sma((close-llv(low,75))/(hhv(high,75)-llv(low,75))*100,20,1)+2*sma(sma
((close-llv(low,75))/(hhv(high,75)-llv(low,75))*100,20,1),15,1);
var10:=100-3*sma((open-llv(low,75))/(hhv(high,75)-llv(low,75))*100,20,1)+2*sma(sma
((open-llv(low,75))/(hhv(high,75)-llv(low,75))*100,20,1),15,1);
var11:=varf<ref(var10,1) and vol>ref(vol,1) and close>ref(close,1);
drawtext(var11 and count(var11,30)=1,l*0.95,'短线资金进'),colorlimagenta;
var12:=(high+low+close)/3;
var13:=(var12-ma(var12,14))/(0.015*avedev(var12,14));
var14:=(var12-ma(var12,70))/(0.015*avedev(var12,70));
var15:=if(var13>=150 and var13<200 and var14>=150 and var14<200,10,0);
var16:=if(var13<=-150 and var13>-200 and var14<=-150 and var14>-200,-10,var15);
var17:=(close-ma(close,13))/ma(close,13)*100;
var18:=100-abs(var17);
var19:=if(var18<90,var18,100);
var1a:=if(vare>0,vare,0);
var1b:=if(var14>=200 and var13>=150,15,if(var14<=-200 and var13<=-150,-15,var16))+60;
var1c:=var1a>48 and var1b>60 and var19<100;
drawtext(var1c and count(var1c,30)=1,h*1.05,'短线资金出'),colorgreen;
//{6.基金部分}
vre2:=ref(low,1)*0.9;
vrf2:=low*0.9;
vr10:=(vrf2*vol+vre2*(capital-vol))/capital;
vr11:=ema(vr10,30);
vr12:=close-ref(close,1);
vr13:=max(vr12,0);
vr14:=abs(vr12);
vr15:=sma(vr13,7,1)/sma(vr14,7,1)*100;
vr16:=sma(vr13,13,1)/sma(vr14,13,1)*100;
vr17:=barscount(close);
vr18:=sma(max(vr12,0),6,1)/sma(abs(vr12),6,1)*100;
vr19:=(-200)*(hhv(high,60)-close)/(hhv(high,60)-llv(low,60))+100;
vr1a:=(close-llv(low,15))/(hhv(high,15)-llv(low,15))*100;
vr1b:=sma((sma(vr1a,4,1)-50)*2,3,1);
vr1c:=(indexc-llv(indexl,14))/(hhv(indexh,14)-llv(indexl,14))*100;
vr1d:=sma(vr1c,4,1);
vr1e:=sma(vr1d,3,1);
vr1f:=(hhv(high,30)-close)/close*100;
vr20:=vr18<=25 and vr19<-95 and vr1f>20 and vr1b<-30 and vr1e<30 and vr11-close>=-0.25 and vr15<22 and vr16<28 and vr17>50;
vr21:=(high+low+close)/3;
vr22:=(vr21-ma(vr21,14))/(0.015*avedev(vr21,14));
vr23:=(vr21-ma(vr21,70))/(0.015*avedev(vr21,70));
vr24:=vr22>=150 and vr22<200 and vr23>=150 and vr23<200;
drawtext(vr20 and count(vr20,1)=1,h*0.99,'基金建仓'),colormagenta;
drawtext(vr24 and count(vr24,1)=1,l*1.1,'基金清仓'),colorblue;
上一指标公式:趋势投资逃顶抄底线下载
下一指标公式:CCI优化版CAR下载
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文机构买卖优化下载仅供学习研究。