好公式网用指标公式为投资注入科技力量!
您的位置:好公式网通达信公式牛牛的牛 通达信牛牛

牛牛的牛 通达信牛牛

  • 指标公式类型:通达信公式
  • 公式推荐星级:
  • 指标公式安全:已通过5款杀毒软件查杀,请放心下载!
  • 公式更新时间:2018-07-16 21:47:37
  • 指标公式标签:牛牛
  • 公式运行环境: WinXP/Win7/Win8/Win10/Win All
  • 指标公式语言:用简体中文编写

指标公式详细说明

好公式网(www.goodgongshi.com)告诉您:当前正要下载:牛牛的牛 通达信牛牛

{牛牛的牛公式}

pjj:=dma((h + l + c * 2) / 4,0.9);

jj:=ref(ema(pjj,3),1);

qjj:=vol / ((h - l) * 2 - abs(c - o));

xvl:=if(c > o,qjj * (h - l),if(c < o,qjj * (h - o + (c - l)),vol / 2))

+ if(c > o,0 - qjj * (h - c + (o - l)),if(c < o,0 - qjj * (h - l),0 - vol / 2));

hsl:=xvl / 20 / 1.15;

攻击流量:=hsl * 0.55 + ref(hsl,1) * 0.33 + ref(hsl,2) * 0.22;

gjj:=ema(攻击流量,2);

diff:=(ema(gjj,12)-ema(gjj,26)),colorgreen;

dea:=ma(diff,2),coloryellow;

va2:=llv(low,33);

va3:=hhv(high,21);

va4:=ema((close-va2)/(va3-va2)*100,10)*-1+100;

趋势:=100-ema(0.191*ref(va4,1)+0.809*va4,1);

趋势线:=100-ema(0.191*ref(va4,1)+0.809*va4,1);

stickline(diff>dea and 趋势线>ref(趋势线,1),

hhv(h,5)*1.05,llv(l,5)*0.95,4,0),color781836;

drawkline(h,o,l,c);

v1:=abs((2*close+high+low)/4-ma(close,20))/ma(close,20);

v2:=(1-7/100)*(dma(close,v1));

v3:=(1+7/100)*(dma(close,v1));

v5:=ma((low+high+close)/3,5);

支撑:refdate(v2,date),pointdot,linethick3,colorcc66ff;

阻力:refdate(v3,date),pointdot,linethick3,colorgreen;

var1:=close>ref(close,1) and close>ref(close,2);

var2:=ref(var1,1) and close<=ref(close,1) and close>=ref(close,2);

var3:=ref(var2,1) and close>=ref(close,1) and close<=ref(close,2);

var4:=ref(var3,1) and close<=ref(close,1) and close>=ref(close,2);

var5:=ref(var4,1) and close>=ref(close,1) and close<=ref(close,2);

var6:=ref(var5,1) and close<=ref(close,1) and close>=ref(close,2);

var7:=ref(var6,1) and close>=ref(close,1) and close<=ref(close,2);

var8:=ref(var7,1) and close<=ref(close,1) and close>=ref(close,2);

var9:=ref(var8,1) and close>=ref(close,1) and close<=ref(close,2);

vara:=ref(var9,1) and close<=ref(close,1) and close>=ref(close,2);

varb:=ref(vara,1) and close>=ref(close,1) and close<=ref(close,2);

varc:=ref(varb,1) and close<=ref(close,1) and close>=ref(close,2);

vard:=close<ref(close,1) and close<ref(close,2);

vare:=ref(vard,1) and close>=ref(close,1) and close<=ref(close,2);

varf:=ref(vare,1) and close<=ref(close,1) and close>=ref(close,2);

var10:=ref(varf,1) and close>=ref(close,1) and close<=ref(close,2);

var11:=ref(var10,1) and close<=ref(close,1) and close>=ref(close,2);

var12:=ref(var11,1) and close>=ref(close,1) and close<=ref(close,2);

var13:=ref(var12,1) and close<=ref(close,1) and close>=ref(close,2);

var14:=ref(var13,1) and close>=ref(close,1) and close<=ref(close,2);

var15:=ref(var14,1) and close<=ref(close,1) and close>=ref(close,2);

