分时攻击源码下载:
昨收:=dynainfo(3); hh:=dynainfo(5); ll:=dynainfo(6); fk:=max(hh-昨收,昨收-ll)*0.1; zs:=昨收-fk*3.2; q1:=昨收-fk*3.22; q2:=昨收-1*fk*3.22; q3:=昨收-5*fk*3.2; tj:=filter(c,239)>0,nodraw; tjj:=sum(tj,0),nodraw; tja:=const(tjj),nodraw; 流通盘:capital*100/100000000,nodraw; 资金流入:=sum(if(c>ref(c,1),v,0),fromopen),stick,colorred; 资金流出:=-sum(if(c<ref(c,1),v,0),fromopen),stick,color00ff00; 资金出入:=资金流入+资金流出,colorstick; nn:=2400; hd:=hhv(资金出入,nn); ld:=llv(资金出入,nn); 最高:=const(hd),nodraw; 最低:=const(ld),nodraw; hlmax:=最高; hlmin:=最低; hlmn1:=(hlmax+hlmin)/2; hlmn2:=hlmax-hlmin; hlmn3:=(100-0)/2*1.3; hlmn4:=(100-0)/1*1.3; 中间价轴:=(50-hlmn3)*hlmn2/hlmn4+hlmn1; 轴差:=最高-最低; drawband(资金出入,rgb(150,0,150),0,rgb(0,100,0)); 资金流量:资金出入,colorffffff,linethick1; 资金比:资金出入/sum(v,fromopen)*100,color00ffff,linethick1; 资金流量比:=if(资金比>=0,(资金比+100)/2,100-abs((资金比-100)/2)); 攻击量:=((hsl*0.50+ref(hsl,1)*0.33)+(ref(hsl,2)*0.17))*sum(c,fromopen)/fromopen; 攻击量a:=sum(if(c>ref(c,1),攻击量*v,0),fromopen),color0000ff,linethick0; 攻击量b:=-sum(if(c<ref(c,1),攻击量*v,0),fromopen),color00ff00,linethick0; 攻击流量:攻击量a+攻击量b,colorstick; notext攻击线:攻击流量,coloryellow,linethick1; 攻击比:攻击流量/sum(v,fromopen)*100,colorred,linethick1; 资金攻击度:=if(攻击比>=0,(攻击比+50),100-abs((攻击比-50))); {stickline(资金流量a>0,资金流量a,0,1,0),color0000ff; stickline(资金流量b<0,资金流量b,0,1,0),colorff0000;} drawrectrel(110,10,400,90,rgb(0,75,200)); drawrectrel(110,10,250,90,rgb(0,250,50)); drawrectrel(110,10,100+const(资金流量比*300/100),90,rgb(200,50,0)); drawtext_fix(1,0.000,0.00,0,strcat(strcat('【资金流量比】',con2str(资金流量比,2)),'%买')),coloryellow; drawrectrel(610,10,900,90,rgb(0,75,200)); drawrectrel(610,10,750,90,rgb(0,250,50)); drawrectrel(610,10,600+const(资金攻击度*300/100),90,rgb(175,50,0)); drawtext_fix(1,0.500,0.00,0,strcat(strcat('【资金攻击度】',con2str(资金攻击度,2)),' %买')),coloryellow; 量:=vol,volstick; 五日量:=ma(量,5),colorwhite; tt:=barscount(c);{取得有效收盘价} 均价黄:=sum(c*v,tt)/sum(v,tt);{分时均线的取值} 量两步:=ma(v,5)>ref(ma(v,5),1) and ref(ma(v,5),1)>ref(ma(v,5),2); 价两步:= c>=ref(c,1) and ref(c,1)>ref(c,2); 价上岗量破5:=c>均价黄 and v>ma(v,5); 量起爆:=v>=ref(v,1)*1; 价创新高:=c>=hhv(c,0); 量创新高:=v>=hhv(v,0); 对昨日涨幅:=(c/dynainfo(3)-1)*100<=1.50;{涨幅控制2个点以内} 每日一点:=量两步 and 价两步 and 价上岗量破5 and 量起爆 and 价创新高 and 量创新高 and 对昨日涨幅; {计算收益、已爆分钟} vv:=barssince(每日一点)+1; 首次起爆价:=ref(c,vv-1),nodraw; 起爆收益:(dynainfo(7)-首次起爆价)/首次起爆价*100,nodraw; 起爆时间:=ref(time/10000,vv),nodraw; 已爆分钟:=vv-1,nodraw; {画出底线和红球} 首次起爆量:=ref(vol,vv-1); drawicon(已爆分钟>=2,最低,8);{出现8,至少已经确认2分钟了}; mma30:=ema(close,30); 强弱界定:=if(period=0 ,ema(close,900),drawnull); 分时均价线:=sum(c*v,240)/sum(v,240),coloryellow,linethick2; bgtyu:=if(date<=1150530,1,0); ghyjku:=between((dclose*bgtyu)/(sum(amount,barscount((dclose*bgtyu)))/sum(vol*100,barscount((dclose*bgtyu)))),1.05,0.95); vbnh:=if(ghyjku=0,ma((dclose*bgtyu),barscount((dclose*bgtyu))),(sum(amount,barscount((dclose*bgtyu)))/sum(vol*100,barscount((dclose*bgtyu))))); 二十☆:=expma((dclose/vbnh),20),colorred,linethick1; 六十★:=expma((dclose/vbnh),60),colorligreen,linethick1; faa:=barslast(time=100000); fcc:=ref(hhv(c,0),faa+1); fvv:=ref(hhv(v,0),faa+1); zf:=fcc/dynainfo(3)<1.05; xg1:=cross(c,fcc) and v>fvv and zf,colorwhite; faa1:=barslast(time=110000); fcc1:=ref(hhv(c,0),faa1+1); fvv1:=ref(hhv(v,0),faa1+1); zf1:=fcc1/dynainfo(3)<1.05; xg2:=cross(c,fcc1) and v>fvv1 and zf1,coloryellow; 突破:=xg1 or xg2,colorred; vt:=barssince(突破)+1; 首次突破价:=ref(c,vt-1),nodraw; 突破收益:(dynainfo(7)-首次突破价)/首次突破价*100,nodraw; 拉升量:=if(c>ref(c,1),vol,0); 昨拉升最高值:=const(findhigh(拉升量,fromopen,240,1)),linethick1,colormagenta; 今拉升最高值:=const(ref(hhv(拉升量,fromopen),0)),coloryellow,nodraw; 攻击力度:=今拉升最高值/昨拉升最高值,nodraw; stickline(filter(cross(拉升量,昨拉升最高值),30),最低+轴差*0.80,最低,1,0),colorcyan; stickline(每日一点,最低+轴差*0.65,最低,1,0),colormagenta; stickline(突破,最低+轴差*0.50,最低,1,0),colorwhite; stickline(cross(expma((dclose/vbnh),60),expma((dclose/vbnh),120)),最低+轴差*0.35,最低,1,0),coloryellow; stickline(filter(barslast(c<min(mma30,强弱界定))<=20 and cross(c,max(mma30,强弱界定)),30),最低,最低+轴差*0.2,1,0),colorgreen; drawicon(filter(cross(拉升量,昨拉升最高值),30),最低+轴差*0.80,1); drawicon(每日一点,最低+轴差*0.65,1); drawicon(突破,最低+轴差*0.50,17); drawicon(filter(barslast(c<min(mma30,强弱界定))<=20 and cross(c,max(mma30,强弱界定)),30),最低+轴差*0.2,9); drawtext(filter(cross(拉升量,昨拉升最高值),30),最低+轴差*0.80,'☆攻击'),colorcyan; drawtext(每日一点,最低+轴差*0.65,'∠起爆'),colorgreen; drawnumber(每日一点,最低+轴差*0.55,首次起爆价),colorgreen; {drawtext(currbarscount=160,hhv(v,60)*0.9,'20线上行+日价k线突破+日k线量起爆更好+估换手小于10%时更稳定'),colorgreen;}; drawtext(突破,最低+轴差*0.50,'分时突破'),colorwhite; drawnumber(突破,最低+轴差*0.40,首次突破价),colorwhite; drawtext(cross(expma((dclose/vbnh),60),expma((dclose/vbnh),120)),最低+轴差*0.35,'★迹'),coloryellow; {drawicon(cross(expma((dclose/vbnh),20),1.01),max(资金流量,攻击流量),18);} drawtext(filter(barslast(c<min(mma30,强弱界定))<=20 and cross(c,max(mma30,强弱界定)),30),最低+轴差*0.2,'关注'),colorred;
上一指标公式:张江健洗盘到清澈见底指标下载
下一指标公式:nagio大叔量价相合副图指标下载
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文分时攻击下载仅供学习研究。