牛金追涨
var1:=ema(close,17) - ema(close,34);
动力线:=sum(var1-ref(var1,1),5)*100;
动力1:=ema(动力线,5),colorred;
动力2:=ema(动力线,10),coloryellow;
动力3:=ema(动力线,17),colorblue;
动力:=if(动力线>0 and 动力线>ref(动力线,1),动力线,0);
动力线hx:=if(动力线>0 and 动力线<=ref(动力线,1),动力线,0);
动力线lx:=if(动力线<0 and 动力线<ref(动力线,1),动力线,0);
动力线ls:=if(动力线<0 and 动力线>ref(动力线,1),动力线,0);
drawband(动力3,rgb(60,10,0),动力2,rgb(60,10,0));
drawband(动力3,rgb(6,30,40),动力2,rgb(6,30,40));
drawband(动力1,rgb(255,0,255),动力2,rgb(0,255,0));
drawband(动力1,rgb(255,10,0),动力2,rgb(0,255,10));
{趋势}
n:=2;m:=3;
趋势线:=sma(ema(((c+l)/2-llv(l,21))/(hhv((h+c)/2,21)-llv(l,21))*100,3),7,1)-(13),linethick2,colorf0f000;
判断:=(sma(((c+l)/2-llv(l,21))/(hhv((h+c)/2,21)-llv(l,21))*100,2,1)-8);
强势:判断>趋势线,colorred,nodraw;
强1:stickline(强势,32,35,4,2),colorred;
强2:stickline(强势,-32,-35,4,2),colorred;
弱势:判断<趋势线,colorligreen,nodraw;
弱1:stickline(弱势,32,35,4,2),colorligreen;
弱2:stickline(弱势,-32,-35,4,2),colorligreen;
{底a}
var22:=ref(close,1);
var23:=sma(max(close-var22,0),7,1)/sma(abs(close-var22),7,1)*100;
var24:=sma(max(close-var22,0),13,1)/sma(abs(close-var22),13,1)*100;
var25:=barslast(var24<23)<=3 and cross(var23,var24);
var26:=(close-ma(close,23))/ma(close,20)*100<-12.5;
var27:=llv(low,5);
var28:=hhv(high,10);
var29:=ema((close-var27)/(var28-var27)*100,4);
var2a:=ema(0.667*ref(var29,1)+0.333*var29,2);
底a:0-(-1)*var25 and var26 and cross(var29,var2a) and var29<=25,colormagenta,nodraw;
stickline(底a>0,-24,-32,8,0),colormagenta;
{底b}
var2:=1;
var3:=ref(high,1)*1.1;
var4:=high*1.1;
var5:=(var4*vol+var3*(capital-vol))/capital;
var6:=ref(low,1)*0.9;
var7:=low*0.9;
var8:=(var7*vol+var6*(capital-vol))/capital;
var9:=ema(var8,30);
vara:=ema(var5,30);
varb:=vara-2;
varc:=if(close<=var9,varb,vara);
vard:=ma(close,80)-ma(close,10)/17;
底b:(varc-varb=0 and var2 and cross((ema(ema(ema(close,n),n),n)-ref(ema(ema(ema(close,n),n),n),1))/ref(ema(ema(ema(close,n),n),n),1)*100,ma((ema(ema(ema(close,n),n),n)-ref(ema(ema(ema(close,n),n),n),1))/ref(ema(ema(ema(close,n),n),n),1)*100,m))),colorred,nodraw;
底1:stickline(varc-varb=0 and var2 and cross((ema(ema(ema(close,n),n),n)-ref(ema(ema(ema(close,n),n),n),1))/ref(ema(ema(ema(close,n),n),n),1)*100,ma((ema(ema(ema(close,n),n),n)-ref(ema(ema(ema(close,n),n),n),1))/ref(ema(ema(ema(close,n),n),n),1)*100,m)),-24,-32,5,0),colorred;
{顶}
顶部:cross(83,rsi),colorgreen;
顶1:stickline(顶部,24,32,6,0),color00ff00;
{投资a}
aa:=(ma(c,1)+ma(c,3)+ma(c,5)+ma(c,7)+ma(c,9))/5;
bb:=(ma(c,2)+ma(c,4)+ma(c,6)+ma(c,8)+ma(c,10))/5;
cc:=ema(aa,2);
dd:=ema(bb,5);
tj0:=cross(cc,dd);
上:=ema(c,3);
中:=ema(c,5);
下:=ema(中,5);
tj1:=cross(上,中);
tj2:=上>ref(上,1);
x1:=(c+l+h)/3;
bb5:=atan(ema(x1,5)-ref(ema(x1,5),1))*3.1416*10;
ema3:=ema(c,3);
tj3:=bb5>1 and ema(x1,5)>ref(ema(x1,3),1);
投a:tj1 and tj2 and tj0 and tj3,color0099ee,nodraw;
stickline(tj1 and tj2 and tj0 and tj3,-24,-32,6,0),color0066bb;
stickline(tj1 and tj2 and tj0 and tj3,-24,-32,3,0),color0077cc;
stickline(tj1 and tj2 and tj0 and tj3,-24,-32,1,0),color0088dd;
{投b}
var11:=ema(hhv(high,500),21);
var12:=ema(hhv(high,250),21);
var13:=ema(hhv(high,90),21);
var14:=ema(llv(low,500),21);
var15:=ema(llv(low,250),21);
var16:=ema(llv(low,90),21);
var17:=ema((var14*0.96+var15*0.96+var16*0.96+var11*0.558+var12*0.558+var13*0.558)/6,21);
var18:=ema((var14*1.25+var15*1.23+var16*1.2+var11*0.55+var12*0.55+var13*0.65)/6,21);
var19:=ema((var14*1.3+var15*1.3+var16*1.3+var11*0.68+var12*0.68+var13*0.68)/6,21);
vara1:=ema((var17*3+var18*2+var19)/6*1.738,21);
varb1:=ref(low,1);
varc1:=sma(abs(low-varb1),3,1)/sma(max(low-varb1,0),3,1)*100;
vard1:=ema(if(close*1.35<=vara1,varc1*10,varc1/10),3);
vare1:=llv(low,30);
varf1:=hhv(vard1,30);
var20:=if(ma(close,58),1,0);
投资1:=ema(if(low<=vare1,(vard1+varf1*2)/2,0),3)/618*var20;
投b:(ref(投资1,2)<ref(投资1,1)and 投资1>ref(投资1,1))*投资1,color0033cc,nodraw;
投资2:stickline(投b,24,32,3,0),color0033cc;
{投资c}
低:=ref(llv(l,90),3);
低点:=refdate(低,date);
投c:低点=l and ((c-l)>(o-c) or (o-l)>(c-o)),coloryellow,nodraw;
stickline(投c,24,32,1.5,0),coloryellow;
{投机}
投机1:=100*(c-llv(l,5))/(hhv(c,5)-llv(l,5)),color0080ff,nodraw;
投机2:=100*(c-llv(l,30))/(hhv(c,30)-llv(l,30)),color0080ff,nodraw;
投机:cross(投机1,投机2),color0080ff,nodraw;
stickline(cross(投机1,投机2),24,32,0.5,1),color0080ff;
{持股}
b1:=(hhv(h,9)-c)/(hhv(h,9)-llv(low,9))*100- 70;
b2:=sma(b1,9,1)+100;
b3:=(c-llv(l,9))/(hhv(h,9)- llv(l,9))*100;
b4:=sma(b3,3,1);
b5:=sma(b4,3,1)+100;
b6:=b5-b2;
持股:if(b6>60,b6-60,0),colorlimagenta,nodraw;
持1:stickline(ref(持股,1)<持股,24,22,4,0),colorlimagenta;
持2:stickline(ref(持股,1)<持股,-24,-22,4,0),colorlimagenta;
{持币}
b8:=(hhv(h,9)-c)/(hhv(h,9)-llv(low,9))*100-70;
b9:=sma(b8,9,1)+100;
b10:=(c-llv(l,9))/(hhv(h,9)- llv(l,9))*100;
b11:=sma(b10,3,1);
b12:=sma(b11,3,1)+100;
b13:=b12-b9;
持币:if(b13<60,b13-60,0),colorlicyan,nodraw;
持3:stickline(ref(持币,1)>持币,24,22,4,0),colorlicyan;
持4:stickline(ref(持币,1)>持币,-24,-22,4,0),colorlicyan;
{追涨}
hhjsjda:=(3*close+open+low+high)/6;
hhjsjdb:=(20*hhjsjda+19*ref(hhjsjda,1)+18*ref(hhjsjda,2)+17*ref(hhjsjda,3)+16*ref(hhjsjda,4)+15*ref(hhjsjda,5)+14*ref(hhjsjda,6)
+13*ref(hhjsjda,7)+12*ref(hhjsjda,8)+11*ref(hhjsjda,9)+10*ref(hhjsjda,10)+9*ref(hhjsjda,11)+8*ref(hhjsjda,12)
+7*ref(hhjsjda,13)+6*ref(hhjsjda,14)+5*ref(hhjsjda,15)+4*ref(hhjsjda,16)+3*ref(hhjsjda,17)+2*ref(hhjsjda,18)+
ref(hhjsjda,20))/210;
hhjsjdc:=ma(hhjsjdb,5);
qq1:=ma(ma(close,3),3);
qq2:=ma(ma(close,15),9);
xysqs1:=(qq1-ref(qq1,1))/ref(qq1,1)*10;
xysqs2:=(qq2-ref(qq2,1))/ref(qq2,1)*10;
xyshsl:=ema(vol/capital*100,13);
stickline(xysqs2>=ref(xysqs2,1)and xyshsl>1,-4,4,3,0),coloryellow;
stickline(xysqs2>=ref(xysqs2,1)and xyshsl>1 and c>hhjsjdb and hhjsjdb>hhjsjdc,-2,2,3,0),colorblue;
追涨:if(xysqs2>=ref(xysqs2,1) and xyshsl>1,xysqs1*178,0),colormagenta,linethick2;
{底部}
typ := (high + low + close)/3;
cci:=(typ-ma(typ,14))/(0.015*avedev(typ,14));
a:=ref(c,1);
rsi:=sma(max(c-a,0),6,1)/sma(abs(c-a),6,1)*100;
a1:=(c/ma(c,5)-1)*100<-10;
a2:=(c/ma(c,13)-1)*100<-10;
a3:=(c/ma(c,34)-1)*100<-15;
a4:=rsi<18;
a5:=cci<-120;
a6:=count(abs(c/ref(c,1)-1)*100>=6,30)>=1;
底部:=a1 and a2 and a3 and a4 and a5 and a6;
stickline(底部,-24,-32,3,0),colorwhite;
上一指标公式:牛金抓短线副图指标附实测图下载 通达信贴图指标
下一指标公式:简单实用但是效果很不错的选股指标下载 通达信选股效果
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文牛金追涨副图指标附实测图下载 通达信指标追涨仅供学习研究。