var16:=ref(var15,1) and close>=ref(close,1) and close<=ref(close,2);

var17:=ref(var16,1) and close<=ref(close,1) and close>=ref(close,2);

var18:=ref(var17,1) and close>=ref(close,1) and close<=ref(close,2);

var19:=ref(vard or vare or varf or var10 or var11 or var12 or var13 or

var14 or var15 or var16 or var17 or var18,1) and var1;

stickline(var19,l,l*0.98,3,0),coloryellow;

var1a:=ref(var1 or var2 or var3 or var4 or var5 or var6 or var7 or

var8 or var9 or vara or varb or varc,1) and vard;

stickline(var1a,h*1.01,h,3,0),color00ff00{98fd};

ma3:ma(c,3);{}

ma5:ma(c,5),colorwhite;

ma10:=ma(c,10),nodraw;

ma30:ma(c,34),nodraw;

五日乖离率:=(c-ma5)/ma5*100;

bb5:=atan((ma5/ref(ma5,1)-1)*100)*180/3.1416;

if(bb5>30 and ma5>ref(ma5,1), ma5,drawnull),linethick1,colorred;

bb10:=atan((ma10/ref(ma10,1)-1)*100)*180/3.1416;

if(bb5<0 and ma5<ref(ma5,1), ma5,drawnull),linethick1,colorgreen;

dd5:=ma5<ref(ma5,1);

if(dd5,ma5,drawnull),color00ff00;

x0:=(3*c+l+o+h)/6;

多空线: (20*x0+19*ref(x0,1)+18*ref(x0,2)+17*ref(x0,3)+16*ref(x0,4)+15*ref(x0,5)+14*ref(x0,6)

+13*ref(x0,7)+12*ref(x0,8)+11*ref(x0,9)+10*ref(x0,10)+9*ref(x0,11)+8*ref(x0,12)

+7*ref(x0,13)+6*ref(x0,14)+5*ref(x0,15)+4*ref(x0,16)+3*ref(x0,17)+2*ref(x0,18)+

ref(x0,20))/210,colorff00ff,linethick1;

{用法:黄托底买进,绿压顶买出。}

dd:=多空线<ref(多空线,1);

if(dd,多空线,drawnull),colorblue,linethick2;

a:=(ma5>多空线);

if(a,多空线,drawnull),coloryellow,pointdot;

a1:=(ma5<多空线);

if(a1,多空线,drawnull),colorwhite;

a2:=3*ema((c-llv(l,30))/(hhv(h,30)-llv(l,30))*100,5)-2*ema((c-llv(l,30))/(hhv(h,30)-llv(l,30))*100,5);

a4:=(hhv(h,34)-c)/(hhv(h,34)-llv(l,34))*100;

a5:=ema(close,12)-ema(close,26);

a6:=ema(a5,9);

a7:=(a5<-0.1 and a5>a6);

财神:if(a7,llv(l,21),drawnull)colorred,circledot;

cys:=(ema((close-v2)/v2,1)*100);

aa0:=cys;

midd:=ma(cys,20);

cc0:=midd+0.85*std(cys,10);

tm6:=aa0>cc0;

if(tm6,ma5,drawnull),colorred,linethick1;

a0:=(l+h+c*2)/4;

工作:=ema(a0,14)coloryellow,linethick1;

度假:=ema(a0,25)coloryellow,linethick1;

a1x:=(工作-ref(工作,1))/ref(工作,1)*100;

a2x:=(度假-ref(度假,1))/ref(度假,1)*100;

g:=barslast(cross(a1x,0));

{kdj}{}

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;

金叉:=cross(j,d);

死叉:=cross(d,j);

买1:=(var14 or var15) and var11;

买2:=(var14 or var15) and var4;

买3:=(var14 or var15) and var2;

买4:=(var2 and var11) or (var4 and var11);

买5:=(金叉 and var4) or (金叉 and var2) or (金叉 and var11);

{涨停}

stickline(close>ref(close,1)*1.0985 and close=high,close,open,4,-1),color00ffff;

{跌停}

stickline(close<ref(close,1)*0.9015 and close=low,close,open,4,-1),colorgreen;

