{================背景 ================};
drawgbk(currbarscount=1 , rgb(0,0,0),rgb(0,0,0),0,'1',0);
字:=strcat(strcat(strcat('名称: ',stkname),' 代码: '),code);
drawtext_fix(islastbar,0.8,0,0,字),coloryellow;{===============机构资金块、黄色================}
bias6 :(close-ma(close,6))/ma(close,6)*200,nodraw ;
stickline(bias6>=ref(bias6,1),0,abs(bias6),3.0,0),coloryellow ;
a62:=((close - (llv(low,36))) / ((hhv(high,36)) - (llv(low,36)))) * 100;
a63:=sma(a62,3,1);
a64:=sma(a63,3,1);
a65:=sma(a64,3,1);
a66:=(cross(a64,a65)) and (a64 < 12);
stickline(((filter(a66,10)) = 1),0,80,2,1),colormagenta ;
rv1:=(c-ma(c,4))/ma(c,4)*100;
cdma:ema(ema(rv1,7),7)*4,nodraw,colorwhite;
stickline(cdma>=0 and cdma>=ref(cdma,1),50,50+cdma,3.0,0),colorred ;
aiff:=ema(close,12)-ema(close,26);
aea:=ema(aiff,9),colorwhite;
aacd:=(aiff-aea)*2;
a:stickline(aacd>=0 and aacd>=ref(aacd,1) and ref(aacd,1)<0
and aacd>=0.01,90,aacd,1,1) ,colorred;
drawtext(a,85,' 新妖气'),coloryellow ;
{rv1:=(c-ma(c,4))/ma(c,4)*100;
cdma:ema(ema(rv1,7),7)*4,nodraw,colorwhite;
stickline(cdma>=0 and cdma>=ref(cdma,1),50,50+cdma,1.0,0),colorred ;}
启动线:=10*sum(ema((c+l)/2,2),5)/10.158,nodraw;
平衡线:=10*llv(sum( ema((c+l)/2,2),5)/10.158,4),nodraw;
平台线:=10*llv(sum( ema((c+l)/2,2),5)/10.158,10),nodraw;
强弱线:=ema(启动线,21);
vvar1:=2*ma(llv((c+l)/2,8)*1.1,13)-ema((c+l)/2,3)-((c+l)/2)*0.1;
vvar2:=if((ema((c+l)/2,3)-vvar1)*5>0,pow((ema((c+l)/2,3)-vvar1)*5,2)/10,-1*pow((ema((c+l)/2,3)-vvar1)*5,2)/10);
vvar3:=if(vvar2>0,vvar2-0,0);
stickline(vvar3>0 and ref(vvar3,1)=0 and (c+l)/2>ma((c+l)/2,8),0,25,0,0),colormagenta;
drawtext(vvar3>0 and ref(vvar3,1)=0 and (c+l)/2>ma((c+l)/2,8),30,'动'),colormagenta;
水平:50,colorwhite ,dotline ;
drawtext(islastbar, 水平,'牛熊分界 '),coloryellow ;
今▼日▼跌停价:ref(c,1)*0.9,linethick0,colorff00ff;
今▲日▲涨停价:ref(c,1)*1.1,linethick0,colorff00ff;
顶:90,coloryellow,linethick1;
强:80,colorred,linethick2;
黄柱过线成妖:25,colormagenta ,linethick1;
弱:10,colorgreen,linethick3;
drawtext(islastbar, 顶,' 顶'),coloryellow;
drawtext(islastbar, 强,' 强'),colorred;
drawtext(islastbar, 黄柱过线成妖,' ←黄柱过线成妖 '),coloryellow ;
drawtext(islastbar, 弱,' ←黄柱出线关注'),colorgreen;
var13:=(close-llv(low,13))/(hhv(high,13)-llv(low,13))*100;
k1:sma(var13,3,1),colorcyan,linethick1;
var21:=(close-llv(low,21))/(hhv(high,21)-llv(low,21))*100;
k2:sma(var21,3,1),coloryellow,linethick1;
var34:=(close-llv(low,34))/(hhv(high,34)-llv(low,34))*100;
k3:sma(var34,3,1),colormagenta,linethick1;
var55:=(close-llv(low,55))/(hhv(high,55)-llv(low,55))*100;
k4:sma(var55,3,1),color00ff00,nodraw;
买点:k1<20 and k1>ref(k1,1) and k2<20
and k3<20 ,colorred,nodraw;
stickline(买点 ,105,100,2,0),colorgreen ;
tobu:= k3>80 and k2>80 ;
stickline(tobu=1,105,100,1,0) ,colorred;
dd:=-10;
drawtext(islastbar,k1,' '),colorcyan ;
drawtext(islastbar,k2,'←--拉升线'),coloryellow ;
drawtext(islastbar,k3,'←--主力线'),colormagenta ;
{买了不输}
a1:=amount/vol/1000;
b2:=(3*high+low+open+2*close)/7;
d3d:=sum(amount,13)/a1/1000;
e4:=dma(b2,vol/d3d);
买了不输:=(close-e4)/e4*1000;
varx:=(close-llv(low,27))/(hhv(high,27)-llv(low,27))*100;
varx1:=sma(varx,3,1);
varx2:=sma(varx1,3,1);
varx3:=ref(low,1);
varx4:=sma(abs(low-varx3),3,1)/sma(max(low-varx3,0),3,1)*100;
varx5:=ema(if(close*1.2,varx4*10,varx4/10),3);
varx6:=llv(low,30);
varx7:=hhv(varx5,30);
varx8:=if(llv(low,58),1,0);
varx9:=(ema(if(low<=varx6,(varx5+varx7*2)/2,0),3)/618*varx8);
diff:=ema(close,12)-ema(close,26),linethick2;
dea:=ema(diff,9),linethick2;
macd:=(diff-dea)*2;
dif55:=(ema(close,30)-ema(close,100));
dea55:=(ema(dif55,45));
f60:=ema(close,12/2)-ema(close,26/2),colorff00ff;
a60:=ema(f60,9/2),colorgreen;
f30:=(ema(close,12/4)-ema(close,26/4)),colorblue,linethick1;
a30:=(ema(f30,9/4)),colorwhite;
{买了就涨}
买1:=ma(close,1);
卖1:=(low+high+close)/3;
varr1:=ma(卖1,5);
varr2:=hhv(varr1,10);
dm:=if(hhv((买1<varr2),5),100,85),colorffff00,linethick1;
mai:=if(hhv((买1<varr2),10),105,100),colorgreen,linethick1;
{drawband(100,rgb(0,250,250),dm,rgb(0,0,0));
drawband(100,rgb(240,240,0),mai,rgb(0,0,0));}
hd:=(high - ref(high,1));
ld:=(ref(low,1) - low);
dmp:=(sum(if(((hd > 0) and (hd > ld)),hd,0),5) );
dmm:=sum(if(((ld > 0) and (ld > hd)),ld,0),5);
varr3:=(((dmp ) * 100) / tr);
varr4:=((dmm * 100) / tr);
xxx:=(ma(((abs((varr4 - varr3)) / (varr4 + varr3)) * 100),3));
买卖:=llv(varr1,10);
dmai:=if(llv((买1<买卖),5),15,0),colorred,linethick2;
mai2:=if(llv((买1<买卖),10),20,0),colorff00ff,linethick3;
短买:if(dmai and var55<20,10,0),coloryellow,linethick2,nodraw;
stickline(短买 ,105,100,2,0),coloryellow ;
买:=mai2,coloryellow,linethick2;
{寻宝}
rv:=(close-llv(low,27))/(hhv(high,27)-llv(low,27))*100;
rg:=(close-llv(low,5))/(hhv(high,5)-llv(low,5))*100;
vr44:=sma(rv,3,1);
vr55:=sma(vr44,3,1);
kk:=ema(sma(rg,3,1),2);ee:=sma(kk,3,1);
x:=cross(vr44,vr55) and vr55<30;
x1:=cross(vr44,vr55) and cross(kk,ee);
xg1:=x or x1;
寻宝:=c-ref(c,1);
股海:=100*ema(ema(寻宝,6),6)/ema(ema(abs(寻宝),6),6);
捡金:=llv(股海,2)=llv(股海,7) and count(股海<0,2) and cross(股海,ma(股海,2));
笨哥:=(c-ref(c,20))/ref(c,20)*100<0;
xg2:=(filter(捡金=1,5))and("cci">0);
var1:=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);
vr13:=ref(var12,1) and close<=ref(close,1) and close>=ref(close,2);
var14:=ref(vr13,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);
xg3:=ref(vard or vare or varf or var10 or var11 or var12 or vr13 or
var14 or var15 or var16 or var17 or var18,1) and var1;
rsv1:=(close-llv(low,27))/(hhv(high,27)-llv(low,27))*100;
k11:=sma(rsv1,5,1);
d11:=sma(k11,5,1);
j11:=3*k11-2*d11;
aa1:=ema(j11,5);
aa2:=ref(aa1,1);
rsv2:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100;
k22:=sma(rsv2,3,1);
d22:=sma(k22,3,1);
j22:=3*k22-2*d22;
bb1:=ema(j22,5);
bb2:=ref(bb1,1);
d1d:=aa1>aa2 and bb1>bb2;
xg4:=(d1d and not(ref(d1d,1)) and (aa1<50 or bb1<50));
n:=5;{可调}
bb:=ref(close,n);
cc:=sma(max(close-bb,0),2,1)/sma(abs(close-bb),2,1)*100-50;
线:=cc;{好公式网-最好的股票公式网站 www.goodgongshi.com}
xg5:=线>ref(线,1) and ref(线,1)<=ref(线,2) and c/ref(c,1)>1;
宝:if(xg1+xg2+xg3+xg4+xg5>=4,50,0),colorwhite,nodraw;
stickline(xg1+xg2+xg3+xg4+xg5>=4,0,20,1,1),coloryellow ;
空方:100*(hhv(high,55)-close)/(hhv(high,55)-llv(low,55)),colorblue, ;
drawtext(islastbar,空方,'←--空方'),colorgreen;
{aa:=(o+h+l+c)/4;
c1:=hhv(aa,240);
c2:=llv(aa,240);
c3:=c1-c2;
c4:=ema((aa-c2)/c3,2)*100;
长期:c4,colorred,linethick1,dotline ;}
stickline(k1>=ref(k1,1) and k1>=50,105,101,2,0) ,colorff00ff,linethick5;
stickline(k1<ref(k1,1) and k1>=50,105,101,2,0) ,colorgreen,linethick5;
stickline(k1>ref(k1,1) and k1>80,105,101,2,0) ,colorred,linethick5;
stickline(k1<ref(k1,1) and k1>80,105,101,2,0) ,colorcyan,linethick5;
vak1:=if(year>=2038 and month>=1,0,1);
vak2:=ref(low,1)*vak1;
vak3:=sma(abs(low-vak2),3,1)/sma(max(low-vak2,0),3,1)*100*vak1;
vak4:=ema(if(close*1.3,vak3*10,vak3/10),3)*vak1;
vak5:=llv(low,30)*vak1;
vak6:=hhv(vak4,30)*vak1;
vak7:=if(ma(close,58),1,0)*vak1;
vak8:=ema(if(low<=vak5,(vak4+vak6*2)/2,0),3)/618*vak7*vak1;
吸筹:=if(vak8>100,100,vak8)*vak1;
跟庄吸:=if(吸筹<ref(吸筹,1) and (ref(吸筹,1)>ref(吸筹,2) or ref(吸筹,1)=100),1,0);
吸筹累计:=sum(吸筹,60);
庄三吸:=count(跟庄吸,30)=3 and 跟庄吸=1 and 吸筹累计>200;
狠吸筹:=ref(吸筹,1)=100 and 吸筹<ref(吸筹,1) and 吸筹累计>260;
狠吸筹2:=ref(吸筹,1)>ref(吸筹,2) and 90<ref(吸筹,1) and 吸筹<ref(吸筹,1) and 吸筹累计>260;
跟庄买:stickline(庄三吸=1 or 狠吸筹=1 or 狠吸筹2=1,0,20,1,1),colorffffff;
drawtext(跟庄买,25.4,'底'),colorffff00;
a77:=((close - (ma(close,13))) / (ma(close,13))) * -100;
a78:=((close - (llv(low,13))) / ((hhv(high,13)) - (llv(low,13)))) * 100;
a79:=sma(a78,3,2);
a80:=sma(a79,3,2);
a81:=sma(a80,5,1);
牛势股票:(((ref(a77,1)) >= 16) and (((ref(a77,1)) / a77) >= 1.23)) and (cross(a80,a81)),colorred;
stickline((牛势股票 > 0),0.9,89,1,0),colorred ;
drawtext(牛势股票,85,' 妖股'),coloryellow ;
股价趋势: 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),linethick0;
底部警戒: 10,colorred,linethick0;
买入警戒:stickline(股价趋势<=10,0,10,3,0),colormagenta ;
买入信号: stickline(cross(股价趋势,底部警戒),0,35,1,1),coloryellow ,linethick2;
drawicon(cross(股价趋势,底部警戒),40,24);
vaar1:=(close-llv(low,20))/(hhv(high,20)-llv(low,20))*100;
vaar2:=sma(vaar1,20,1);
vaar3:=sma(vaar2,15,1);
vaar4:=(3*vaar2+2*vaar3)/4;
vaar5:= ref(vaar4,1);
rsa:sma(max(vaar4-vaar5,0),2,1)/sma(abs(vaar4-vaar5),2,1)*100 ,coloryellow ,linethick1 ,nodraw;
rsb:ma(rsa,10),nodraw;
注意:if(cross(rsa,rsb),2,0),stick,colormagenta ;
洛带:if(cross(rsb,90),2,0),stick,colorgreen;
drawtext(cross(rsa,rsb),1,'注意'),colorred ;
drawtext(cross(rsb,90),1,'.'),colorgreen ;
rsv:=(c-llv(l,2))/(hhv(h,2)-llv(l,2))*100;
k:=sma(rsv,2,1),colorffffff;
d:=sma(k,2,1),color00ffff;
j:3*k-2*d,colorff00ff,nodraw ;
wr:100-100*(hhv(high,2)-close)/(hhv(high,2)-llv(low,2)),nodraw ,coloryellow;
if(wr=100,94,drawnull),circledot,color00ffff,linethick5;
if(j>100,96,drawnull),circledot,colorff00ff,linethick5;
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);
xg:=(filter((var4aa>90),45)),coloryellow;
stickline(xg,100,0,2,0),colorred ;
drawtext(xg,99,'↖擒庄牵牛'),coloryellow ;
上一指标公式:抄底或金叉 通达信抄底
下一指标公式:绝密顶底 通达信绝密
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文擒庄牵牛 通达信牵牛仅供学习研究。