浪股翻番-新一代
input:p1(28),p2(32),p3(35),n(3),m(20);
{参数需要输入:{p1(20,32,28)p2(32,35,32)p3(35,38,35)n(0,20,3)m(0,100,20)}
ma5:ma(close,5);
ma10:ma(close,10);
ma20:ma(close,20);
ma30:ma(close,30);
ma60:ma(close,60);
ma120:ma(close,120);
var1:=if(date<1500830 and date>900101,1,0);
var2:=llv(low,10);
var3:=hhv(high,25);
k1:=(p1/10)*var1*100;
k2:=(p2/10)*var1*100;
k3:=(p3/10)*var1*100;
rsv:=(c-llv(l,9))/(hhv(h,9)-llv(l,9))*100;
k:=sma(rsv,3,1);
d:=sma(k,3,1);
j:=3*k-2*d;
x:=llv(j,2)=llv(j,8);
y:=if(cross(j,ref(j+0.01,1)) and x and j<20,30,0);
主力:=ema( (close-ma(close,n))/ma(close,n)*4800,2);
散户:=ema( (close-ma(close,m))/ma(close,m)*4800,7);
动能趋势线:=100*ema((close-var2)/(var3-var2)*4,4)*var1;
drawtext(cross(动能趋势线,k1),high*1.02,'风险'),colorgreen;
drawtext(cross(动能趋势线,k2),high*1.02,'减仓'),color00ff00;
drawtext(cross(动能趋势线,k3),high*1.02,'出局'),colorwhite;
drawtext(cross(j,ref(j+0.01,1)) and x and j<20,low,'短进'),colorff00ff;
drawtext(cross(主力,散户) and 主力<0 and 散户<0,low,'见 底'),colorred;
drawicon(cross(主力,散户) and 主力<0 and 散户<0,low,1);
{选股}
见底选股:if(cross(主力,散户) and 主力<0 and 散户<0,1,0),colorred,linethick0;
短进选股:if(cross(j,ref(j+0.01,1)) and x and j<20,1,0),colorff00ff,linethick0;
{
说明:见底信号与笑脸同时出现,成功机率比较大.
别只看不回,辛苦一周才做好,要不回,太对不起我了
本指标是老指标,升级后的指标在http://item.taobao.com/item.htm?id=8810522080,欢迎使用,100人已翻番
};
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);
mc:=ref(c,1);
阻力位:=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),止损位);
阻力位a:=if((mc > 200),(mc * 1.01),(mc * 1.07));
阻力位2:=if((mc < 10),(mc * 1.05),阻力位a);
止损位b:=if((mc > 200),(mc * 0.99),(mc * 0.93));
止损位2:=if((mc < 10),(mc * 0.95),止损位b);
tjts1:=barstatus=2 and c<200;
tjts2:=barstatus=2 and c>200;
drawtextabs(58,80,''),linethick1,color00ff00;
drawtextabs(58,95,''),linethick1,colorfebaf5;
t := barslast(dispstatus=1)+1;
hhg := hhv(h, t);
ddg := llv(l, t);
{hk := ll-hh; g12 := ll-hk*1.55; }
k2:=hhv(h*1.03,barslast(dispstatus=1)+1);
drawtext(tjts1 and ((cross(avx,1) and (v1 >= v2)) and (dslx >= dslx1)) ,k2*0.99,'★该股的量能理想,有明显走强迹象,可以考虑中线进场参与,仓位在2/3左右。 '),align2,color0000ff,linethick2;
drawtext(tjts1 and ((cross(avx,1) and (v1 < v2)) and (dslx >= dslx1)) ,k2*0.99,'★该股虽然走势趋强,但量能还显不足,可以考虑短线进场,仓位在1/2左右。 '),align2,color0000ff,linethick2;
drawtext(tjts1 and ((cross(avx,1) and (v1 > v2)) and (dslx < dslx1)) ,k2*0.99,'★该股量价配合良好,但相对其它股票并没有明显走强,可以考虑短线进场,仓位1/2左右。 '),align2,color0000ff,linethick2;
drawtext(tjts1 and ((cross(avx,1) and (v1 <= v2)) and (dslx < dslx1)) ,k2*0.99,'★该股形态尚可,但量能不足,股票也未完全走强,可以短线参与,仓位1/3左右。 '),align2,color0000ff,linethick2;
drawtext(tjts1 and ((cross(1,avx) and (v1 >= v2)) and (dslx >= dslx1)) ,k2*0.99,'★该股形态变坏,但走势相对其它股票尚可,重仓者减持大半,清仓者可以观望。 '),align2,color00ff00,linethick2;
drawtext(tjts1 and ((cross(1,avx) and (v1 < v2)) and (dslx >= dslx1)) ,k2*0.99,'★该股随大盘一起下跌,呈明显缩量走势,考虑到大盘风险,减持或清仓。 '),align2,color00ff00,linethick2;
drawtext(tjts1 and ((cross(1,avx) and (v1 >= v2)) and (dslx < dslx1)) ,k2*0.99,'★该股放量下跌,走势明显偏弱,离场观望。 '),align2,color00ff00,linethick2;
drawtext(tjts1 and ((cross(1,avx) and (v1 < v2)) and (dslx < dslx1)) ,k2*0.99,'★该股缩量下跌,走势偏弱,离场观望。 '),align2,color00ff00,linethick2;
drawtext(tjts1 and ((((avx >= 1) and (ref(avx,1) > 0)) and (v1 >= v2)) and (dslx >= dslx1)) ,k2*0.99,'★该股形态良好,强势明显,量能充足,可以继续持有。 '),align2,color00ffff,linethick2;
drawtext(tjts1 and ((((avx >= 1) and (ref(avx,1) > 0)) and (v1 < v2)) and (dslx >= dslx1)) ,k2*0.99,'★该股上行趋势不变,强势依然,但量能开始转弱,注意风险。 '),align2,color00ffff,linethick2;
drawtext(tjts1 and ((((avx >= 1) and (ref(avx,1) > 0)) and (v1 >= v2)) and (dslx < dslx1)) ,k2*0.99,'★该股仍然具备上涨潜力,但股性偏弱,可考虑减仓。 '),align2,color00ffff,linethick2;
drawtext(tjts1 and ((((avx >= 1) and (ref(avx,1) > 0)) and (v1 < v2)) and (dslx < dslx1)) ,k2*0.99,'★该股走势趋弱,量能不足,减持大部分筹码。 '),align2,color00ffff,linethick2;
drawtext(tjts1 and ((((avx < 1) and (ref(avx,1) < 0)) and (v1 >= v2)) and (dslx >= dslx1)) ,k2*0.99,'★该股形态不佳,注意成交量的变化,但目前不适合参与。 '),align2,linethick2;
drawtext(tjts1 and ((((avx < 1) and (ref(avx,1) < 0)) and (v1 < v2)) and (dslx >= dslx1)) ,k2*0.99,'★该股趋势不明,股价偏弱,注意量能变化,目前不宜参与。 '),align2,linethick2;
drawtext(tjts1 and ((((avx < 1) and (ref(avx,1) < 0)) and (v1 >= v2)) and (dslx < dslx1)) ,k2*0.99,'★该股有走强迹象,但量能不足,趋势不明,不适合操作。 '),align2,linethick2;
drawtext(tjts1 and ((((avx < 1) and (ref(avx,1) < 0)) and (v1 < v2)) and (dslx < dslx1)) ,k2*0.99,'★该股走势太弱,没有参与价值。 '),align2,linethick2;
drawtext(tjts2 and (cross(avx,1) and (v1 >= v2)) ,k2*0.99,'★大盘量能理想,有明显走强迹象,可以考虑中线进场参与,仓位在2/3左右, '),align2,color0000ff;
drawtext(tjts2 and (cross(avx,1) and (v1 >= v2)) ,k2*0.98,'★如前期经过一轮下跌,此时为最佳买点,但如果前期有过一段涨幅则介入需谨慎。 '),align2,color0000ff,linethick2;
drawtext(tjts2 and (cross(avx,1) and (v1 < v2)) ,k2*0.99,'★大盘虽然走势趋强,但量能还显不足,如果前期经过一轮下跌, '),align2,color0000ff,linethick2;
drawtext(tjts2 and (cross(avx,1) and (v1 < v2)) ,k2*0.98,' ★可以考虑短线进场,仓位在1/2左右,一旦量能放大可以加仓买入。 '),align2,color0000ff,linethick2;
drawtext(tjts2 and (cross(1,avx) and (v1 >= v2)) ,k2*0.99,'★大盘形态走坏,重仓者可以减去大部分仓位。 '),align2,color00ff00,linethick2;
drawtext(tjts2 and (cross(1,avx) and (v1 < v2)) ,k2*0.99,'★大盘缩量调整,注意风险,短线清仓观望。 '),align2,color00ff00,linethick2;
drawtext(tjts2 and (((avx >= 1) and (ref(avx,1) > 0)) and (v1 >= v2)) ,k2*0.99,'★大盘走势良好,量能理想,可以继续持有强势股。 '),align2,color00ffff,linethick2;
drawtext(tjts2 and (((avx >= 1) and (ref(avx,1) > 0)) and (v1 < v2)) ,k2*0.99,'★大盘形态良好,但量能稍显不足,随时准备减仓。 '),align2,color00ffff;
drawtext(tjts2 and (((avx < 1) and (ref(avx,1) < 0)) and (v1 >= v2)) ,k2*0.99,'★大盘趋势不明,注意成交量变化,目前不适宜进场。 '),align2,linethick2;
drawtext(tjts2 and (((avx < 1) and (ref(avx,1) < 0)) and (v1 < v2)) ,k2*0.99,'★大盘趋势向下,量能萎缩,不适合进场。 '),align2,linethick2;
diff:=ema(close,12) - ema(close,26);
dea:=ema(diff,9);
macd:=2*(diff-dea);
a1:=barslast(ref(cross(diff,dea),1));
b1:=ref(c,a1+1)>c and ref(diff,a1+1)<diff and cross(diff,dea);
drawicon(filter(b1>0,5),l*0.94,1);
drawtext(filter(b1>0,5),l*0.91,'m底'),colorgreen;{macd底背离}
a2:=barslast(ref(cross("kdj.k"(9,3,3),"kdj.d"(9,3,3)),1));
b2:=ref(c,a2+1)>c and ref("kdj.k"(9,3,3),a2+1)<"kdj.k"(9,3,3) and cross("kdj.k"(9,3,3),"kdj.d"(9,3,3));
drawicon(filter(b2>0,5),l*0.96,1);
drawtext(filter(b2>0,5),l*0.93,'k底'),coloryellow;{kdj底背离}
a3:=barslast(ref(cross("rsi.rsi1"(6,12,24),"rsi.rsi2"(6,12,24)),1));
b3:=ref(c,a3+1)>c and ref("rsi.rsi1"(6,12,24),a3+1)<"rsi.rsi1"(6,12,24) and cross("rsi.rsi1"(6,12,24),"rsi.rsi2"(6,12,24));
drawicon(filter(b3>0,5),l*0.98,1);
drawtext(filter(b3>0,5),l*0.95,'r底'),colorffff00;{rsi底背离}
c1:=barslast(ref(cross(dea,diff),1));
d1:=ref(c,c1+1)<c and ref(diff,c1+1)>diff and cross(dea,diff);
drawicon(filter(d1>0,5),h*1.04,02);
drawtext(filter(d1>0,5),h*1.06,'m顶'),color0066ff;{macd顶背离}
c2:=barslast(ref(cross("kdj.d"(9,3,3),"kdj.k"(9,3,3)),1));
d2:=ref(c,c2+1)<c and ref("kdj.k"(9,3,3),c2+1)>"kdj.k"(9,3,3) and cross("kdj.d"(9,3,3),"kdj.k"(9,3,3));
drawicon(filter(d2>0,5),h*1.04,02);
drawtext(filter(d2>0,5),h*1.06,'k顶'),colorred;{kdj顶背离}
c3:=barslast(ref(cross("rsi.rsi2"(6,12,24),"rsi.rsi1"(6,12,24)),1));
d3:=ref(c,c3+1)<c and ref("rsi.rsi1"(6,12,24),c3+1)>"rsi.rsi1"(6,12,24) and cross("rsi.rsi2"(6,12,24),"rsi.rsi1"(6,12,24));
drawicon(filter(d3>0,5),h*1.04,02);
drawtext(filter(d3>0,5),h*1.06,'r顶'),colorff00ff;{rsi顶背离};
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);
波动回调提示图:ma(close,10000);
drawtext(cross(ff,ma15),(low * 0.99),'底背离'),color0000ff;
drawtext(cross(88,rsi),(high * 1.02),'顶背离'),color00ffff;
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文浪股翻番-新一代DZH公式下载 大智慧指标源码大智慧指标源码新一代仅供学习研究。