{蓝}

stickline(open>=close,close,open,3,0),colorff7700;

stickline(open>=close,close,open,2.2,0),colorff9900;

stickline(open>=close,close,open,1.5,0),colorffbb00;

stickline(open>=close,close,open,0.5,0),colorcyan;

{红}

stickline(close>open,close,open,3,0),color000099;

stickline(close>open,close,open,2.2,0),color0000cc;

stickline(close>open,close,open,1.5,0),color0000ff;

stickline(close>open,close,open,0.5,0),colorcc66ff;

{绿}

stickline(var3,open,(open+close)/2,3,0),color009900;

stickline(var3,open,(open+close)/2,2.2,0),color00bb00;

stickline(var3,open,(open+close)/2,1.5,0),color00dd00;

stickline(var3,open,(open+close)/2,0.5,0),color00ff00;

{灰} stickline(var4,open,(open+close)/2,3,0),color999999;

stickline(var4,open,(open+close)/2,2.2,0),colorbbbbbb;

stickline(var4,open,(open+close)/2,1.5,0),colordddddd;

stickline(var4,open,(open+close)/2,0.5,0),colorffffff;

stickline(金叉,open,close,0.5,0),coloryellow;

stickline(死叉,open,close,0.5,0),color000099;

drawicon(var16,low-0.02,7);drawicon(买1 or 买2 or 买3 or 买4 or 买5,low-0.01,1);

drawicon(死叉 or var12 or cross(40,var9),high+0.01,2);

stickline(cross(a1x,0),c,o,1,0)colorffffff;

stickline(cross(0,a1x),c,o,1,0)colorgreen;

ax:=xma(c,3);

drawicon(h/ax>1.05,h*1.01,2);

n1:=6;{}

aa:=ref(h,n1)=hhv(h,2*n1+1); aa1:=ref(l,n1)=llv(l,2*n1+1);

qy:=backset(aa,n1+1); qy1:=backset(aa1,n1+1);

cc:=filter(qy,n1) and h=hhv(h,n1+1); cc1:=filter(qy1,n1) and l=llv(l,n1+1);

ddd:=barslast(cc); dd1:=barslast(cc1);

gdts:=if(cc,currbarscount,0); ddts:=if(cc1,currbarscount,0);

dingbuts:=if(ddd,ref(gdts,ddd),gdts); ddts1:=if(dd1,ref(ddts,dd1),ddts);

gdcs1:=const(dingbuts); ddcs1:=const(ddts1);

gdcs13:=const(ref(high,gdcs1-1)); ddcs13:=const(ref(l,ddcs1-1));

dingbuts1:=ref(dingbuts,ddd+1); ddts2:=ref(ddts1,dd1+1);

gdcs2:=const(dingbuts1); ddcs2:=const(ddts2);

gdcs23:=const(ref(high,dingbuts1-1)); ddcs23:=const(ref(l,ddts2-1));

xg1:=backset(islastbar,gdcs1); xd1:=backset(islastbar,ddcs1);

xg2:=backset(islastbar,dingbuts1); xd2:=backset(islastbar,ddts2);

xdd:=if(ddcs13<=ddcs23,xd1,xd2);

m:=intpart(3*n1/5);

aaa:=ref(h,m)=hhv(h,2*m+1);

qyy:=backset(aaa,m+1);

ccc:=filter(qyy,m) and h=hhv(h,m+1);

dddd:=barslast(ccc),nodraw;

gdtss:=if(ccc,currbarscount,0);

dingbutss:=if(dddd,ref(gdtss,dddd),gdtss);

gdcs11:=const(dingbutss);

dingbuts11:=ref(dingbutss,dddd+1);

gdcs22:=const(dingbuts11);

aa11:=ref(l,m)=llv(l,2*m+1);

qy11:=backset(aa11,m+1);

cc11:=filter(qy11,m) and l=llv(l,m+1);

dd11:=barslast(cc11);

ddtss:=if(cc11,currbarscount,0);

ddts11:=if(dd11,ref(ddtss,dd11),ddtss);

ddcs11:=const(ddts11);

ddts22:=ref(ddts11,dd11+1);

