ma5:ma(c,5); ma6:=ma(c,6); ma10:ma(c,10); ma20:ma(c,20);a2:=ref(ma20,1);j1:=(ma20-a2)/a2*100;mj1:=ma(j1,3); ma30:ma(c,30); ma60:ma(c,60); 乖离2:=(ma20-ma30)/ma30*100; var1:=if(between(乖离2,-2,5),2,0); max1:=max(ma20,ma30); max2:=max(max1,ma60); min0:=min(ma20,ma30); min2:=min(min0,ma60); k1:=(max2/min2-1)*100;{粘合度符合条件} var2:=if(k1<=8,1,0); 上火车轨:=ma20>ma30 and ma20>ref(ma20,1) and ma30>ref(ma30,1) and ma20-ma30>ref((ma20-ma30),1) ; stickline(上火车轨,ma20,ma30,0,0),colorred; 神枪手:=drawtext(filter(上火车轨 and "macd.dif"<0.15 and "macd.dif">ref("macd.dif",1) and ma(v,60)>ref(ma(v,60),1) and ma(v,5)>ma(v,10) and j1>ref(j1,1) and ( l<=ma20 and c>ma20 or (cross(ma5,ma20)) ),5),l*0.98,'←神枪手'); 神枪手选股:=filter(上火车轨 and "macd.dif"<0.15 and "macd.dif">ref("macd.dif",1) and ma(v,60)>ref(ma(v,60),1) and ma(v,5)>ma(v,10) and j1>ref(j1,1) and ( l<=ma20 and c>ma20 or (cross(ma5,ma20)) ),5);{44.40%15240} 短线暴涨:drawtext(filter( (var1 or var2) and ma10>ref(ma10,1) and count(ma30>ref(ma30,1),3)=3 and ma30>ma60 and count(cross(ma5,ma30),3) and j1>mj1 and ma(v,5)>ma(v,60) and ma(v,60)>ref(ma(v,60),1),5),ma60*0.99,'短线暴涨'),colorred; drawtext(cross("kdj.k"(5,2,3),"kdj.d"(5,2,3)) and "kdj.d"(5,2,3)<30 and j1>mj1 and ma60>ref(ma60,1) and count(j1<1,3)>=1 ,l*0.995,'←买入'),coloryellow; drawtext(cross("kdj.d"(5,2,3),"kdj.k"(5,2,3)) and "kdj.d"(5,2,3)>65 and j1<mj1 and count(j1>1,3)>=1,h*1.005,'←卖出'),colorgreen; drawtext(cross("kdj.d"(18,9,6),"kdj.k"(18,9,6)) and "kdj.d"(18,9,6)>60 and "kdj.j"(45,15,15)>90,h*1.03,'←顶'),colorred; drawtext(cross(ma5,ma6) and "kdj.k"(5,3,3)>=50 and "kdj.j"(5,3,3)<31 ,l*0.92,'←再买'),colormagenta; xl1:=((llv(low,3) = llv(low,60)) and ((close / ref(close,1)) >= 1.04)); xl2:=(((close - ema(close,21)) / ema(close,21)) * 100); xl3:=cross(xl2,(0 - 20)); drawtext(filter(((xl1 > 0) and low),5),(low - 0.4),'●买点'); drawtext((xl3 > 0),(low - 0.2),'●绝对底部'); x6:=ref(close,1); x7:=((sma(max((close - x6),0),7,1) / sma(abs((close - x6)),7,1)) * 100); x8:=cross(79,x7); x9:=filter(x8,4); drawtext(x9,(high * 1.02),'●出货'),color9000f5; stickline(c>1.098*ref(c,1),c,o,0,0),coloryellow; aaa:=const(hhv(h,90)); r1:=ma(close,1); r2:=ma(close,3); r3:=(ma(r2,1)*1); r4:=(ma(r2,3)*1); drawtext(cross(r3,r4),(low-0.1),'进'),coloryellow; 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); drawtext(cross(88,rsi),(high * 1.02),'出'),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; drawtext(var1c and count(var1c,30)=1,high*1.02,'大笔出货'),linethick1,colorffcc66; aa1:=amount/v; bb1:=l<aa1*0.9; cc1:=(c-ref(c,1))/ref(c,1)*100>1.2; dd1:=l<ma(c,5)*0.921; ee1:=v<ma(v,5)*1.5; 老鼠仓:=bb1 and cc1 and dd1 and ee1,linethick0; drawtext(老鼠仓,(low* 0.99),'老鼠仓'),color40ccff; 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); t1:=const(if(c<200 and ((cross(avx,1) and (v1 >= v2)) and (dslx >= dslx1)),1,0)); t2:=const(if(c<200 and ((cross(avx,1) and (v1 < v2)) and (dslx >= dslx1)),1,0)); t3:=const(if(c<200 and ((cross(avx,1) and (v1 > v2)) and (dslx < dslx1)),1,0)); t4:=const(if(c<200 and ((cross(avx,1) and (v1 <= v2)) and (dslx < dslx1)),1,0)); t5:=const(if(c<200 and ((cross(1,avx) and (v1 >= v2)) and (dslx >= dslx1)),1,0)); t6:=const(if(c<200 and ((cross(1,avx) and (v1 < v2)) and (dslx >= dslx1)),1,0)); t7:=const(if(c<200 and ((cross(1,avx) and (v1 >= v2)) and (dslx < dslx1)),1,0)); t8:=const(if(c<200 and ((cross(1,avx) and (v1 < v2)) and (dslx < dslx1)),1,0)); t9:=const(if(c<200 and ((((avx >= 1) and (ref(avx,1) > 0)) and (v1 >= v2)) and (dslx >= dslx1)),1,0)); t10:=const(if(c<200 and ((((avx >= 1) and (ref(avx,1) > 0)) and (v1 < v2)) and (dslx >= dslx1)),1,0)); t11:=const(if(c<200 and ((((avx >= 1) and (ref(avx,1) > 0)) and (v1 >= v2)) and (dslx < dslx1)),1,0)); t12:=const(if(c<200 and ((((avx >= 1) and (ref(avx,1) > 0)) and (v1 < v2)) and (dslx < dslx1)),1,0)); t13:=const(if(c<200 and ((((avx < 1) and (ref(avx,1) < 0)) and (v1 >= v2)) and (dslx >= dslx1)),1,0)); t14:=const(if( c<200 and ((((avx < 1) and (ref(avx,1) < 0)) and (v1 < v2)) and (dslx >= dslx1)),1,0)); t15:=const(if(c<200 and ((((avx < 1) and (ref(avx,1) < 0)) and (v1 >= v2)) and (dslx < dslx1)),1,0)); t16:=const(if(c<200 and ((((avx < 1) and (ref(avx,1) < 0)) and (v1 < v2)) and (dslx < dslx1)),1,0)); t17:=const(if(c>200 and (cross(avx,1) and (v1 >= v2)),1,0)); t18:=const(if(c>200 and (cross(avx,1) and (v1 >= v2)),1,0)); t19:=const(if(c>200 and (cross(avx,1) and (v1 < v2)),1,0)); t20:=const(if(c>200 and (cross(1,avx) and (v1 >= v2)),1,0)); t21:=const(if(c>200 and (cross(1,avx) and (v1 < v2)),1,0)); t22:=const(if(c>200 and (((avx >= 1) and (ref(avx,1) > 0)) and (v1 >= v2)),1,0)); t23:=const(if(c>200 and (((avx >= 1) and (ref(avx,1) > 0)) and (v1 < v2)),1,0)); t24:=const(if(c>200 and (((avx < 1) and (ref(avx,1) < 0)) and (v1 >= v2)),1,0)); t25:=const(if(c>200 and (((avx < 1) and (ref(avx,1) < 0)) and (v1 < v2)),1,0)); drawtext(t1=1 and currbarscount=70,aaa-(aaa*0.03) ,'量能理想,明显走强,中线参与,仓位在2/3左右'),colorff00ff ; drawtext(t2=1 and currbarscount=70,aaa-(aaa*0.03) ,'走势趋强,还显不足,短线进场,仓位在1/2左右'),colorff00ff ; drawtext(t3=1 and currbarscount=70,aaa-(aaa*0.03) ,'量价良好,没有明显走强,短线进场,仓位1/2左右'),colorff00ff ; drawtext(t4=1 and currbarscount=70,aaa-(aaa*0.03) ,'形态尚可,量能不足,未完全走强,短线参与,仓位1/3左右'),colorff00ff ; drawtext(t5=1 and currbarscount=70,aaa-(aaa*0.03) ,'形态变坏,重仓者减持大半,清仓者观望'),colorff00ff ; drawtext(t6=1 and currbarscount=70,aaa*0.98 ,'随大盘一起下跌,明显缩量走势,考虑到风险,减持或清仓'),colorff00ff ; drawtext(t7=1 and currbarscount=70,aaa-(aaa*0.03) ,'该股放量下跌,走势明显偏弱,离场观望'),colorff00ff ; drawtext(t8=1 and currbarscount=70,aaa-(aaa*0.03) ,'该股缩量下跌,走势偏弱,离场观望。'),colorff00ff ; drawtext(t9=1 and currbarscount=70,aaa-(aaa*0.03) ,'该股形态良好,强势明显,量能充足,可以继续持有'),colorff00ff ; drawtext(t10=1 and currbarscount=70,aaa-(aaa*0.03) ,'上行趋势不变,强势依然,量能开始转弱,注意风险'),colorff00ff ; drawtext(t11=1 and currbarscount=70,aaa-(aaa*0.03) ,'该股仍然具备上涨潜力,但股性偏弱,可考虑减仓'),colorff00ff ; drawtext(t12=1 and currbarscount=70,aaa-(aaa*0.03) ,'该股走势趋弱,量能不足,减持大部分筹码'),colorff00ff ; drawtext(t13=1 and currbarscount=70,aaa-(aaa*0.03) ,'该股形态不佳,注意成交量的变化,目前不适合参与'),colorff00ff ; drawtext(t14=1 and currbarscount=70,aaa-(aaa*0.03) ,'趋势不明,股价偏弱,注意量能变化,目前不宜参与'),colorff00ff ; drawtext(t15=1 and currbarscount=70,aaa-(aaa*0.03) ,'有走强迹象,但量能不足,趋势不明,不适合操作'),colorff00ff ; drawtext(t16=1 and currbarscount=70,aaa-(aaa*0.03) ,'该股走势太弱,没有参与价值。'),colorff00ff ; drawtext(t17=1 and currbarscount=70,aaa-(aaa*0.03) ,'大盘理想,有明显走强迹象,中线参与,仓位在2/3左右'),colorff00ff ; drawtext(t18=1 and currbarscount=70,aaa-(aaa*0.03) ,'如前期经过一轮下跌,最佳买点,前期有过一段涨幅需谨慎'),colorff00ff ; drawtext(t19=1 and currbarscount=70,aaa-(aaa*0.03) ,'考虑短线进场,仓位在1/2左右,一旦量能放大,加仓买入'),colorff00ff ; drawtext(t20=1 and currbarscount=70,aaa-(aaa*0.03) ,'大盘形态走坏,重仓者可以减去大部分仓位。'),colorff0000 ; drawtext(t21=1 and currbarscount=70,aaa-(aaa*0.03) ,'大盘缩量调整,注意风险,短线清仓观望。'),colorff0000 ; drawtext(t22=1 and currbarscount=70,aaa-(aaa*0.03) ,'大盘走势良好,量能理想,可以继续持有强势股。'),colorff0000 ; drawtext(t23=1 and currbarscount=70,aaa-(aaa*0.03) ,'大盘形态良好,但量能稍显不足,随时准备减仓。'),colorff0000 ; drawtext(t24=1 and currbarscount=70,aaa-(aaa*0.03) ,'大盘趋势不明,注意成交量变化,目前不适宜进场。'),colorff0000 ; drawtext(t25=1 and currbarscount=70,aaa-(aaa*0.03) ,'大盘趋势向下,量能萎缩,不适合进场。'),colorff0000 ; aa:=barscount(c); ah:=hhv(h,200); al:=llv(l,200); a0:=(ah-al)/40; b1:=l-a0; stickline((aa+0)/34=floor((aa+0)/34),b1,b1-1.5*a0,2,0),colorf00ff0; drawtext((aa+0)/34=floor((aa+0)/34),b1-1*a0,'时间窗,变盘'),colorf00ff0; var2s:=(2*close+high+low)/4; var3s:=if(year>=2099 and month>2,0,1); var4s:=llv(low,5); var5s:=hhv(high,4); 散户:=ema((var2s-var4s)/(var5s-var4s)*100,4)*var3s; 庄家:=ema(0.667*ref(散户,1)+0.333*散户,2)*var3s; drawtext(cross(散户,庄家) and 散户<30,l-0.05,'←吸'),colorred; bbb1:=ma(c,1); b2:=sma(sma(sma(bbb1,2,1),2,1),2,1),colorred; sma2:=ma(b2,2); varb1:=(100 - ((90 * (hhv(high,21) - close)) / (hhv(high,21) - llv(low,21)))); var3:=(100 - ma(((100 * (hhv(high,6) - close)) / (hhv(high,6) - llv(low,6))),34)); 买:drawtext(cross(varb1,var3) and b2>sma2,(low * 0.97),'←⊙买'),colorred;
上一指标公式:发个天狼剑指标下载 通达信发个
下一指标公式:直线似合指标下载 通达信直线
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文精美主图主图指标下载 通达信精美源码仅供学习研究。