结合其他指标,待底部信号确认后,通常不会再漂移,底部处进入可获利在20%以上。
n:=9;
m:=3;
p:=2;
an1:=3;
an2:=6;
an3:=12;
an4:=24;
an5:=25;
k:=34;
z:=3;
rav:=(close-llv(low,n));
rav1:=(hhv(high,n)-llv(low,n));
rav2:=rav/rav1;
rav3 := (high + low + close+ref(c,1)+o)/5;
rav4:=rav2*100;
rav5:=sma(rav4,m,1);
rav6:=sma(rav5,m,1);
rav7:=sum(if(rav3>ref(rav3,1),rav3*vol,0),n)/sum(if(rav3<ref(rav3,1),rav3*vol,0),n);
资金趋势:=100-(100/(1+rav7));
价格趋势:=(m*rav5-p*rav6)*1.1;
a1:=ema(close,7)-ema(close,21);
b1:=ema((0.668*ref(a1,1)+0.333*a1),1);
短多:=if(a1>=b1,a1,b1);
短空:=if(b1-a1,b1,a1);
庄:=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);
散:=ema(100*(indexc-llv(indexl,k))/(hhv(indexh,k)-llv(indexl,k)),z);
v11:=3*sma((c-llv(l,55))/(hhv(h,55)-llv(l,55))*100,5,1)-2*sma(sma((c-llv(l,55))/(hhv(h,55)-llv(l,55))*100,5,1),3,1);
趋势线:=ema(v11,3);
vuar10:=if(troughbars(3,16,1)=0 and high>low+0.04,4,0);
乾坤:=if(vuar10*20 and ((庄<15 and 散<15) or 趋势线<15),80,0);
漂前探:if(cross(价格趋势,资金趋势) and sum(乾坤,10)>50 and between(资金趋势,20,80),100,0),colormagenta;
drawtext(漂前探=100 and 庄>=ref(庄,1)*3,145,'超强'),colorgreen;
drawtext(漂前探=100 and 庄<ref(庄,1)*3 and 庄>ref(庄,1)*2,145,'强'),colorgreen;
动力: 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),13,1),color0000ff;
底:=0;
牛线:50,coloryellow;
vgar3:=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);
aa:=((ma(close,an1)+ma(close,an2)+ma(close,an3)+ma(close,an4))/4);
bb:=ma(close,an5),colorred,linethick2;
lpc := ref(close,1);
rsi:=sma(max(close-lpc,0),6,1)/sma(abs(close-lpc),6,1)*100,;
wr:=-100*(hhv(high,14)-close)/(hhv(high,14)-llv(low,14));
wr反向:=(0-wr)-100;
rsi买点:=rsi<20 and rsi>ref(rsi,1);
wr反向买点:=wr反向>-80 and wr反向<ref(wr反向,1);
t0:=barscount(c)>12;
t1:=c=llv(c,12);
t2:=rsi>llv(rsi,12);
t3:=rsi<21;
trsi:=t0 and t1 and t2 and t3 and c/hhv(c,120)<0.7;
rsi成w底:=if(ref(trsi,1) and c>ref(c,1),100,0);
梁股:=rsi买点 and wr反向买点;
关注:=if(rsi成w底 or 梁股,150,0),stick,linethick3,colorred;
stickline(关注=150,50,0,5,0),,colorred;
drawtext(filter(关注=150,10),70,'关注'),colorwhite;
p1:=ema((close-llv(low,55))/(hhv(high,55)-llv(low,55))*100,5);
p2:=(hhv(high,55)-llv(low,55))/ema((close-llv(low,55)),5);
p3:=cross(p2,p1);
p4:=ref(p2,2)<ref(p2,1) and p2<ref(p2,1);
p5:=count(p3,7)>0 and p4;
p6:=3*sma((close-llv(low,89))/(hhv(high,89)-llv(low,89))*100,5,1)-2*sma((close-llv(low,89))/(hhv(high,89)-llv(low,89))*100,5,1);
p7:= (close-llv(low,34))/(hhv(high,34)-llv(low,34))*100;
mw:= ema(p6,5);
nu:=(close-llv(low,34))/(hhv(high,34)-llv(low,34))*100;
nu0:=sma(nu,3,1);
nu00:=sma(nu0,3,1);
nu10:=3*nu0-2*nu00;
nu1:=ema(3*nu0-2*nu00,4);
nu2:=sma(nu1,5,1);
nw:=ma(3*sma(p7,6,1)-2*sma(sma(p7,5,1),5,1),2);
hw:=cross(nw,0) and mw<56;
dp:=if(p5 and count(p5,5)=1,1,0);
底弹辅:=if((hw and dp) or ((cross(if(p6<3 and nu2<5 and nw<4,1,0),0.5)) and llv(l,34)/hhv(h,144)<0.78),120,0),coloryellow;
drawtext(底弹辅=120,80,'底弹辅'),colorred;
typ:=(high+low+close)/3;
cci:=(typ-ma(typ,14))/(0.015*avedev(typ,14));
cii背离:=if(cross(-200,cci) and 趋势线<20 and 动力<-15,90,0),linethick1,colorgreen;
drawtext(cii背离=90,60,'←ci背离'),colorgreen;
多头线:=ema(c,1.5);
空头线:=ema(c,5);
均衡线:=ema(空头线,5);
vsarf1:=count(cross(多头线,均衡线),2)=1;
vsarf2:=count(cross(空头线,均衡线),2)=1;
抄s底:=filter(vsarf1 and vsarf2,2);
vsar2:=(100 - ((90 * (hhv(high,21) - close)) / (hhv(high,21) - llv(low,21))));
vsar3:=(100 - ma(((100 * (hhv(high,6) - close)) / (hhv(high,6) - llv(low,6))),34));
买s进:=cross(vsar2,ma(vsar3,6));
次仓:if(抄s底 and 买s进 and 庄>ref(庄,1) and 庄>散-10 and sum(乾坤,15)>0,150,0),stick,linethick3,colormagenta;
drawtext(次仓=150 and sum(乾坤,15)>0,110,'←追涨'),colormagenta;
mad1:=((ma(c,60)-l)/ma(c,20))*200-20;
三成仓:if(mad1>50,150,00),colorred,linethick2;
drawtext(filter(mad1>50,10),140,'←三成区'),colorred;
漂元库:if(乾坤=80,150,0),stick,linethick5,coloryellow;
fd1:=zig(3,15);
阴雨天:=if((fd1> ref(fd1,1)),0,20);
量:=if(cross(0.9,1/vol*1000>0.01 and "kdj.j"<0),1.5,0);
绝底:=if(l<=llv(l,100),-1,0);
初晴:=if(count(c/ref(c,1)<0.96,6)>=1 and last(c<o,2,1) and (ref(l,1)/ref(c,4)<0.85 or l/ref(c,3)<0.85) and c>o,1.2,0);
雨虹:if((阴雨天=0 and 量 and 初晴) or (阴雨天=0 and 量 and 绝底) or (阴雨天=0 and 绝底 and 初晴),50,0),coloryellow,linethick2;
stickline(雨虹,150,100,2,0),colorred;
stickline(雨虹,100,50,5,0),color00ff00;
a1:=amount/vol/1000;
b2:=(3*high+low+open+2*close)/7;
d3:=sum(amount,13)/a1/1000;
e4:=dma(b2,vol/d3);
抄底高手:=(close-e4)/e4*1000;
抄底:=if(cross(抄底高手,-166) and 散>ref(散,1) and 庄>散-20,50,0),linethick1,colorcyan;
drawtext(抄底=50,-5,'抄底'),colorcyan;
hlm1:=ma(hhv(h,485),17);
hlm2:=ma(hhv(h,222),17);
hlm3:=ma(hhv(h,96),17);
hlm4:=ma(llv(l,485),17);
hlm5:=ma(llv(l,222),17);
hlm6:=ma(llv(l,96),17);
hlm7:=ma((hlm1*0.558+hlm2*0.558+hlm3*0.558+hlm4*0.96+hlm5*0.96+hlm6*0.96)/6,17);
hlm8:=ma((hlm1*0.55+hlm2*0.55+hlm3*0.65+hlm4*1.25+hlm5*1.23+hlm6*1.2)/6,17);
hlm9:=ma((hlm1*0.68+hlm2*0.68+hlm3*0.68+hlm4*1.3+hlm5*1.3+hlm6*1.3)/6,17);
hlm10:=ma((hlm7*3+hlm8*2+hlm9)/6*1.738,17);
hlm11:=sma(abs(l-ref(l,1)),3,1)/sma(max(l-ref(l,1),0),3,1)*100;
hlm12:=ma(if(c*1.35<=hlm10,hlm11*10,hlm11/10),3);
hlmh:=hhv(hlm12,30);
预涨:=ma(if(l<=llv(l,13),(hlmh+hlm11*2)/2,0),3)/200;
漂铁卖:if(peakbars(3,15,1)=1,75,150),colorwhite,linethick1;
drawtext(漂铁卖=75,140,'★漂铁卖');
上一指标公式:自制KD指标公式详解 同花顺自制
下一指标公式:进出量MA指标公式详解 同花顺进出
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文源动术指标公式详解 同花顺源动术仅供学习研究。