ddcs22:=const(ddts22);

{}

hh1:= ref(h,gdcs1-1),nodraw;

hh2:= ref(h,gdcs2-1),nodraw;

hh11:= ref(h,gdcs11-1),nodraw;

hh22:= ref(h,gdcs22-1),nodraw;

ghh1:=max(max(ref(h,gdcs1-1),ref(h,gdcs2-1)),max(ref(h,gdcs11-1),ref(h,gdcs22-1))),nodraw;

dll1:=min(min(ref(l,ddcs1-1),ref(l,ddcs2-1)),min(ref(l,ddcs11-1),ref(l,ddcs22-1))),nodraw;

ghh:=max(ghh1,hhv(h,10));

dll:=min(dll1,llv(l,10));

dx1:=(ref(h,gdcs1-1)-ref(h,gdcs2-1))/(gdcs2-gdcs1),nodraw;

dx2:=(ref(h,gdcs11-1)-ref(h,gdcs22-1))/(gdcs22-gdcs11),nodraw;

ggaa:=dx1>0 and (ref(h,(gdcs1-1))+dx1*gdcs1)>ghh*1.05,nodraw;

ggab:=dx1<0 and (ref(h,(gdcs1-1))+dx1*gdcs1)<dll*0.95,nodraw;

ddx1:=if(ggaa or ggab,0,1),nodraw;

ggba:=dx2>0 and (ref(h,(gdcs11-1))+dx2*gdcs11)>ghh*1.05,nodraw;

ggbb:=dx2<0 and (ref(h,(gdcs11-1))+dx2*gdcs11)<dll*0.95,nodraw;

dddx1:=if(ggba or ggbb,0,1),nodraw;

lx1:=(ref(l,ddcs1-1)-ref(l,ddcs2-1))/(ddcs2-ddcs1),nodraw;

lx2:=(ref(l,ddcs11-1)-ref(l,ddcs22-1))/(ddcs22-ddcs11),nodraw;

ddaa:=lx1<0 and (ref(l,(ddcs1-1))+lx1*ddcs1)<dll*0.95,nodraw;

ddab:=lx1>0 and (ref(l,(ddcs1-1))+lx1*ddcs1)>ghh*1.05,nodraw;

llx1:=if(ddaa or ddab,0,1);

ddba:=lx2<0 and (ref(l,(ddcs11-1))+lx2*ddcs11)<dll*0.95,nodraw;

ddbb:=lx2>0 and (ref(l,(ddcs11-1))+lx2*ddcs11)>ghh*1.05,nodraw;

lllx1:=if(ddba or ddbb,0,1),nodraw;

长压力:drawline(currbarscount=gdcs2,h,currbarscount=gdcs1,h,ddx1),coloryellow,linethick2;

长支撑:drawline(currbarscount=ddcs2,l,currbarscount=ddcs1,l,llx1),coloryellow,linethick2;

长中轨:(长压力+长支撑)/2,pointdot,coloryellow,linethick4;

短压力:drawline(currbarscount=gdcs22 ,h,currbarscount=gdcs11,h,dddx1),colorliblue,linethick1;

短支撑:drawline(currbarscount=ddcs22 ,l,currbarscount=ddcs11,l,lllx1),colorliblue,linethick1;

短中轨:(短压力+短支撑)/2,pointdot,colorliblue,linethick4;


牛牛的牛公式

  >>>使用本站搜索工具可以找到更多牛牛的牛 通达信牛牛

指标公式下载地址

点这下载软件
好公式网提供全网最全的指标公式软件,感谢您的支持!鼠标双击图片可看大图!
下载请点击右侧“立即下载”,如只有源码,请点击本页面右侧的导入方法按图导入!
本站指标基于网友分享,仅供研究自学,勿作他用,本站对下载使用不承担任何责任!

指标公式下载注意

    ☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!

    ☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。

    ☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;

    ☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;

    ☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;

    ☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;

    ☉ hxf格式指标公式,仅可以用同花顺软件引入使用。

    ☉ 如果您发现下载软件链接错误,请联系管理员报告错误。

    ☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!

    ☉ 本文牛牛的牛 通达信牛牛仅供学习研究。

猜你喜欢

学了又学