发稳操胜券系列公式组 原码一套
现发稳操胜券系列公式组特别指标原码一套,部份公式配套发条件选股公式,望网友高手将没有条件选股公式的补上.
原码如下:
稳操胜券----操盘线
{p1:130300 ;p2:340300;p3:550300;p4:890300;p5:1440300;n:405;}
var1:=(100 - ((90 * (hhv(high,21) - close)) / (hhv(high,21) - llv(low,21))));
var2:=(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));
drawicon(cross(var2,ma(var3,6)),(low * 0.998),8);
drawicon(cross(ma(var3,6),var1),(high * 1.013),9);
stickline((var2 < ma(var3,6)),close,open,7,1),colorffff33;
stickline((var2 < ma(var3,6)),low,(min(open,close) * 1.001),0.6,0),colorffff33;
stickline((var2 < ma(var3,6)),max(open,close),high,0.6,0),colorffff33;
stickline((var2 > ma(var3,6)),open,close,7,1),color4440ff;
stickline((var2 > ma(var3,6)),high,max(close,open),0.6,0),color4440ff;
stickline((var2 > ma(var3,6)),low,(min(close,open) * 1.001),0.8,0),color4440ff;
stickline(((open > close) and (var2 > ma(var3,6))),(open * 0.998),(close * 1.0025),4.5,0),colorffff33;
stickline(((open < close) and (var2 < ma(var3,6))),(close * 0.998),(open * 1.0025),4.5,0),color4440ff;
stickline(((open > close) and (var2 < ma(var3,6))),close,open,7,0),colorffff33;
drawtext(cross(var2,ma(var3,6)),(low * 0.984),'b '),color4440ff;
drawtext(cross(ma(var3,6),var1),(high * 1.035),'s '),colorffff34;
wx:=ma(close,0);
m1:ma(close,p1);
m2:(ma(close,p2) * if((n < 2),wx,1));
m3:(ma(close,p3) * if((n < 3),wx,1));
m4:(ma(close,p4) * if((n < 4),wx,1));
m5:(ma(close,p5) * if((n < 5),wx,1));
稳操胜券--底部出击
var1:=(1 / winner(close));
a0:=ma(close,13);
var3:=(100 - abs((((close - a0) / a0) * 100)));
a1:=llv(low,75);
a2:=hhv(high,75);
a3:=((a2 - a1) / 100);
a4:=sma(((close - a1) / a3),20,1);
a5:=sma(((open - a1) / a3),20,1);
var4:=((3 * a4) - (2 * sma(a4,15,1)));
var5:=((3 * a5) - (2 * sma(a5,15,1)));
var6:=(100 - var5);
var7:=(100 - var4);
var8:=ma((winner((close * 0.95)) * 100),3);
var9:=(100 - if((var1 > 5),if((var1 < 100),var1,(var3 - 10)),0));
多方:var8,coloree00ee;
空方:var9,colordd00;
var2:=(var8 > var3);
vara:=(ref(low,1) * 0.9);
varb:=(low * 0.9);
varc:=(((varb * vol) + (vara * (capital - vol))) / capital);
vard:=ema(varc,30);
a6:=(close - ref(close,1));
a7:=max(a6,0);
a8:=abs(a6);
varf:=((sma(a7,7,1) / sma(a8,7,1)) * 100);
var10:=((sma(a7,13,1) / sma(a8,13,1)) * 100);
var11:=barscount(close);
var12:=((sma(max(a6,0),6,1) / sma(abs(a6),6,1)) * 100);
var13:=((0 - ((200 * (hhv(high,60) - close)) / (hhv(high,60) - llv(low,60)))) + 100);
var14:=(((close - llv(low,15)) / (hhv(high,15) - llv(low,15))) * 100);
var16:=sma(((sma(var14,4,1) - 50) * 2),3,1);
var17:=(((indexc - llv(indexl,14)) / (hhv(indexh,14) - llv(indexl,14))) * 100);
var18:=sma(var17,4,1);
var19:=sma(var18,3,1);
var1a:=(((hhv(high,30) - close) / close) * 100);
var1b:=(((((((((var12 <= 25) and (var13 < (0 - 95))) and (var1a > 20)) and (var16 < (0 - 30))) and (var19 < 30)) and ((vard - close) >= (0 - 0.25))) and (varf < 22)) and (var10 < 28)) and (var11 > 50));
var1c:=(((high + low) + close) / 3);
var1d:=((var1c - ma(var1c,14)) / (0.015 * avedev(var1c,14)));
var1e:=((var1c - ma(var1c,70)) / (0.015 * avedev(var1c,70)));
var1f:=if(((((var1d >= 150) and (var1d < 200)) and (var1e >= 150)) and (var1e < 200)),10,0);
var20:=if(((((var1d <= (0 - 150)) and (var1d > (0 - 200))) and (var1e <= (0 - 150))) and (var1e > (0 - 200))),(0 - 10),var1f);
var21:=(if(((var1e >= 200) and (var1d >= 150)),15,if(((var1e <= (0 - 200)) and (var1d <= (0 - 150))),(0 - 15),var20)) + 50);
预警:var21,linethick2,colorffff;
stickline(var2,var3,var8,5,0),colorff;
stickline(1,var8,0,1,0),coloree00ee;
stickline(1,var9,100,1,0),colordd00;
stickline(var1b,0,80,5,0),linethick3,colorff;
drawtext((cross(var1b,0.5) and (count((var1b = 1),10) = 1)),20,'底部出击'),colorffffff;
drawtext((cross(var2,0.5) and (count((var2 = 1),10) = 1)),80,'血战'),colorffffff;
稳操胜券--底部买卖
开:((sma(max((open - ref(open,1)),0),6,1) / sma(abs((open - ref(open,1))),6,1)) * 100),linethick0;
高:((sma(max((high - ref(high,1)),0),6,1) / sma(abs((high - ref(high,1))),6,1)) * 100),linethick0;
低:((sma(max((low - ref(low,1)),0),6,1) / sma(abs((low - ref(low,1))),6,1)) * 100),linethick0;
收:((sma(max((close - ref(close,1)),0),6,1) / sma(abs((close - ref(close,1))),6,1)) * 100),linethick0;
stickline((收 > 开),高,低,0,0),colorff;
stickline((收 > 开),收,开,7,1),colorff;
stickline((收 < 开),高,低,0,0),colorff00;
stickline((收 < 开),收,开,7,0),colorff00;
50,pointdot;
drawtext((((abs((max(高,低) - 开)) < 14) and ((开 - 收) > 17)) and (ref(收,1) > 60)),80,'★光头开阴'),colorff00;
drawtext(filter((((((min(高,低) < 20) and (min(ref(高,1),ref(低,1)) < 20)) and (min(ref(高,2),ref(低,2)) < 20)) and (收 > ref(收,1))) and (close > ma(close,120))),5),50,'★买'),colorff;
drawtext(filter((((min(高,低) < 20) and (收 > ref(收,1))) and (close > ma(close,120))),5),低,'★买'),colorff00ff;
drawtext(((收 - 低) > 25),(低 - 5),'★火箭发射'),colorff;
drawtext(((((max(高,低) > 89) and (收 < 90)) and (ref(收,1) > 90)) and (ref(收,2) > 90)),10,'★逃顶'),colorff00;
drawtext(((((max(高,低) > 79) and (收 < 80)) and (ref(收,1) > 80)) and (ref(收,2) > 80)),10,'★透顶'),colorffff00;
drawtext(((((收 < 90) and (开 > 90)) and (ref(收,1) > 90)) and (ref(收,2) > 90)),30,'★天顶'),colorff00;
drawtext((((收 < 90) and (开 > 90)) and (ref(收,1) > ref(收,3))),(高 + 5),'★瀑布'),colorffff00;
drawtext((((((min(高,低) - abs((收 - 开))) / abs((高 - 低))) > 0.667) and (收 < 80)) and (ref(收,1) > 80)),100,'★逃'),colorffff00;
vars1:=ref(close,1);
vars2:=sum(if((close > ref(close,1)),vol,if((close < ref(close,1)),(0 - vol),0)),0);
vars3:=ref(vars2,1);
vars4:=((sma(max((close - vars1),0),7,1) / sma(abs((close - vars1)),7,1)) * 100);
vars5:=((sma(max((close - vars1),0),13,1) / sma(abs((close - vars1)),13,1)) * 100);
vars6:=((sma(max((vars2 - vars3),0),26,1) / sma(abs((vars2 - vars3)),26,1)) * 100);
vars7:=(date < 1081231);
底部:if(((((vars4 < 15) and (vars5 < 20)) and (vars6 < 50)) and (barscount(close) > 25)),(0 - 100),0),stick;
顶部:if(((((vars4 > 85) and (vars5 > 80)) and (vars6 > 50)) and (barscount(close) > 25)),100,0),stick,linethick2;
drawtext(filter((底部 = (0 - 100)),5),20,'底'),pointdot,linethick2,colorffffff;
drawtext(filter((顶部 = 100),5),80,'顶'),pointdot,linethick2,colorffffff;
varm1:=((ref(high,1) + ref(low,1)) / 2);
varm2:=(ma(close,20) + (2 * std(close,20)));
varm3:=ref(close,1);
varm4:=((sma(max((close - varm3),0),7,1) / sma(abs((close - varm3)),7,1)) * 100);
varm5:=cross(79,varm4);
varm6:=filter(varm5,4);
卖出:=if(cross(varm1,varm2),1,0);
stickline((卖出 = 1),90,100,10,1),linethick3,colorff0000;
mcb:=if(varm6,1,0);
stickline((mcb = 1),90,100,10,1),linethick3,colorffffff;
稳操胜券--搏杀生命
amv0:=((vol * (open + close)) / 2);
bs:(sum(amv0,88) / sum(vol,88)),linethick2,colorff00ff;
stickline((close >= open),open,close,5,1),colorff;
stickline((open > close),close,open,5,0),colorff00;
stickline((close >= open),close,high,0.5,1),colorff;
stickline((close >= open),open,low,0.5,1),colorff;
stickline((open > close),close,low,0.5,0),colorff00;
stickline((open > close),open,high,0.5,0),colorff00;
稳操胜券--底部支撑
var4:=(((low + high) + close) / 3);
操作:ma(var4,5),linethick2,colorffffff;
拉升:hhv(操作,13),linethick1,colorff;
压力:hhv(操作,60),colorff;
买卖:llv(操作,13),linethick1,colorff00;
底部支撑:(llv(low,60) * 1.02),colorccff;
顶部:(hhv(high,60) * 0.98),colorffffcc;
stickline((操作 > ref(操作,1)),操作,(操作 + 0.018),5,0),linethick4,colorffff;
stickline((拉升 > ref(拉升,1)),拉升,(拉升 + 0.018),5,0),linethick2,colorffff;
stickline((拉升 = ref(拉升,1)),拉升,拉升,1,1),colorff;
stickline((买卖 = ref(买卖,1)),买卖,买卖,1,1),colorff;
stickline((买卖 > ref(买卖,1)),买卖,(买卖 + 0.028),4,1),linethick2,colorf00ff0;
stickline((顶部 = ref(顶部,1)),顶部,顶部,7,1),colorff;
stickline((压力 = ref(压力,1)),压力,压力,7,1),colorff;
stickline((底部支撑 = ref(底部支撑,1)),底部支撑,底部支撑,1,1),colorff;
稳操胜券--辅助指标
var1:=(((close - llv(low,100)) / (hhv(high,100) - llv(low,100))) * 200);
var2:=sma(var1,3,1);
var3:=sma(var2,3,1);
var4:=((3 * var2) - (2 * var3));
var5:=llv(low,5);
var6:=hhv(high,5);
var7:=(ema((((close - var5) / (var6 - var5)) * 100),4) * 2);
var8:=ema(((0.667 * ref(var7,1)) + (0.333 * var7)),2);
var9:=((3 * var7) - (2 * var8));
vara:=(pow(ma(close,5),2) + ma(close,5));
varb:=(pow(ma(low,5),2) + ma(low,5));
varc:=(pow(ma(high,5),2) + ma(high,5));
vard:=(((((vara - llv(varb,64)) / (hhv(varc,64) - llv(varb,64))) * 150) + 65) - 10);
vare:=((sma(vard,3,1) * 1.5) - 100);
varf:=sma(vare,3,1);
var10:=((3 * vare) - (2 * varf));
var11:=(((high + low) + (close * 2)) / 4);
var12:=ema(var11,13);
var13:=std(var11,13);
var14:=(((var11 - var12) * 100) / var13);
var15:=ema(var14,5);
var16:=ema(var15,13);
var17:=((ema(var15,13) + 200) - 100);
var18:=ema(var17,10);
var19:=((3 * var17) - (2 * var18));
var1a:=(((var2 + var7) + vare) + var17);
var1b:=(((var3 + var8) + varf) + var18);
var1c:=(((var4 + var9) + var10) + var19);
var1d:=(((high + low) + close) / 3);
var1e:=((amount / vol) / 100);
var1f:=((sum(amount,5) / sum(vol,5)) / 100);
var20:=((var1d - ma(var1d,34)) / (0.015 * avedev(var1d,34)));
var21:=dma(((amount / vol) / 100),(vol / capital));
var22:=((((high + low) + close) + var1d) / 4);
var23:=ema(var22,24);
var24:=std(var22,24);
var25:=(((var22 - var23) / var24) * 100);
var26:=((var1d - ma(var1d,24)) / (0.015 * avedev(var1d,24)));
var27:=ema(var25,5);
var28:=((var1e - ma(var1e,21)) / (0.015 * avedev(var1e,21)));
var29:=((var1f - ma(var1f,90)) / (0.015 * avedev(var1f,90)));
var2a:=(((((((var29 + var28) + var27) + var26) + var20) / 5) + 165) / 4);
var2b:=(((((var1a + var1b) + (var1c * 30)) / 32) / 5) - 15);
var2c:=(((var2a + var2b) / 2) / 1.1);
短线:var2c,colorff;
mid:ma(短线,26),colorffffff;
upper:(mid + (2 * std(短线,26)));
lower:(mid - (2 * std(短线,26))),colorf00ff0;
if((短线 > mid),mid,短线),colorff00;
买点:drawicon(cross(短线,mid),(mid * 0.97),10);
drawicon(cross(短线,lower),(lower * 0.97),4);
卖点:drawicon(cross(upper,短线),(upper * 0.97),12);
mid,colorff0000;
稳操胜券--均线系统
快速上涨1:ma(close,888),colorff;
密切关注:ma(close,99),colorffff;
牛股开始1:ma(close,318),colorff00;
大453:ma(close,453),color1;
上升突破:ma(close,610),color99ff;
稳操胜券------买入
趋势:(((close - llv(low,55)) / (hhv(high,55) - llv(low,55))) * 100),colorff00;
var1:=forcast(close,30);
主力:(winner(var1) * 100),colorffff;
启:(cross(趋势,主力) and (ref(趋势,1) < 30)),pointdot,colorff00;
sz1:=(cross(趋势,30) and (趋势 > 主力));
sz2:=(cross(趋势,50) and (count((趋势 > ref(趋势,1)),2) = 2));
涨:(sz1 or sz2),pointdot,colorff;
强:cross(趋势,70),pointdot,colorffff;
回:(cross(70,趋势) and (趋势 > 50)),pointdot,colorffffff;
险:(趋势 > 95),pointdot,colorff;
stickline((close > 0),95,95,4,0),colorff;
stickline((close > 0),30,30,4,0),colorffffff;
stickline(启,0,10,4,0),colorff00;
drawtext(启,20,'启'),colorff00;
stickline(涨,0,30,4,0),colorffff;
drawtext(涨,20,'涨'),colorff;
stickline(强,70,90,4,0),colorff00ff;
drawtext(强,85,'强'),colorff00;
stickline(回,70,50,4,0),colorffffff;
drawtext(回,65,'回'),colorff00;
stickline((趋势 >= 70),90,95,4,1),colorffff;
stickline((趋势 >= 95),95,100,4,1),colorff;
stickline((趋势 <= 10),0,10,4,1),colorff6600;
稳操胜券----买提示
ma5:ema(close,5),colorffffff;
工作线:ema(close,14),linethick1,colorf00ff0;
二号线:ema(close,25),linethick1,colorff00;
九号线:ema(close,99),linethick1;
ma120:ema(close,120),linethick1;
生命线:ema(close,453),linethick1,colorff;
diff:=(ema(close,7) - ema(close,19));
dea:=ema(diff,9);
macd:=(0.9 * (diff - dea));
tj:=(diff >= dea);
tj1:=(diff >= 0);
stickline(tj,high,low,0.5,0),colorffff;
stickline(tj,open,close,4,0),colorffff;
stickline((tj1 and tj),high,low,0.5,0),colorf00ff0;
stickline((tj1 and tj),open,close,4,1),colorf00ff0;
stickline((diff < dea),high,low,0.5,0),colorf0f000;
stickline((diff < dea),open,close,4,0),colorf0f000;
var1:=((((close * 2) + high) + low) / 4);
sk:=(ema(var1,13) - ema(var1,73));
sd:=ema(sk,2);
drawtext(((((cross(sk,sd) and (sk < (0 - 0.04))) and (((close - ref(close,1)) / ref(close,1)) >= 0.03)) or (cross(sk,sd) and (sk <= (0 - 0.14)))) or ((cross(sk,sd) and (sk <= 0.05)) and (((vol / ma(vol,5)) > 2) or ((close / ref(close,1)) > 0.035)))),(low * 0.99),'短线'),colorff;
stickline(((((cross(sk,sd) and (sk < (0 - 0.04))) and (((close - ref(close,1)) / ref(close,1)) >= 0.03)) or (cross(sk,sd) and (sk <= (0 - 0.14)))) or ((cross(sk,sd) and (sk <= 0.05)) and (((vol / ma(vol,5)) > 2) or ((close / ref(close,1)) > 0.035)))),high,low,0.5,0),colorff;
stickline(((((cross(sk,sd) and (sk < (0 - 0.04))) and (((close - ref(close,1)) / ref(close,1)) >= 0.03)) or (cross(sk,sd) and (sk <= (0 - 0.14)))) or ((cross(sk,sd) and (sk <= 0.05)) and (((vol / ma(vol,5)) > 2) or ((close / ref(close,1)) > 0.035)))),open,close,10,1),linethick3,colorff;
稳操胜券--买主升浪
var3:=llv(high,240);
var4:=((100 * (close - var3)) / var3);
var5:=ref(llv(close,480),1);
var6:=ref(hhv(close,480),1);
var7:=((100 * (close - var5)) / (var6 - var5));
var8:=(((close - llv(close,981)) / (hhv(close,981) - llv(close,981))) * 100);
var9:=(((close - llv(close,393)) / (hhv(close,393) - llv(close,393))) * 100);
vara:=(((close - llv(low,981)) / (hhv(high,981) - llv(low,981))) * 100);
varb:=(((close - llv(low,393)) / (hhv(high,393) - llv(low,393))) * 100);
varc:=(ema(((100 * (close - llv(low,100))) / (hhv(high,100) - llv(low,100))),5) / 4);
vard:=if((date < 1031231),if((varc > 23.16),varc,0),0);
vare:=(varc < 1);
varf:=vard;
var10:=((var4 < 0) and (var7 < 0));
var11:=1;
var12:=((((high + low) + (close * 2)) / 4) * var11);
var13:=ema(var12,21);
var14:=std(var12,21);
var15:=((((((var12 - var13) / var14) * 100) + 200) / 4) * var11);
var16:=(((ema(var15,89) - 25) * 1.56) * var11);
var17:=((ema(var16,5) * 1.22) * var11);
var18:=(ema(var17,3) * var11);
var19:=((3 * var17) - ((2 * var18) * var11));
var1a:=if(((cross(var19,var17) and cross(var19,var18)) and cross(var17,var18)),1,0);
var1b:=if(((cross(var17,var19) and cross(var18,var19)) and cross(var18,var17)),1,0);
买点:if((filter(((((var8 = 0) and vare) and var10) and var1a),5) = 1),10,0),colorff;
卖点:if((filter((((var8 = 100) and varf) and var1b),5) = 1),10,0),colorff00;
var1c:=(ema(((100 * (close - llv(low,100))) / (hhv(high,100) - llv(low,100))),13) / 4);
var1d:=(ema(close,2) - ema(close,89));
var1e:=ema(var1d,30);
var1f:=((2 * (var1d - var1e)) * 10);
var20:=((pow(var1f,3) * 0.1) + pow(var1f,2));
var21:=sqrt(sqrt((((low * high) * open) * close)));
var22:=ema((var21 * 0.97),3);
var23:=(((high + low) + close) / 3);
var24:=((var23 - ma(var23,14)) / (0.015 * avedev(var23,14)));
var25:=(if(((year < 2008) and (var1f > 0.015)),var20,0) / 45);
庄拉线:var25,colorffff;
var26:=(ema(close,2) - ema(close,150));
var27:=ema(var26,100);
var28:=(2 * (var26 - var27));
var29:=((pow(var28,3) * 0.1) + pow(var28,1));
var2a:=sqrt(sqrt((((low * high) * open) * close)));
var2b:=ema((var2a * 0.97),3);
var2c:=(((high + low) + close) / 3);
var2d:=((var2c - ma(var2c,14)) / (0.015 * avedev(var2c,14)));
黑马线:(if((var28 > 0.1),var29,0) * 5),colorff;
量价线:(((close - ma(close,21)) / ma(close,21)) * 100),colorffffff;
var2e:=if((filter(((量价线 > 0) and (量价线 < 3)),5) = 1),12,0);
涨幅前兆:if((filter(((((庄拉线 > 0) and (庄拉线 < 0.5)) and var2e) and (var1c < 3)),10) = 1),10,0),colorffffff;
选股利器:if((filter((((((((var2e > 0) and (var1c < 2)) and (庄拉线 > 0)) and (庄拉线 < 1)) and (黑马线 > 0)) and (黑马线 < 1.5)) and (var2e > 0)),5) = 1),10,0),colorff00ff;
drawicon((买点 > 0),10,1);
drawicon((卖点 > 0),10,2);
drawicon((涨幅前兆 > 0),10,1);
drawicon((选股利器 > 0),10,1);
量价先行:(10 * cross(量价线,0)),colorff00;
drawicon((量价先行 > 0),10,11);
拉升开始:(15 * (((((((庄拉线 > 0.1) and (count((庄拉线 > 0.1),2) = 1)) and (close >= open)) and (vol > ref(vol,1))) and ((vol / capital) > 0.003)) and (量价线 > 1)) and (量价线 > 黑马线))),linethick2,colorffff;
drawicon((拉升开始 > 0),15,10);
量价主升浪:(20 * filter((cross(量价线,黑马线) and (庄拉线 > 0.5)),7)),linethick3,colorff00;
drawicon((量价主升浪 > 0),20,8);
庄拉主升浪:(30 * ((cross(庄拉线,黑马线) and (黑马线 > 0)) and (量价线 > 0))),linethick3,colorff;
drawicon((庄拉主升浪 > 0),30,8);
稳操胜券------逃顶
input:n(34,1,500),m(3,1,500);
大盘生命指数:(ema(((100 * (close - llv(low,n))) / (hhv(high,n) - llv(low,n))),m) / 4);
大盘生命量能:if((大盘生命指数 > 23.16),大盘生命指数,15),circledot;
强势:23;
生命线:3;
稳操胜券新股追踪器
var1:=hhv(high,3);
var2:=((if((winner((1.1 * close)) < 0),0,winner((1.1 * close))) - if((winner((0.9 * close)) < 0),0,winner((0.9 * close)))) * 100);
var3:=if((var1 < 0),0,var1);
var4:=if((var2 < 0),0,var2);
震仓:(pwinner(10,var4) * 100),crossdot,linethick1,colorffffff;
v1:=llv(low,10);
v2:=hhv(high,25);
价位线:=ema((((close - v1) / (v2 - v1)) * 4),4);
买入:stickline(cross(价位线,0.3),50,5,2,0),linethick1,colorccff;
stickline(cross(价位线,0.3),30,5,2,0),linethick1,colorff;
卖出:stickline(cross(3.5,价位线),60,100,2,0),linethick2,colorff;
stickline(cross(3.5,价位线),80,100,2,0),linethick2,colorff9900;
drawtext(cross(价位线,0.3),55,'买'),colorf00ff0;
drawtext(cross(3.5,价位线),55,'卖'),colorff00;
var2q:=ref(low,1);
var3q:=((sma(abs((low - var2q)),3,1) / sma(max((low - var2q),0),3,1)) * 100);
var4q:=ema(if((close * 1.3),(var3q * 10),(var3q / 10)),3);
var5q:=llv(low,30);
var6q:=hhv(var4q,30);
var7q:=if(ma(close,58),1,0);
var8q:=((ema(if((low <= var5q),((var4q + (var6q * 2)) / 2),0),3) / 618) * var7q);
var9q:=if((var8q > 100),100,var8q);
吸筹:stickline((var9q > (0 - 120)),0,var9q,6,1),colorffff;
aa3:=((((hhv(high,21) - close) / (hhv(high,21) - llv(low,21))) * 100) - 10);
aa4:=(((close - llv(low,21)) / (hhv(high,21) - llv(low,21))) * 100);
aa5:=sma(aa4,13,8);
走势:=ceiling(sma(aa5,13,8));
aa6:=sma(aa3,21,8);
卖临界:stickline(((走势 - aa6) > 85),98,90,15,1),colorffff00;
稳操胜券----涨停王
量:=ref(close,ref(hhvbars(vol,21),0));
m1:=ma(close,1);
a:=(((vol > (1 * ref(vol,1))) and ((((close / ref(close,1)) - 1) * 100) > 9.5)) and (m1 >= 量));
drawicon(cross(a,1),(low * 0.98),3),colorffffff;
drawtext(a,(low * 0.93),'涨停王'),linethick1,colorffff;
稳操胜券--主力进场
var2:=ref(low,1);
var3:=((sma(abs((low - var2)),13,1) / sma(max((low - var2),0),13,1)) * 100);
var4:=ema(if((close * 1.2),(var3 * 13),(var3 / 13)),13);
var5:=llv(low,34);
var6:=hhv(var4,34);
var7:=if(llv(low,56),1,0);
var8:=((ema(if((low <= var5),((var4 + (var6 * 2)) / 2),0),3) / 618) * var7);
var9:=ema(close,5);
var10:=(((close - ma(close,34)) / ma(close,34)) * (0 - 10));
stickline((var9 > ref(var9,1)),0,(var9 * 0.08),4,1),color10e410;
减仓:if((var9 > ref(var9,1)),var9,0),linethick0,color10e410;
stickline((var9 < ref(var9,1)),0,(var9 * 0.08),4,1),color1010ff;
增仓:if((var9 < ref(var9,1)),var9,0),linethick0,color1010ff;
stickline((var8 > ref(var8,1)),0,var8,4,1),color10ffff;
主力进场:if((var8 > ref(var8,1)),(var8 * 8),0),linethick0,color10ffff;
stickline((var8 < ref(var8,1)),0,var8,4,1),colorfff810;
洗缓:if((var8 < ref(var8,1)),(var8 * 10),0),linethick0,colorfff810;
主力持仓:(low * 5),linethick0,colorff10ff;
增减力度:var10,colorff7676;
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,(var8 * 3),4,0),color6eff;
drawtext(xl3,(var8 * 2),'买'),color6eff;
↑买:drawicon(xl3,0,4),colorff;
主力进场选股
input:ma1(148,1,500);
tj1:=ma(close,148);
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)));
(xl3 and (close > tj1));
稳操胜券------追涨
rsv:=(((hhv(high,13) - close) / (hhv(high,13) - llv(low,13))) * 100);
lwr1:=sma(rsv,3,1);
lwr2:=sma(lwr1,5,1);
stickline((lwr1 >= lwr2),high,low,0.05,0),colorffddc0;
stickline((lwr1 >= lwr2),open,close,5,0),colorffddc0;
stickline((lwr1 < lwr2),high,low,0.05,0),colorff;
stickline((lwr1 < lwr2),open,close,5,1),colorff;
var3aa:=if((close > ref(close,1)),88,0);
var4aa:=if(((((close / ref(close,1)) > 1.05) and ((high / close) < 1.01)) and (var3aa > 0)),91,0);
drawtext(filter((var4aa > 90),34),(low * 0.95),'买'),colorffff;
drawtext(filter((var4aa > 90),34),(low * 0.99),'▲'),colorffff;
ema30:ema(close,30),colorffff;
ema60:ema(close,60),color4080ff;
ema90:ema(close,90),colorc08000;
ema120:ema(close,120),color8080;
ss:=((((((cross(ema30,ema60) and (close > open)) and (close > ref(close,1))) and ((close / ref(close,1)) >= 1.018)) or (((cross(ema30,ema120) and (close > open)) and (close > ref(close,1))) and ((close / ref(close,1)) >= 1.018))) or (((cross(ema60,ema90) and (close > open)) and (close > ref(close,1))) and ((close / ref(close,1)) >= 1.018))) or (((cross(ema30,ema90) and (close > open)) and (close > ref(close,1))) and ((close / ref(close,1)) >= 1.018)));
drawicon(ss,(low - 0.04),1);
fa:=(barslast(cross(ma(close,60),ma(close,20))) and cross(ma(close,20),ma(close,60)));
stickline(fa,ma(close,20),(ma(close,20) - 0.09),4,0),colorffffff;
drawtext(fa,(ma(close,20) - 0.13),'握↑手'),colorffffff;
tt1:=((cross(ma(close,20),ma(close,120)) and cross(ma(close,20),ma(close,250))) and (vol > ref(vol,1)));
tt2:=(((ma(close,20) > ref(ma(close,20),2)) and (vol > ref(vol,1))) and cross(close,ma(close,20)));
drawtext(tt1,(low - 0.13),'金叉'),colorffff;
stickline(tt2,low,(low - 0.09),4,0),colorffff;
drawtext(tt2,(low - 0.13),'买'),colorffff;
stickline(((((ma(close,120) >= ref(ma(close,120),1)) and cross(close,ma(close,20))) and cross(close,ma(close,120))) and (vol > ref(vol,1))),low,(low - 0.09),4,0),colorff00ff;
drawtext(((((ma(close,120) >= ref(ma(close,120),1)) and cross(close,ma(close,20))) and cross(close,ma(close,120))) and (vol > ref(vol,1))),(low - 0.13),'买'),colorff00ff;
稳操胜券--庄家显身
var2:=ref(low,1);
var3:=((sma(abs((low - var2)),3,1) / sma(max((low - var2),0),3,1)) * 100);
var4:=ema(if((close * 1.2),(var3 * 10),(var3 / 10)),3);
var5:=llv(low,38);
var6:=hhv(var4,38);
var7:=if(llv(low,90),1,0);
var8:=((ema(if((low <= var5),((var4 + (var6 * 2)) / 2),0),3) / 618) * var7);
有庄的影子:stickline(var8,0,var8,6,1),colorffaaff;
趋势线:(((close - ma(close,40)) / ma(close,40)) * 100),coloraabbdd;
aa:=(((((ref(趋势线,1) < ref(趋势线,2)) and (趋势线 < (0 - 30))) and (趋势线 >= ref(趋势线,1))) or (ref(cross((0 - 30),趋势线),1) and cross(趋势线,(0 - 30)))) or (趋势线 = (0 - 30)));
drawtext(aa,500,'砸锅卖田买'),colorffff;
砸锅卖田买:if(aa,500,(0 - 30)),colorffff;
bb:=(((((ref(趋势线,1) < ref(趋势线,2)) and (趋势线 < (0 - 20))) and (趋势线 > (0 - 25))) and (趋势线 >= ref(趋势线,1))) or (ref(cross((0 - 20),趋势线),1) and cross(趋势线,(0 - 20))));
drawtext(bb,300,'见底信号'),colorff;
见底信号:if(bb,300,(0 - 20)),colorff;
cc:=(((((ref(趋势线,1) < ref(趋势线,2)) and (趋势线 < (0 - 25))) and (趋势线 > (0 - 30))) and (趋势线 >= ref(趋势线,1))) or (ref(cross((0 - 25),趋势线),1) and cross(趋势线,(0 - 25))));
drawtext(cc,400,'莫错失机会'),colorff00;
莫错失机会:if(cc,400,(0 - 25)),colorff00;
底部快显:if(cross((0 - 20),趋势线),100,(0 - 20)),linethick2,colorf0f000;
drawtext(cross((0 - 20),趋势线),120,'★'),colorf0f000;
机会来临:if(cross((0 - 25),趋势线),150,(0 - 25)),linethick2,colorf00ff0;
drawtext(cross((0 - 25),趋势线),170,'★'),colorf00ff0;
砸锅卖田等:if(cross((0 - 30),趋势线),200,(0 - 30)),linethick2,colorffffff;
drawtext(cross((0 - 30),趋势线),220,'★'),colorffffff;
(0 - 20),pointdot,colorff;
(0 - 25),pointdot,color1;
(0 - 30),pointdot,colorffff;
稳操胜券----高级版
{n:161 20 ; m: 3120;}
r:=sum(max(max((high - low),abs((high - ref(close,1)))),abs((low - ref(close,1)))),n);
hd:=(high - ref(high,1));
ld:=(ref(low,1) - low);
dmp:=sum(if(((hd > 0) and (hd > ld)),hd,0),n);
dmm:=sum(if(((ld > 0) and (ld > hd)),ld,0),n);
pdi:((dmp * 100) / tr);
mdi:((dmm * 100) / tr);
adx:ma(((abs((mdi - pdi)) / (mdi + pdi)) * 100),m);
adxr:((adx + ref(adx,m)) / 2);
预警:if(((adx > 90) and (pdi = 0)),30,0),linethick2,colorffff;
买:if((((cross(pdi,mdi) and ((close > (1.05 * ref(close,1))) or (ref(close,1) > (1.05 * ref(close,2))))) and ((vol > (2 * ref(vol,1))) or (ref(vol,1) > (2 * ref(vol,2))))) and (ma(vol,5) > ma(vol,60))),20,0),linethick2,colorff;
买2:if((cross(pdi,mdi) and (count(预警,10) >= 1)),10,0),linethick3,colorff00ff;
稳操胜券高级版选股
{n:161 20 ; m: 3120;}
r:=sum(max(max((high - low),abs((high - ref(close,1)))),abs((low - ref(close,1)))),n);
hd:=(high - ref(high,1));
ld:=(ref(low,1) - low);
dmp:=sum(if(((hd > 0) and (hd > ld)),hd,0),n);
dmm:=sum(if(((ld > 0) and (ld > hd)),ld,0),n);
pdi:=((dmp * 100) / tr);
mdi:=((dmm * 100) / tr);
adx:=ma(((abs((mdi - pdi)) / (mdi + pdi)) * 100),m);
adxr:=((adx + ref(adx,m)) / 2);
买:=if((((cross(pdi,mdi) and ((close > (1.05 * ref(close,1))) or (ref(close,1) > (1.05 * ref(close,2))))) and ((vol > (2 * ref(vol,1))) or (ref(vol,1) > (2 * ref(vol,2))))) and (ma(vol,5) > ma(vol,60))),20,0);
((((pdi > mdi) and (pdi > adx)) and (pdi > adxr)) and (买 > 1));
稳操胜券机构版a
{n:401100;m:31100;}
r:=sum(max(max((high - low),abs((high - ref(close,1)))),abs((low - ref(close,1)))),n);
hd:=(high - ref(high,1));
ld:=(ref(low,1) - low);
dmp:=sum(if(((hd > 0) and (hd > ld)),hd,0),n);
dmm:=sum(if(((ld > 0) and (ld > hd)),ld,0),n);
pdi:((dmp * 100) / tr);
mdi:((dmm * 100) / tr);
adx:ma(((abs((mdi - pdi)) / (mdi + pdi)) * 100),m);
adxr:((adx + ref(adx,m)) / 2);
预警:if(((adx > 90) and (pdi = 0)),30,0),linethick2,colorffff;
买:if((((cross(pdi,mdi) and ((close > (1.05 * ref(close,1))) or (ref(close,1) > (1.05 * ref(close,2))))) and ((vol > (2 * ref(vol,1))) or (ref(vol,1) > (2 * ref(vol,2))))) and (ma(vol,5) > ma(vol,60))),20,0),linethick2,colorff;
买2:if((cross(pdi,mdi) and (count(预警,10) >= 1)),10,0),linethick0,colorff00ff;
稳操胜券机构版a选股
{n:401200;m:31200;}
r:=sum(max(max((high - low),abs((high - ref(close,1)))),abs((low - ref(close,1)))),n);
hd:=(high - ref(high,1));
ld:=(ref(low,1) - low);
dmp:=sum(if(((hd > 0) and (hd > ld)),hd,0),n);
dmm:=sum(if(((ld > 0) and (ld > hd)),ld,0),n);
pdi:=((dmp * 100) / tr);
mdi:=((dmm * 100) / tr);
adx:=ma(((abs((mdi - pdi)) / (mdi + pdi)) * 100),m);
adxr:=((adx + ref(adx,m)) / 2);
买:=if((((cross(pdi,mdi) and ((close > (1.05 * ref(close,1))) or (ref(close,1) > (1.05 * ref(close,2))))) and ((vol > (2 * ref(vol,1))) or (ref(vol,1) > (2 * ref(vol,2))))) and (ma(vol,5) > ma(vol,60))),20,0);
稳操胜券---机构版b
{n:501100;m:51100;}
r:=sum(max(max((high - low),abs((high - ref(close,1)))),abs((low - ref(close,1)))),n);
hd:=(high - ref(high,1));
ld:=(ref(low,1) - low);
dmp:=sum(if(((hd > 0) and (hd > ld)),hd,0),n);
dmm:=sum(if(((ld > 0) and (ld > hd)),ld,0),n);
pdi:((dmp * 100) / tr);
mdi:((dmm * 100) / tr);
adx:ma(((abs((mdi - pdi)) / (mdi + pdi)) * 100),m);
adxr:((adx + ref(adx,m)) / 2);
预警:if(((adx > 90) and (pdi = 0)),30,0),linethick2,colorffff;
买:if((((cross(pdi,mdi) and ((close > (1.05 * ref(close,1))) or (ref(close,1) > (1.05 * ref(close,2))))) and ((vol > (2 * ref(vol,1))) or (ref(vol,1) > (2 * ref(vol,2))))) and (ma(vol,5) > ma(vol,60))),20,0),linethick2,colorff;
买2:if((cross(pdi,mdi) and (count(预警,10) >= 1)),10,0),linethick0,colorff00ff;
((((pdi > mdi) and (pdi > adx)) and (pdi > adxr)) and (买 > 1));
稳操胜券机构版b选股
{n:501200;m:51200;}
r:=sum(max(max((high - low),abs((high - ref(close,1)))),abs((low - ref(close,1)))),n);
hd:=(high - ref(high,1));
ld:=(ref(low,1) - low);
dmp:=sum(if(((hd > 0) and (hd > ld)),hd,0),n);
dmm:=sum(if(((ld > 0) and (ld > hd)),ld,0),n);
pdi:=((dmp * 100) / tr);
mdi:=((dmm * 100) / tr);
adx:=ma(((abs((mdi - pdi)) / (mdi + pdi)) * 100),m);
adxr:=((adx + ref(adx,m)) / 2);
买:=if((((cross(pdi,mdi) and ((close > (1.05 * ref(close,1))) or (ref(close,1) > (1.05 * ref(close,2))))) and ((vol > (2 * ref(vol,1))) or (ref(vol,1) > (2 * ref(vol,2))))) and (ma(vol,5) > ma(vol,60))),20,0);
((((pdi > mdi) and (pdi > adx)) and (pdi > adxr)) and (买 > 1));
上一指标公式:赚大波90%成功率公式 飞狐大波指标 源码
下一指标公式:短线雷达版通用公式 飞狐源码通用指标 源码
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文发稳操胜券系列组一套仅公式 飞狐公式源码指标 源码仅供学习研究。