精确出击
大智慧l2源码:input:n(26,2,100);
rsvp:=(c-llv(l,30))/(hhv(h,30)-llv(l,30))*100-50;
kv:=sma(rsvp,3,1);
dv:=sma(kv,3,1);
jv:=3*kv-2*dv;
zdzk1:=ema(jv,6);
zdzk2:=ref(zdzk1,1);
做多:if(zdzk1>=zdzk2,zdzk1+2,zdzk2),colorred;
做空:if(zdzk2-zdzk1,zdzk2,zdzk1),colorgreen;
xw1:=if(o<=ref(o,1),0,max((h-o),(o-ref(o,1))));
xw2:=if(o>=ref(o,1),0,max((o-l),(o-ref(o,1))));
xw3:=sum(xw1,21);
xw4:=sum(xw2,21);
xw5:=if(xw3>xw4,(xw3-xw4)/xw3,if(xw3=xw4,0,(xw3-xw4)/xw4));
{14天强弱}
rs:=sma(max(c-ref(c,1),0),14,1)/sma(abs(c-ref(c,1)),14,1)*100;
zd:= ema(ema(ema(rs,7),3),3);
zd1:=(zd-ref(zd,1))/ref(zd,1)*15;
stickline(zd1>=0,0,zd1*50,4,0),color0000be;
stickline(zd1<=0,0,zd1*50,4,0),colorcyan;
y1:=amount/v/100;
y2:=(3*h+l+o+2*c)/7;
y3:=100*(winner(1.1*c)-winner(0.9*c));
y4:=sum(amount,13)/y1/100;
y5:= dma(y2,v/y4);
y6:=(c-y5)/y5*100;
y7:=(y3<10) and (y6<=-10);
y8:=sma(max(c-ref(c,1.5),0),6,1)/sma(abs(c-ref(c,1.5)),6,1)*100;
重亏:stickline(y6<=-10 and zd1<0,zd1*55,zd1*45,6,0),colorff89b2;
全亏:stickline(y6<=-16 and zd1<0,zd1*60,zd1*55,6,1),colorblue;
超跌:stickline(y7 and zd1<0,zd1*65,zd1*60,6,0),colorffffff;
jct:=100*(c-cost(10))/cost(10);
partline(c,if(jct<0,jct,0)*3),colorwhite;
{备战区1}
zdd1:=(hhv(h,21)-c)/(hhv(h,21)-llv(l,21))*100-10;
zdd2:=(c-llv(l,21))/(hhv(h,21)-llv(l,21))*100;
zdd3:=sma(zdd2,13,8);
zdd4:=ceiling(sma(zdd3,13,8));
zdd5:=sma(zdd1,21,8);
xh1:=sma(max(c-ref(c,2),0),7,1)/sma(abs(c-ref(c,2)),7,1)*100;
xh2:=zdd4-zdd5<-65 and xh1<12;
备战区:drawicon(xh2,0,12),color006eff;
stickline(xh2,0,zd1*20,4,0),color006eff;
{备战区2}
xx1:=ma(low,2)*0.96;
xx2:=ma(low,26)*0.85;
xx3:= ref(xx1,1)<xx2 and ref(xx1,1)<xx1 and ref(xx1,1)<ref(xx1,2);{30}
stickline(xx3,0,zd1*16,4,0),color006eff;
drawicon(xx3,0,12);
{备战区3}
c0:=ref(c,2)*0.865;
c1:=ref(c,13)*0.772;
dsy:=100*vol/capital;
stickline((c-min(c0,c1))/c<0.1 and sum(dsy,5)/5<1.8,0,zd1*25,4,0),color006eff;
drawicon((c-min(c0,c1))/c<0.1 and sum(dsy,5)/5<1.8,0,12);
{备战区4}
ww1:= sum( ma(c,10),9)/10.110;
ww2:=cross(c,ww1);
stickline(ww2,0,zd1*26,4,0),color006eff;{40}
drawicon(ww2,0,12);
{买1}
vw1:=dma(ema(c,12),sum(v,5)/3/capital);
vw2:=ref(h,10)/c>1.35;
vw3:=(cost(20)-c)/c>0.15;
vw4:=h>l*1.051;
vw5:=vw4 and count(vw4,5)>1;
vw6:=(((c-vw1)/vw1*100<-30) or vw2) and vw3 and vw5;
stickline(vw6,0,zd1*40,4,0),color0000ff;{48}
drawicon(vw6,0,6);
{买2}
xl1:=ma(low,2)*0.96;
xl2:=ma(low,26)*0.85;
xl3:=ref(xl1,1)<xl2 and ref(xl1,1)<xl1 and ref(xl1,1)<ref(xl1,2);
stickline(xl3,0,15,4,0),colorf8b7f0;
drawtext(xl3,15,'←买'),colorf8b7f0;
{井喷}
jjp1:=ref(indexc,1);
jjp2:=filter((indexc-jjp1)/jjp1>0.03 and zdzk1>=zdzk2,7);
stickline(jjp2,0,-15,4,0),colorff00ff;
drawtext(jjp2,-15,'←买'),colorff00ff;
x1:=ema(hhv(h,500),21);
x2:=ema(hhv(h,250),21);
x3:=ema(hhv(h,90),21);
x4:=ema(llv(l,500),21);
x5:=ema(llv(l,250),21);
x6:=ema(llv(l,90),21);
x7:=ema((x1*0.558+x2*0.558+x3*0.558+x4*0.96+x5*0.96+x6*0.96)/6,21);
x8:=ema((x1*0.55 +x2*0.55+ x3*0.65+ x4*1.25+x5*1.23+x6*1.2 )/6,21);
x9:=ema((x1*0.68+ x2*0.68+ x3*0.68+ x4*1.3 +x5*1.3+ x6*1.3 )/6,21);
vara:=ema((x7*3+x8*2+x9)/6*1.738,21);
varb:=ref(low,1);
varc:=sma(abs(low-varb),3,1)/sma(max(low-varb,0),3,1)*100;
vard:=ema(if(c*1.35<=vara,varc*10,varc/10),3);
vare:=llv(l,30);
varf:=hhv(vard,30);
var10:=if(ma(c,58),1,0);
var11:=ema(if(low<=vare,(vard+varf*2)/2,0),3)/618*var10;
mid:=ref(h+l,1)/2;
cr:=sum(max(0,h-mid),n)/sum(max(0,mid-l),n)*100;
出击:if(cr<60 and var11>10,35{6000/cr},0),colorgreen;
攻击:if (var11>20,{var11*3}30,0),coloryellow;
{加仓}
xc1:=(ma(c,80)-ma(c,13)/3);
xc2:= ma((c-xc1)/xc1,1);
xc3:=ema(xc2,12)*0.7;
xc4:=ema(xc2,3);
xc5:=if(llv(xc4-xc3,12)>0,0,-10);
xc6:=ema(c,12)-ema(c,26);
xc7:=ema(xc6,9);
xc8:=2*(xc6-xc7);
加仓:if(xc5<0 and cross(xc8,0),50,0),linethick1,colorblue;
drawicon(加仓>0,30,4);
drawtext(加仓,35,'←加仓'),colorblue;
tt:=hhv(high,5)>=ref(hhv(high,5),1);
vertline(tt,1),color808080;
vertline(tt,1),color808080;
vertline(tt,1),color808080;
飞狐源码:
input:n(26,2,100);
rsvp:=(c-llv(l,30))/(hhv(h,30)-llv(l,30))*100-50;
kv:=sma(rsvp,3,1);
dv:=sma(kv,3,1);
jv:=3*kv-2*dv;
zdzk1:=ema(jv,6);
zdzk2:=ref(zdzk1,1);
做多:if(zdzk1>=zdzk2,zdzk1+2,zdzk2),colorred;
做空:if(zdzk2-zdzk1,zdzk2,zdzk1),colorgreen;
xw1:=if(o<=ref(o,1),0,max((h-o),(o-ref(o,1))));
xw2:=if(o>=ref(o,1),0,max((o-l),(o-ref(o,1))));
xw3:=sum(xw1,21);
xw4:=sum(xw2,21);
xw5:=if(xw3>xw4,(xw3-xw4)/xw3,if(xw3=xw4,0,(xw3-xw4)/xw4));
{14天强弱}
rs:=sma(max(c-ref(c,1),0),14,1)/sma(abs(c-ref(c,1)),14,1)*100;
zd:= ema(ema(ema(rs,7),3),3);
zd1:=(zd-ref(zd,1))/ref(zd,1)*15;
stickline(zd1>=0,0,zd1*50,4,0),color0000be;
stickline(zd1<=0,0,zd1*50,4,0),colorcyan;
y1:=amount/v/100;
y2:=(3*h+l+o+2*c)/7;
y3:=100*(winner(1.1*c)-winner(0.9*c));
y4:=sum(amount,13)/y1/100;
y5:= dma(y2,v/y4);
y6:=(c-y5)/y5*100;
y7:=(y3<10) and (y6<=-10);
y8:=sma(max(c-ref(c,1.5),0),6,1)/sma(abs(c-ref(c,1.5)),6,1)*100;
重亏:stickline(y6<=-10 and zd1<0,zd1*55,zd1*45,6,0),colorff89b2;
全亏:stickline(y6<=-16 and zd1<0,zd1*60,zd1*55,6,1),colorblue;
超跌:stickline(y7 and zd1<0,zd1*65,zd1*60,6,0),colorffffff;
jct:=100*(c-cost(10))/cost(10);
partline(c,if(jct<0,jct,0)*3),colorwhite;
{备战区1}
zdd1:=(hhv(h,21)-c)/(hhv(h,21)-llv(l,21))*100-10;
zdd2:=(c-llv(l,21))/(hhv(h,21)-llv(l,21))*100;
zdd3:=sma(zdd2,13,8);
zdd4:=ceiling(sma(zdd3,13,8));
zdd5:=sma(zdd1,21,8);
xh1:=sma(max(c-ref(c,2),0),7,1)/sma(abs(c-ref(c,2)),7,1)*100;
xh2:=zdd4-zdd5<-65 and xh1<12;
备战区:drawicon(xh2,0,12),color006eff;
stickline(xh2,0,zd1*20,4,0),color006eff;
{备战区2}
xx1:=ma(low,2)*0.96;
xx2:=ma(low,26)*0.85;
xx3:= ref(xx1,1)<xx2 and ref(xx1,1)<xx1 and ref(xx1,1)<ref(xx1,2);{30}
stickline(xx3,0,zd1*16,4,0),color006eff;
drawicon(xx3,0,12);
{备战区3}
c0:=ref(c,2)*0.865;
c1:=ref(c,13)*0.772;
dsy:=100*vol/capital;
stickline((c-min(c0,c1))/c<0.1 and sum(dsy,5)/5<1.8,0,zd1*25,4,0),color006eff;
drawicon((c-min(c0,c1))/c<0.1 and sum(dsy,5)/5<1.8,0,12);
{备战区4}
ww1:= sum( ma(c,10),9)/10.110;
ww2:=cross(c,ww1);
stickline(ww2,0,zd1*26,4,0),color006eff;{40}
drawicon(ww2,0,12);
{买1}
vw1:=dma(ema(c,12),sum(v,5)/3/capital);
vw2:=ref(h,10)/c>1.35;
vw3:=(cost(20)-c)/c>0.15;
vw4:=h>l*1.051;
vw5:=vw4 and count(vw4,5)>1;
vw6:=(((c-vw1)/vw1*100<-30) or vw2) and vw3 and vw5;
stickline(vw6,0,zd1*40,4,0),color0000ff;{48}
drawicon(vw6,0,6);
{买2}
xl1:=ma(low,2)*0.96;
xl2:=ma(low,26)*0.85;
xl3:=ref(xl1,1)<xl2 and ref(xl1,1)<xl1 and ref(xl1,1)<ref(xl1,2);
stickline(xl3,0,15,4,0),colorf8b7f0;
drawtext(xl3,15,'←买'),colorf8b7f0;
{井喷}
jjp1:=ref(indexc,1);
jjp2:=filter((indexc-jjp1)/jjp1>0.03 and zdzk1>=zdzk2,7);
stickline(jjp2,0,-15,4,0),colorff00ff;
drawtext(jjp2,-15,'←买'),colorff00ff;
//数据源
x1:=ema(hhv(h,500),21);
x2:=ema(hhv(h,250),21);
x3:=ema(hhv(h,90),21);
x4:=ema(llv(l,500),21);
x5:=ema(llv(l,250),21);
x6:=ema(llv(l,90),21);
x7:=ema((x1*0.558+x2*0.558+x3*0.558+x4*0.96+x5*0.96+x6*0.96)/6,21);
x8:=ema((x1*0.55 +x2*0.55+ x3*0.65+ x4*1.25+x5*1.23+x6*1.2 )/6,21);
x9:=ema((x1*0.68+ x2*0.68+ x3*0.68+ x4*1.3 +x5*1.3+ x6*1.3 )/6,21);
vara:=ema((x7*3+x8*2+x9)/6*1.738,21);
varb:=ref(low,1);
varc:=sma(abs(low-varb),3,1)/sma(max(low-varb,0),3,1)*100;
vard:=ema(if(c*1.35<=vara,varc*10,varc/10),3);
//c*1.35小于等于数据源取低价强弱线*10的3日均线,否则取低价强弱线/10的3日均线
vare:=llv(l,30);
varf:=hhv(vard,30);
var10:=if(ma(c,58),1,0);
var11:=ema(if(low<=vare,(vard+varf*2)/2,0),3)/618*var10;
mid:=ref(h+l,1)/2;
cr:=sum(max(0,h-mid),n)/sum(max(0,mid-l),n)*100;
出击:if(cr<60 and var11>10,35{6000/cr},0),colorgreen;
攻击:if (var11>20,{var11*3}30,0),coloryellow;
{加仓}
xc1:=(ma(c,80)-ma(c,13)/3);
xc2:= ma((c-xc1)/xc1,1);
xc3:=ema(xc2,12)*0.7;
xc4:=ema(xc2,3);
xc5:=if(llv(xc4-xc3,12)>0,0,-10);
xc6:=ema(c,12)-ema(c,26);
xc7:=ema(xc6,9);
xc8:=2*(xc6-xc7);
加仓:if(xc5<0 and cross(xc8,0),50,0),linethick1,colorblue;
drawicon(加仓>0,30,4);
drawtext(加仓,35,'←加仓'),colorblue;
vertline(hhv(high,5)>=ref(hhv(high,5),1)),pointdot,color808080;
vertline(hhv(high,5)>=ref(hhv(high,5),1)),pointdot,color808080;
vertline(hhv(high,5)>=ref(hhv(high,5),1)),pointdot,color808080;
上一指标公式:永恆國度.公式 飞狐永恆國度指标 源码
下一指标公式:优化出手必赢公式 飞狐出手指标 源码
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文[大智慧L2解密]精确出击公式 飞狐解密大智慧指标 源码仅供学习研究。