{江上晴云:}
var2:=ema(c,5);
var3:=ema(c,10);
var4:=ema(c,20);
var5:=2*(var2-var4);
var6:=2*(var2-var3);
var7:2*(var6+var5);
stickline(cross(var7,0),0,10,1,0),colorred;
0;
{宝石买入:(可选股)}
bn:=20;
c2:=ma(c,2),linethick0;
ma10:=ma(c2,10),linethick0;
ma20:=ma(c2,bn),linethick0;
ma60:=ma(c2,60),linethick0;
boll:=ma20;
upper:=boll+1.618*std(c2,bn),colorgreen,linethick0;
lower:=boll-1.618*std(c2,bn),colorgreen,linethick0;
cross(c2,lower);
{十面埋伏:}
{主力潜伏}
n3:=14;
m:=156;
typ:=(high+low+close)/3;
diff:=ema(close,12)-ema(close,26);
dea1:=ema(diff,9);
macd1:=2*(diff-dea1);
主力潜伏中:=count(macd1<0,10)=10;
stickline(主力潜伏中,0,4,3,0),color00ccff;
drawtext(islastbar,6,'--主力潜伏'),color00ccff;
获利盘:winner(close)*100,color00ccff,linethick0.03;
{主力出逃}
资金:=ema(100*(close-llv(low,34))/(hhv(high,34)-llv(low,34)),3)/4;
外围游资:=(资金>23.16);
stickline((资金>23.16),0,4,4,0),colorgreen;
{drawtext(外围游资,2.5,'*'),color2828ff;}
drawtext(islastbar,2,'--主力出逃'),color00ff00;
{出手就赢}
var2h:=ref(low,1);
var3h:=sma(abs(low-var2h),3,1)/sma(max(low-var2h,0),3,1)*100;
var4h:=ema(if(close*1.3,var3h*10,var3h/10),3);
var5h:=llv(low,30);
var6h:=hhv(var4h,30);
var7h:=if(ma(close,58),1,0);
var8h:=ema(if(low<=var5h,(var4h+var6h*2)/2,0),3)/618*var7h;
var9h:=if(var8h>100,100,var8h);
stickline(var9h>-150,0,var9h,4,0.3),color888888;
底部吸筹指标:= (close-ma(close,40))/ma(close,40)*100;
drawicon(cross(底部吸筹指标,-24),30,26);
先知:= (close-ma(close,5))/ma(close,5)/10;
drawicon(先知,30,1);
{可能放量拉升:= if(cross(底部吸筹指标,-24),1,0);
短线获利:=stickline(ref("kdj.j",1)<0 and "kdj.j">0);}
vark1:=(close-llv(low,27))/(hhv(high,27)-llv(low,27))*100;
vark2:=reverse(vark1);
vark3:=sma(vark1,3,1);
{波段王:=sma(vark3,3,1);
波段鬼:=sma(波段王,2.5,1);}
趋势线:= 3*sma((close-llv(low,27))/(hhv(high,27)-llv(low,27))*100,5,1)-2*sma(sma((close-llv(low,27))/(hhv(high,27)-llv(low,27))*100,5,1),3,1), ,colorff6666,linethick2;
rsv9:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100;
k1:=sma(rsv9,3,1);dk1:=k1-ref(k1,1);
出手就赢:=(dk1>7 and ref(dk1,1)<0 and (dk1-ref(dk1,1))>9);
drawicon(出手就赢>0,30,1);
买点准备:=(趋势线<=10);
drawicon(ref("kdj.j",1)<0 and "kdj.j">0,30,25);
drawtext(islastbar,30,'--出手就赢');
{主力进场}
var1a:=ref((low+open+close+high)/4,1);
var2a:=sma(abs(low-var1a),13,1)/sma(max(low-var1a,0),10,1);
var3a:=ema(var2a,10);
var4a:=llv(low,33);
var5a:=ema(if(low<=var4a,var3a,0),3);
主力进场:=(var5a>ref(var5a,1));
drawicon(主力进场,40,1);
drawtext(islastbar,40,'--主力进场');
{抄底魔鬼}
底7:=(close-ma(close,58))/ma(close,58)<-0.225;
drawicon(底7,10,26);
var2t:=(close-llv(low,21))/(hhv(high,21)-llv(low,21))*100;
var3t:=sma(sma(var2t,3,1),3,1);
var4t:=sma(var3t,3,1);
var5t:=3*var3t-2*var4t;
var6t:=3*sma((close-llv(low,27))/(hhv(high,27)-llv(low,27))*100,5,1)-2*sma
(sma((close-llv(low,27))/(hhv(high,27)-llv(low,27))*100,5,1),3,1);
var7t:=10;
底3:=(cross(var6t,var7t));
drawicon(底3,10,1);
var8t:=(close-llv(low,60.135))/(hhv(high,60.135)-llv(low,60))*80;
var9t:=sma(var8t,7,1);
vara:=sma(var9t,5,1);
底4:=(cross(var9t,vara and var9t<20));
drawicon(cross(var9t,vara and var9t<20),10,1);
varb:=(close-llv(low,60))/(hhv(high,60)-llv(low,60))*100;
varc:=sma(varb,5,1); vard:=sma(varc,5,1);
底5:=(cross(varc,vard and varc<20));
drawicon(底5,10,1);
vare:=1/winner(close); varf:=(close-ma(close,13))/ma(close,13)*100;
var10t:=100-abs(varf); var11t:=if(vare>5,if(vare<100,vare,var10t-10),0);
var12t:=hhv(high,25); var13t:=llv(low,25);
var14t:=ema((close-var13t)/(var12t-var13t)*100,5);
底6:=(cross(var14t,var11t));
drawicon(底6,10,13);
drawtext(islastbar,10,'--抄底魔鬼');
{机会来临}
var2k:=ref(low,1);
var3k:=sma(abs(low-var2k),13,1)/sma(max(low-var2k,0),13,1)*100;
var4k:=ema(if(close*1.2,var3k*13,var3k/13),13);
var5k:=llv(low,34);
var6k:=hhv(var4k,34);
var7k:=if(llv(low,55),1,0);
var8k:=ema(if(low<=var5k,(var4k+var6k*2)/2,0),3)/618*var7k;
var9k:=ema(close,5);
var10k:=(close-ma(close,34))/ma(close,34)*(-10);
var11k:=ema(if(low<=var5k,(var4k+var6k*2)/2,0),3)/618*var7k*(-1);
var12k:=ema(close,5)*(-1);
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);
drawicon(xl3,20,1);
va:=(2*c+h+l)/4;
vb:=llv(l,5);
vc:=hhv(h,5);
红线上穿买:ema((va-vb)/(vc-vb)*27,5)*4,color0000d2;
红线下穿卖:ema(红线上穿买,3),colorff9900;
散户:= ema(((2*close+high+low)/4-llv(low,5))/(hhv(high,4)-llv(low,5))*100,4);
庄家:= ema(0.667*ref(散户,1)+0.333*散户,2);
drawicon(cross(散户,庄家) and 散户<30,80,1);
drawicon(cross(庄家,散户) and 散户>70,80,2);
极品底:=((ma(c,5)-c)/c>0.04 and (ma(c,10)-ma(c,5))/ma(c,5)>0.04);
drawicon(极品底,80,25);
rsv:=(((close - llv(low,9)) / (hhv(high,9) - llv(low,9))) * 100);
k:=sma(rsv,3,1);
d:=sma(k,3,1);
j:=3*k-2*d;
x:=llv(j,2)=llv(j,8);
drawicon(cross(j,ref(j+0.01,1)) and x and j<19,80,1);
qvar1a:=((hhv(high,21)-close)/(hhv(high,21)-llv(low,21)))*(100)-10;
qvar1b:=((close-llv(low,21))/(hhv(high,21)-llv(low,21)))*(100);
qvar1c:=sma(qvar1b,13,8);
qvar1d:=sma(qvar1a,21,8);
机会来临:=sma(qvar1c,13,8);
aas:=filter((count((机会来临-qvar1d<(-65)),3)=3),34);
drawicon(aas,80,1);
drawtext(islastbar,80,'--机会来临');
{最佳买入选股}
lc:=ref(close,1);
rsi5:=((sma(max((close - lc),0),5,1) / sma(abs((close - lc)),5,1)) * 100);
tr1:=sum(max(max((high - low),abs((high - ref(close,1)))),abs((low - ref(close,1)))),10);
hd:=(high - ref(high,1));
ld:=(ref(low,1) - low);
dmp:=sum(if(((hd > 0) and (hd > ld)),hd,0),10);
dmm:=sum(if(((ld > 0) and (ld > hd)),ld,0),10);
pdi:=((dmp * 100) / tr1);
mdi:=((dmm * 100) / tr1);
adx:=ma(((abs((mdi - pdi)) / (mdi + pdi)) * 100),5);
av:=(rsi5 + adx);
dxr:=(((adx + ref(adx,5)) / 2) + rsi5);
wr10:=((100 * (hhv(high,10) - close)) / (hhv(high,10) - llv(low,10)));
newvol:=(rsi5 - wr10);
最佳买入:=(av + newvol);
最佳买入选股:=(cross(最佳买入,0));
drawicon(最佳买入选股,50,1);
rsva:=(((close - llv(low,9)) / (hhv(high,9) - llv(low,9))) * 50);
ka:=sma(rsva,3,1);
da:=sma(ka,3,1);
ja:=3*ka-2*da;
xb:=llv(ja,2)=llv(ja,8);
最佳买入时机:= (cross(ja,3));
drawicon(最佳买入时机,50,25);
drawtext(islastbar,50,'--最佳买入');
{短线套利}
ma18:=ma(c,21);
加码价:=((c-ref(ma18,1))/18+ma18)*1.004;
短线套利:=(cross(c,加码价) and 加码价>ref(加码价,1));
drawicon(短线套利,20,1);
{短炒公式}
varo:=((close-ma(close,6))/ma(close,6)*100+(close-ma(close,24))/ma(close,24)*100+(close-ma(close,32))/ma(close,32)*100)/3;
drawicon(varo<-9 and varo> ref (varo,1),20,26);
{drawicon(短底,20,26);}
drawtext(islastbar,20,'--短线套利');
{不求人}
{var1l:=(ema(c,12)-ema(c,26))*100+50;
var2l:=ema(var1l,9);
var3l:=((hhv(h,21)-c)/(hhv(h,21)-llv(l,21)))*100-10;
var4l:=((c-llv(l,21))/(hhv(h,21)-llv(l,21)))*100;
var5l:=sma(var4l,13,8);
var6l:=sma(var3l,21,8);
var7l:=ma(c,80)-ma(c,10)/7;
var8l:=ema(c,5);
var9l:=ma((llv(c,9))*1.1,14);
var10l:=2*var9l-var8l-c*0.1;
var11l:=if(((var8l-var10l)*5>0),(pow((var8l-var10l)*5,2))/10,(-1*(pow((var8l-var10l)*(5),2)))/(10));
var12l:=if((var11l>0),var11l-0,12);
var13l:=sma(max(c-ref(c,2),0),7,1)/sma(abs(c-ref(c,2)),7,1)*100;
趋势:=ceiling(sma(var5,13,8)),linethick0.02;
看底:=(趋势-var6<-65);
顶峰:=(趋势-var6>85);
黄金区:=var13<8;}
{drawicon(黄金区,90,1);}
{stickline(var13<8,88,93,5,0.2),color51ffff;
操盘线:=ma(3*sma((c-llv(l,27))/(hhv(h,27)-llv(l,27))*100,5,1)-2*sma(sma((c-llv(l,27))/(hhv(h,27)-llv(l,27))*100,5,1),3,1),5),linethick2,colorblue;
drawicon(filter(趋势<ref(趋势,1)and 趋势>75 or cross(趋势,操盘线)
and 趋势<ref(趋势,1)and 操盘线>60,5),90,2);
drawicon(filter(cross(趋势,var12)and 趋势<ref(趋势,2)and c>ref(c,1)
or 趋势>ref(趋势,1)and 趋势<35 and c>ref(c,1),5),90,1);
drawtext(islastbar,90,'--不求人');}
{赌涨停}
ma5:=ma(c,5);
ma10t:=ma(c,10);
ma30:=ma(c,30);
zx:=(ma5+ma10t)/2;
qsxs:=ma5>=ma30 and ma30>ref(ma30,1);
gd:=zx>=ref(zx,1) and ref(zx,1)<ref(zx,2);
yb:=c>ref((o-c)/2+c,2);
买:=cross(c,zx) and (gd or yb) and qsxs;
赌涨停:=买 and ma5>ref(ma5,1);
drawicon(赌涨停,100,13);
{kdj买点}
rsvv:=(((close - llv(low,9)) / (hhv(high,9) - llv(low,9))) * 50);
k5:=sma(rsvv,3,1);
d5:=sma(k5,3,1);
j5:=3*k5-2*d5;
j1:=reverse(j5);
aa:=ref(ma(c,1),10)>ref(ma(c,60),10);
kdj买点:=cross(j5,j1) and aa,;
drawicon(kdj买点,100,1);
drawtext(islastbar,98,'--kdj买,赌停');
{收银台}
qvar2:=if((high+low<=ref(high,1)+ref(low,1)),0,max(abs(high-ref(high,1)),
abs(low-ref(low,1))));
qvar3:=if((high+low>=ref(high,1)+ref(low,1)),0,max(abs(high-ref(high,1)),
abs(low-ref(low,1))));
qvar4:=(sum(qvar2,13))/(sum(qvar2,13)+sum(qvar3,13));
qvar5:=(sum(qvar3,13))/(sum(qvar3,13)+sum(qvar2,13));
qvar9:=100-(3)*(sma(((close-llv(low,75))/(hhv(high,75)-llv(low,75)))*(100),20,1))+(2)*(sma(sma(((close-llv(low,75))/(hhv(high,75)-llv(low,75)))*(100),20,1),15,1));
qvara:=100-(3)*(sma(((open-llv(low,75))/(hhv(high,75)-llv(low,75)))*(100),20,1))+(2)*(sma(sma(((open-llv(low,75))/(hhv(high,75)-llv(low,75)))*(100),20,1),15,1));
qvarb:=(qvar9<ref(qvara,1)) and (vol>ref(vol,1)) and (close>ref(close,1));
{qvar1a:=((hhv(high,21)-close)/(hhv(high,21)-llv(low,21)))*(100)-10;
qvar1b:=((close-llv(low,21))/(hhv(high,21)-llv(low,21)))*(100);
qvar1c:=sma(qvar1b,13,8);
qvar1d:=sma(qvar1a,21,8);}
生意上门:=sma(qvar1c,13,8);
收银台:=(生意上门-qvar1d<-65);
drawicon(收银台,60,1);
aas1:=filter((count((生意上门-qvar1d<(-65)),3)=3),34);
收银:=aas1;
drawicon(收银,60,26);
qvar1e:=(close+open+high+low)/(4);
aaa:=qvarb and (count(qvarb,1)=1) and (生意上门<80);
var1z:=(((ema(close,5))/(ema(ema(close,9),16))<=0.85000002)
and ((close)/(ref(close,1))>0.90499997) and ((close)/(ref(close,1))<1.05)
and (((vol)/(capital))*(100)<5),50,0);
买卖顺意:=ma((((-100))*(hhv(high,34)-close))/(hhv(high,34)-llv(low,34))+100,5);
var3z:=(((-100))*(hhv(high,50)-close))/(hhv(high,50)-llv(low,50))+100;
var4z:=(((-100))*(hhv(high,70)-close))/(hhv(high,70)-llv(low,70))+100;
var5z:=(((close-ma(close,34))/(ma(close,34)))*(100)+10)*(5);
var6z:=(((close-ma(close,50))/(ma(close,50)))*(100)+10)*(5);
var7z:=(((close-ma(close,70))/(ma(close,70)))*(100)+10)*(5);
var8z:=(买卖顺意+var3z+var4z+var5z+var6z+var7z)/(6);
var21:=ma(close,80)-(ma(close,13))/(3);
var22:=ma((close-var21)/(var21),1);
var23:=(ema(var22,12))*(0.69999998);
var24:=ema(var22,3);
var25:=((llv(var24-var23,12)>0));
var26:=filter((count((var25<(-20)),3)=3),34);
顺意:=var26;
drawicon(顺意,60,1);
drawtext(islastbar,60,'--收银台');
{绝地反击}
var1p:=(close-llv(low,13))/(hhv(high,13)-llv(low,13))*100;
var2p:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100;
var3p:=(sma(var2p,3,1)-18)*1.55;
var4p:=sma(var3p,3,1);
var5p:=(close-llv(low,100))/(hhv(high,100)-llv(low,100))*100;
var6p:=sma(var5p,10,1);
var7p:=(ema(sma(var6p,8,1),34)-25)*2.6;
var8p:=pow(ma(close,5),2)+ma(close,5);
var9p:=pow(ma(low,5),2)+ma(low,5);
varap:=pow(ma(high,5),2)+ma(high,5);
varbp:=((var8p-llv(var9p,64))/(hhv(varap,64)-llv(var9p,64))*150+65-10)/2;
varcp:=sma(varbp,3,1)*1.5-46;
vardp:=sma(varcp,3,1);
varep:=3*varcp-2*vardp;
varfp:=(var1p+var2p+var5p)/3;
var10p:=((var3p+var3p+var6p+varcp)/4-15)*1.67;
var11p:=((var4p+var4p+var7p+vardp)/4-15)*1.67;
var12p:=((var1p+var5p*2+varfp+var10p+var11p+varbp+varcp+vardp+varep)/10-15)*1.67;
var13p:=(hhv(high,5)-close)/(hhv(high,5)-llv(low,5))*(-1)+0.9;
var14p:=(hhv(high,10)-close)/(hhv(high,10)-llv(low,10))*(-1)+0.92;
var15p:=(hhv(high,15)-close)/(hhv(high,15)-llv(low,15))*(-1)+0.93;
var16p:=(hhv(high,55)-close)/(hhv(high,55)-llv(low,55))*(-1)+0.94;
var17p:=(hhv(high,89)-close)/(hhv(high,89)-llv(low,89))*(-1)+0.95;
var18p:=(hhv(high,120)-close)/(hhv(high,120)-llv(low,120))*(-1)+0.91;
var19p:=(hhv(high,180)-close)/(hhv(high,180)-llv(low,180))*(-1)+0.96;
var1ap:=((var13p*8+var14p*8+var15p*8+var16p+var17p+var18p+var19p)/28-0.1)*185;
var1b:=sma(var1ap,3,1);
var1c:=(sma(var1b,8,1)-8)*1.18;
vara1:=(close-llv(low,60.13547854))/(hhv(high,60.13547854)-llv(low,60))*80;
varb1:=sma(vara1,7,1);
varc1:=sma(varb1,5,1);
英雄:=if(cross(varbp,varcp) and varbp<20,100,0);
var2n:=llv(low,3)<=llv(low,60);
var3n:=c>o and (c/o>1.03 or c>1.03*ref(c,1));
绝地反击:if(var2n and var3n,90,0)color00ff00;
准备反击:=var2n;
反击:=var2n and var3n;
drawicon(准备反击,90,1);
drawicon(反击,90,13);
drawicon(英雄,90,25);
drawtext(islastbar,90,'--绝地反击');
上一指标公式:主力买卖盘+外内盘差公式下载 通达信主力指标
下一指标公式:挖坑副图公式下载 通达信挖坑
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文新修订的{十面埋伏}已修正所有错误副图公式下载 通达信修正源码仅供学习研究。