短线狙击主图
r1:=ma(close,1);
r2:=ma(close,3);
r3:=(ma(r2,1)*1);
r4:=(ma(r2,3)*1);
x1:=(c+l+h)/3;
dd:=finance2(35);
ss:=finance2(37);
gg:=finance2(3);
th:=dynainfo(39);
a51:=3*sma((c-llv(l,55))/(hhv(h,55)-llv(l,55))*100,5,1)-2*sma((c-llv(l,55))/(hhv(h,55)-llv(l,55))*100,5,1);
lc:=ref(close,1);
rsi:=((sma(max((close - lc),0),3,1) / sma(abs((close - lc)),3,1)) * 100);
ff:=ema(close,3);
ma15:=ema(close,21);
drawgbk((close > 0),strip(rgb(4,1,28),rgb(4,1,35),0));
drawgbk(c,'');
{支撑}
var1111:=backset(ref(high,2)=hhv(high,5),3);
var2222:=cross(var1111,0.9);
var3333:=backset(ref(low,2)=llv(low,5),3);
var4444:=cross(var3333,0.9);
压力: ref(high,barslast(var2222)), pointdot,colorea91b5;
支撑: ref(low,barslast(var4444)), pointdot,color00b4ff;
双线持币:hhv(ma(high,(3)),2),linethick2,color00ff00;
单线持股:llv(ma(high,(3)),1),linethick2,color0000ff;
{黄金生命线}
黄金生命线:(ema(close,17) * 1.0);
partline(黄金生命线,close >黄金生命线),linethick3,colorff00ff;
partline(黄金生命线,黄金生命线> close),linethick3,colorff0000{蓝色};
{时窗}
e1:=barscount(c);
ah:=hhv(h,200);
al:=llv(l,200);
b0:=(ah-al)/40;
kb1:=h+b0;
kb2:=l-b0;
drawtext((e1+0)/34=floor((e1+0)/34),kb2-b0,'←时窗'), linethick3,coloryellow;
a74:=ma(close,20);
a75:=(close > ma(close,5));
a76:=(ma(close,5) > ma(close,10));
a77:=(close > ma(close,10));
a78:=(ma(close,5) > ma(close,20));
a79:=(close > ma(close,20));
a710:=ref(a74,1);
a711:=(a74 > a710);
avx:=(((((if(a75,10,(0 - 10)) + if(a76,10,(0 - 10))) + if(a77,10,(0 - 10))) + if(a78,10,(0 - 10))) + if(a79,10,(0 - 10))) + if(a711,10,(0 - 10)));
dslx:=(close / indexc);
dslx1:=ma(dslx,5);
dslx2:=ma(dslx,10);
v1:=ma(vol,5);
v2:=ma(vol,10);t := barslast(dispstatus=1)+1;
t := barslast(dispstatus=1)+1;
hhg := hhv(h, t);
ddg := llv(l, t);
{hk := ll-hh; g12 := ll-hk*1.55; }
if barstatus=2 and c<200 and ((cross(avx,1) and (v1 >= v2)) and (dslx >= dslx1)) then
drawtextabs(32,100,'该股的量能理想,有明显走强迹象,可以考虑中线进场参与,仓位在2/3左右。 '),color0000ff,linethick3;
if barstatus=2 and c<200 and ((cross(avx,1) and (v1 < v2)) and (dslx >= dslx1)) then
drawtextabs(32,100,'该股虽然走势趋强,但量能还显不足,可以考虑短线进场,仓位在1/2左右。 '),color0000ff,linethick3;
if barstatus=2 and c<200 and ((cross(avx,1) and (v1 > v2)) and (dslx < dslx1)) then
drawtextabs(20,100,'该股量价配合良好,但相对其它股票并没有明显走强,可以考虑短线进场,仓位1/2左右。 '),color0000ff,linethick3;
if barstatus=2 and c<200 and ((cross(avx,1) and (v1 <= v2)) and (dslx < dslx1)) then
drawtextabs(32,100,'该股形态尚可,但量能不足,股票也未完全走强,可以短线参与,仓位1/3左右。 '),color0000ff,linethick3;
if barstatus=2 and c<200 and ((cross(1,avx) and (v1 >= v2)) and (dslx >= dslx1)) then
drawtextabs(32,100,'该股形态变坏,但走势相对其它股票尚可,重仓者减持大半,清仓者可以观望。 '),color00ff00,linethick3;
if barstatus=2 and c<200 and ((cross(1,avx) and (v1 < v2)) and (dslx >= dslx1)) then
drawtextabs(32,100,'该股随大盘一起下跌,程明显缩量走势,考虑到大盘风险,减持或清仓。 '),color00ff00,linethick3;
if barstatus=2 and c<200 and ((cross(1,avx) and (v1 >= v2)) and (dslx < dslx1)) then
drawtextabs(32,100,'该股放量下跌,走势明显偏弱,离场观望。 '),color00ff00,linethick3;
if barstatus=2 and c<200 and ((cross(1,avx) and (v1 < v2)) and (dslx < dslx1)) then
drawtextabs(32,100,'该股缩量下跌,走势偏弱,离场观望。 '),color00ff00,linethick3;
if barstatus=2 and c<200 and ((((avx >= 1) and (ref(avx,1) > 0)) and (v1 >= v2)) and (dslx >= dslx1)) then
drawtextabs(32,100,'该股形态良好,强势明显,量能充足,可以继续持有。 '),color00ffff,linethick3;
if barstatus=2 and c<200 and ((((avx >= 1) and (ref(avx,1) > 0)) and (v1 < v2)) and (dslx >= dslx1)) then
drawtextabs(32,100,'该股上行趋势不变,强势依然,但量能开始转弱,注意风险。 '),color00ffff,linethick3;
if barstatus=2 and c<200 and ((((avx >= 1) and (ref(avx,1) > 0)) and (v1 >= v2)) and (dslx < dslx1)) then
drawtextabs(32,100,'该股仍然具备上涨潜力,但股性偏弱,可考虑减仓。 '),color00ffff,linethick3;
if barstatus=2 and c<200 and ((((avx >= 1) and (ref(avx,1) > 0)) and (v1 < v2)) and (dslx < dslx1)) then
drawtextabs(32,100,'该股走势趋弱,量能不足,减持大部分筹码。 '),color00ffff,linethick3;
if barstatus=2 and c<200 and ((((avx < 1) and (ref(avx,1) < 0)) and (v1 >= v2)) and (dslx >= dslx1)) then
drawtextabs(32,100,'该股形态不佳,注意成交量的变化,但目前不适合参与。 '),color00ff00,linethick3;
if barstatus=2 and c<200 and ((((avx < 1) and (ref(avx,1) < 0)) and (v1 < v2)) and (dslx >= dslx1)) then
drawtextabs(32,100,'该股趋势不明,股价偏弱,注意量能变化,目前不宜参与。 '),color00ff00,linethick3;
if barstatus=2 and c<200 and ((((avx < 1) and (ref(avx,1) < 0)) and (v1 >= v2)) and (dslx < dslx1)) then
drawtextabs(32,100,'该股有走强迹象,但量能不足,趋势不明,不适合操作。 '),color00ff00,linethick3;
if barstatus=2 and c<200 and ((((avx < 1) and (ref(avx,1) < 0)) and (v1 < v2)) and (dslx < dslx1)) then
drawtextabs(32,100,'该股走势太弱,没有参与价值。 '),color00ff00,linethick3;
if barstatus=2 and c>200 and (cross(avx,1) and (v1 >= v2)) then
drawtextabs(32,100,'大盘量能理想,有明显走强迹象,可以考虑中线进场参与,仓位在2/3左右, '),color0000ff,linethick3;
if barstatus=2 and c>200 and (cross(avx,1) and (v1 >= v2)) then
drawtextabs(32,100,'如前期经过一轮下跌,此时为最佳买点,但如果前期有过一段涨幅则介入需谨慎。 '),color0000ff,linethick3;
if barstatus=2 and c>200 and (cross(avx,1) and (v1 < v2)) then
drawtextabs(32,100,'大盘虽然走势趋强,但量能还显不足,如果前期经过一轮下跌, '),color0000ff,linethick3;
if barstatus=2 and c>200 and (cross(avx,1) and (v1 < v2)) then
drawtextabs(32,100,'可以考虑短线进场,仓位在1/2左右,一旦量能放大可以加仓买入。 '),color0000ff,linethick3;
if barstatus=2 and c>200 and (cross(1,avx) and (v1 >= v2)) then
drawtextabs(32,100,'大盘形态走坏,重仓者可以减去大部分仓位。 '),color00ff00,linethick3;
if barstatus=2 and c>200 and (cross(1,avx) and (v1 < v2)) then
drawtextabs(32,100,'大盘缩量调整,注意风险,短线清仓观望。 '),color00ff00,linethick3;
if barstatus=2 and c>200 and (((avx >= 1) and (ref(avx,1) > 0)) and (v1 >= v2)) then
drawtextabs(32,100,'大盘走势良好,量能理想,可以继续持有强势股。 '),color00ffff,linethick3;
if barstatus=2 and c>200 and (((avx >= 1) and (ref(avx,1) > 0)) and (v1 < v2)) then
drawtextabs(32,100,'大盘形态良好,但量能稍显不足,随时准备减仓。 '),color00ffff,linethick3;
if barstatus=2 and c>200 and (((avx < 1) and (ref(avx,1) < 0)) and (v1 >= v2)) then
drawtextabs(32,100,'大盘趋势不明,注意成交量变化,目前不适宜进场。 '),color00ff00,linethick3;
if barstatus=2 and c>200 and (((avx < 1) and (ref(avx,1) < 0)) and (v1 < v2)) then
drawtextabs(32,100,'大盘趋势向下,量能萎缩,不适合进场。 '),color00ff00,linethick3;
{买入卖出}
var3:=llv(high,240);
var4:=100*(close-var3)/var3;
var5:=(close-llv(low,528))/(hhv(high,528)-llv(low,528))*100;
var6:=(close-llv(close,530))/(hhv(close,530)-llv(close,530))*100;
var7:=0;
var8:=sma(max(close-ref(close,1),0),34,1)/sma(abs(close-ref(close,1)),7,1)*100;
var9:=sma(max(close-ref(close,1),0),13,1)/sma(abs(close-ref(close,1)),13,1)*100;
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),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);
var14:=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);
var16:=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);
var18:=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);
var19:=ema(close,2)-ema(close,150);
买1:=var10;
买2:=(var11+var13+var15+var17);
卖1:=(var12+var14+var16+var18);
drawtext(买1>0 or 买2>0,low*1,'←买'),crossdot,linethick3,colorred;
drawtext(卖1>0,high*1,'←卖'),crossdot,linethick3,colorgreen;
{以下大笔出货标识}
vare:=ma(100*(close-llv(close,34))/(hhv(high,34)-llv(low,34)),5)-20;
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;
drawbmp(var1c and count(var1c,30)=1,high*1.02,'小蓝伞'),linethick3,colorffcc66;
五日换手率:=sum(100*v/capital,5);
drawtextabs(745,15,'5日换手率: '+numtostrn(五日换手率,2)+'%'),colorfffffc,linethick1;
十日换手率:=sum(vol,10)*100/capital;
drawtextabs(745,35,' 10日换手率: '+numtostrn(十日换手率,2)+'%'),colorfffffc,linethick1;
廿日换手率:=sum(vol,20)*100/capital;
drawtextabs(745,55,' 20日换手率: '+numtostrn(廿日换手率,2)+'%'),colorfffffc,linethick1;
百日换手率:=sum(vol,100)*100/capital;
drawtextabs(745,75,'100日换手率: '+numtostrn(百日换手率,2)+'%'),colorfffffc,linethick1;
{量能饱和度}
sat:=if((amount/c)/(hhv(amount,20)/hhv(c,20))*100>100,100,(amount/c)/(hhv(amount,20)/hhv(c,20))*100);
drawtextrel(350,40,'量能饱和度:'+numtostrn(sat,0)),linethick4,colorff00ff;
drawrectabs(5 ,5,42 ,42,0),linethick4,color6600ff;
drawtextabs(10 ,10,'朱勇'),linethick2,color6600ff;
drawtextabs(10 ,23,'飞印'),linethick2,color6600ff;
{短线}
var1:=(close*2+high+low)/4;
sk:= ema(var1,13)-ema(var1,73);
sd:= ema(sk,2);
drawtext((cross(sk,sd) and sk<-0.04 and (c-ref(c,1))/ref(c,1)>=0.03) or (cross(sk,sd) and sk<=-0.14 )
or (cross(sk,sd) and sk<=0.05 and (v/ma(v,5)>2 or c/ref(c,1)>0.035)) ,l*0.99,'←短线'),linethick3,colorgray{深灰色};
{出击.震仓}
a1:=ref(close,1)<ref(open,2);
a2:=close>open ;
a3:=ref(high,1)<ref(low,2) ;
aa4:=high>ref(low,1);
drawtext( a1 and a2 and a3and aa4,(low - 0.3),'←出击'),color00ffff;
drawtext(troughbars(3,15,1)=0 and high>low+0.01 anda1 and a2=0 and a3=0and aa4=0,(low - 0.3),'←震仓'),color0000ff;
{.★抄底}
b:=(sma(low,5,2) * 0.96);
bb:=llv(high,36);
b2:=llv(high,30);
drawtext(((((low <= b) and (high >= bb)) and (close >=b2 )) and ((close / open) > 1.03)),(low - 0.08),'★抄底'),color0000ff;
{追涨}
va1:=ema(close,8);
va2:=ema(va1,20);
va3:=cross(va1,va2);
va4:=vol/sum(vol,13);
va5:=dma(close,va4);
va6:=va1<ma(close,120);
a3a:=va3 and va6 and (close-va5)/va5*100/2.5>1.6;
a4a:=cross( (close-va5)/va5*100/2.5,0 ) and (close-va5)/va5*100/2.5>1.5 ;
drawtext(a4a>0 or a3a>0,l-0.3,'←追涨'),colorwhite;
{逃顶}
vv1:=(close-llv(low,60))/(hhv(high,60)-llv(low,60))*100;
vv2:=sma(vv1,7,1);
vv3:=sma(vv2,12,1);
vv4:=cross(vv3,vv2);
vv5:=vv3>88 or vv2>88;
vv6:=vv4 and vv5;
stickline(vv6 or cross(ref(vv2,1),vv2) and vv2>95,(high + 0.5),(high +1.2),8,0),colormagenta{ 洋红色};
drawtext(vv6 or cross(ref(vv2,1),vv2) and vv2>95,h+1.2,'←逃顶'),coloryellow{黄};
{牛顶.熊底}
统计天数:=barpos-hhv(if(dispstatus=1,barpos,0),0)+1;
高点:=hhv(c,统计天数);{h}
低点:=llv(c,统计天数);{l}
牛顶:=低点+(高点-低点)*(1+0.618);
熊底:=abs( 高点-(高点-低点)*(1+0.618) );
drawtextrel(999,999-60, '牛顶:'+numtostr(牛顶) +'; '+'熊底:'+numtostr(熊底) ),align2,linethick2,coloryellow{黄};
drawgbk(c,'');
{以下定义坚决买进}
var77:=ema(amount/vol/100,3);
var88:=ema(var77,88);
var99:=ema(var77,88)*0.85;
varah:=var99*0.87;
varbh:=low<varah and close>ref(close,1)*1.02;
drawtext(filter(varbh,6),l-0.08,'←坚决买进'),linethick3,colorff00ff;
{以下设置强势狙击}
bb05:=atan(((ma(c,5))/ref((ma(c,5)),1)-1)*100)*180/3.1416;
bb10:=atan(((ma(c,10))/ref((ma(c,10)),1)-1)*100)*180/3.1416;
bb30:=atan(((ma(c,30))/ref((ma(c,30)),1)-1)*100)*180/3.1416;
强势狙击:=filter(bb30>30 and bb10>45 and cross(bb05,60),10);
drawtext(强势狙击,low*0.98,'←强势狙击'),linethick3,colorwhite;
{以下定义资金进场}
var3e:=100-(100-3*sma((close-llv(low,55))/(hhv(high,55)-llv(low,55))*100,20,1)+2*sma(sma((close-llv(low,55))/(hhv(high,55)-llv(low,55))*100,20,1),15,1));
var4e:=100-(100-3*sma((open-llv(low,55))/(hhv(high,55)-llv(low,55))*100,20,1)+2*sma(sma((open-llv(low,55))/(hhv(high,55)-llv(low,55))*100,20,1),15,1));
var5e:=var3e>ref(var4e,1) and vol>ref(vol,1) and close>ref(close,1);
drawtext(var5e and count(var5e,30)=1,low,'←资金进场'),linethick3,coloryellow;
{操盘手bs}
买线:=ema(c,2);
卖线:=ema(slope(c,21)*20+c,42);
bu:=cross(买线,卖线);
sel:=cross(卖线,买线);
drawtext(bu,low,'b'),align1,valign0,coloryellow,linethick4;
drawtext(sel,high,'s'),align1,valign2,colorffff00,linethick4;
a4:=ma(close,20);
a5:=(close > ma(close,5));
a6:=(ma(close,5) > ma(close,10));
a7:=(close > ma(close,10));
a8:=(ma(close,5) > ma(close,20));
a9:=(close > ma(close,20));
a10:=ref(a4,1);
a11:=(a4 > a10);
avx:=(((((if(a5,10,(0 - 10)) + if(a6,10,(0 - 10))) + if(a7,10,(0 - 10))) + if(a8,10,(0 - 10))) + if(a9,10,(0 - 10))) + if(a11,10,(0 - 10)));
dslx:=(close / indexc);
dslx1:=ma(dslx,5);
dslx2:=ma(dslx,10);
v1:=ma(vol,5);
v2:=ma(vol,10);
阻力位:=if((close > 200),(close * 1.01),(close * 1.07));
阻力位1:=if((close < 10),(close * 1.05),阻力位);
止损位:=if((close > 200),(close * 0.99),(close * 0.93));
止损位1:=if((close < 10),(close * 0.95),止损位);
tjts1:=barstatus=2 and c<200;
tjts2:=barstatus=2 and c>200;
k2:=hhv(h,barslast(dispstatus=1)+1);
drawtext(tjts1 or tjts2 ,k2*0.99,'阻力位:'+numtostrn(阻力位1,2)+' '),coloryellow,align2;
drawtext(tjts1 or tjts2 ,k2*0.99,'止损位:'+numtostrn(止损位1,2)+' '),coloryellow ,align2;
上一指标公式:资金指数通达信飞狐DZH2与赢在龙头原完全一样公式下载 大智慧龙头公式
下一指标公式:买入无忧公式下载 大智慧无忧
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文短线狙击主图公式下载 大智慧狙击仅供学习研究。