金牛:(xma(xma(h,25),25)-xma(xma(l,25),25))*1+xma(xma(h,25),25),dotline,linethick1,colorwhite;
金钻趋势:xma(xma(l,25),25)-(xma(xma(h,25),25)-xma(xma(l,25),25))*1,dotline,linethick1,colorred;
金牛2:ema(金钻趋势,25)colorcyan,linethick1;
{drawband(金钻趋势,rgb(55,0,0),金牛2,rgb(110,123,139));}
drawkline(h,o,l,c);
stickline(金钻趋势>low and 金钻趋势<high,金钻趋势,min(min(open,close),金钻趋势),2,0),coloryellow;
stickline(金钻趋势>min(c,o) and 金钻趋势<max(c,o),金钻趋势,min(open,close),2,0),coloryellow;
stickline(金钻趋势>high,open,close,2,0),coloryellow;
stickline(金钻趋势>high,high,low,0,0),coloryellow;
var23:=100*xma(xma((c-ref(c,1)),6),6)/xma(xma(abs((c-ref(c,1))),6),6);
回调买:=llv(var23,2)=llv(var23,7) and count(var23<0,2) and cross(var23,ma(var23,2));
xg:=金钻趋势>high and 回调买 and l<=金钻趋势;
jj:=(high+low+close)/3;{}
qj0:=vol/if(high=low,4,high-low);
qj1:=if(capital=0,qj0*(jj-min(close,open)),qj0*if(high=low,1,(min(open,close)-low)));
qj2:=if(capital=0,qj0*(min(open,close)-low),qj0*if(high=low,1,(jj-min(close,open))));
qj3:=if(capital=0,qj0*(high-max(open,close)),qj0*if(high=low,1,(high-max(open,close))));
qj4:=if(capital=0,qj0*(max(close,open)-jj),qj0*if(high=low,1,(max(close,open)-jj)));
ddx:=((qj1+qj2)-(qj3+qj4))/if(capital=0,10000,10000),color00aaaa,linethick;
v2:=sma(if(c>=ref(c,1),ddx,-ddx/100),2,1);
v5:=sma(v2*120/fromopen*5,2,1);
v10:=sma(v5,5,1);
v20:=sma(v10,5,1);
dy:=currbarscount=1 and c<ref(c,1);
dy2:=ref(v2,1)-dy;
xg2:=c>o and dy2<0.02 and ma(c,5)>ma(c,60) and c/ref(c,1)>=1.02 and h<金牛;
drawtext(xg2,l,'▲抓牛'),coloryellow;
drawtext(xg2 and l<金钻趋势,l,'起涨'),colormagenta;
a:=amount/v/100;{}
vara:=ema((((a-ema(a,13))/ema(a,13))*(0-100)),5);
qq:=ema(((vara/10)+ema(a,13)),0);
行情线:=ma(a,1);
重心:=(c+0.618*ref(c,1)+0.382*ref(c,1)+0.236*ref(c,3)+0.146*ref(c,4))/2.382;
【操盘线】:=ema(((slope(c,22)*20)+c),55),colorwhite,linethick1;
【黄金线】:=if(重心>=【操盘线】,【操盘线】,drawnull),colorred,linethick3;
【空仓线】:=if(重心<【操盘线】,【操盘线】,drawnull),colorgreen,linethick3;
变:=ema(close,5),linethick3,colorblue;
金:=if(变>ref(变,1),变,drawnull),colorred,linethick3;
空:=if(变<ref(变,1),变,drawnull),colorgreen,linethick3;
{顶底信号}
da:=(ema(h,1)+ema(l,1)+ema(h,1)+ema(h,1))/4;
db:=ema(ref(hhv(h,25),1),2),colorgreen,linethick1;
{涨跌停显示}
涨停:=if((c-ref(c,1))*100/ref(c,1)>=(10-0.01*100/ref(o,1)),1,0);
stickline(涨停,o,c,1,0),coloryellow;
zdf:=(c-ref(c,1))/ref(c,1)*100;
stickline(zdf<-9.9,o,c,1,0),colorblue;
{民间操手专用经典主图均线指标2}
var3:=llv(high,240);
var4:=100*(close-var3)/var3;
var5:=(close-llv(low,528))/(hhv(high,528)-llv(low,528))*100;
var6:=(close-llv(close,530))/(hhv(close,530)-llv(close,530))*100;
var7:=0;{}
var8:=sma(max(close-ref(close,1),0),34,1)/sma(abs(close-ref(close,1)),7,1)*100;
var9:=sma(max(close-ref(close,1),0),13,1)/sma(abs(close-ref(close,1)),13,1)*100;
var10:=if(troughbars(3,16,1)=0 and high>low+0.04,4,0);
var11:=zig(3,6)>ref(zig(3,6),1) and ref(zig(3,6),1)<=ref(zig(3,6),2) and ref(zig(3,6),2)<=ref(zig(3,6),3);
var12:=zig(3,6)<ref(zig(3,6),1) and ref(zig(3,6),1)>=ref(zig(3,6),2) and ref(zig(3,6),2)>=ref(zig(3,6),3);
var13:=zig(3,22)>ref(zig(3,22),1) and ref(zig(3,22),1)<=ref(zig(3,22),2) and ref(zig(3,22),2)<=ref(zig(3,22),3);
var14:=zig(3,22)<ref(zig(3,22),1) and ref(zig(3,22),1)>=ref(zig(3,22),2) and ref(zig(3,22),2)>=ref(zig(3,22),3);
var15:=zig(3,51)>ref(zig(3,51),1) and ref(zig(3,51),1)<=ref(zig(3,51),2) and ref(zig(3,51),2)<=ref(zig(3,51),3);
var16:=zig(3,51)<ref(zig(3,51),1) and ref(zig(3,51),1)>=ref(zig(3,51),2) and ref(zig(3,51),2)>=ref(zig(3,51),3);
var17:=zig(3,72)>ref(zig(3,72),1) and ref(zig(3,72),1)<=ref(zig(3,72),2) and ref(zig(3,72),2)<=ref(zig(3,72),3);
var18:=zig(3,72)<ref(zig(3,72),1) and ref(zig(3,72),1)>=ref(zig(3,72),2) and ref(zig(3,72),2)>=ref(zig(3,72),3);
var19:=ema(close,2)-ema(close,150);
买1:=var10;
买2:=(var11+var13+var15+var17);
卖1:=(var12+var14+var16+var18);
b:if(买1>0 or 买2>0,low*0.9998,drawnull),crossdot,linethick3,coloryellow;
abcd:if(买1>0 or 买2>0,1,0),nodraw;
s:if(卖1>0,high*1.0033,drawnull),crossdot,linethick3,colorgreen;
var100:=(100 - ((90 * (hhv(high,20) - close)) / (hhv(high,20) - llv(low,20))));
var200:=(100 - ((90 * (hhv(high,20) - close)) / (hhv(high,20) - llv(low,20))));
var300:=(100 - ma(((100 * (hhv(high,5) - close)) / (hhv(high,5) - llv(low,5))),34));
f:if(cross(var200,ma(var300,5)),low * 0.9995,drawnull),crossdot,linethick3,colorwhite;
drawtext(cross(s,卖1),s,'←快逃'),colorff00ff,linethick3;
bcde:if(cross(var200,ma(var300,5)),1,0),nodraw;
{drawtext(cross(b,买1),b,'←准备'),colorred,linethick1;}
{价:}
{jc1:=(ref(c,3)+ref(c,5)+ref(c,7)+ref(c,8)+ref(c,13)+ref(c,21))/6;
参考价1:sma(jc1,5,1),circledot,colorgreen;
if(c>=参考价1,参考价1,drawnull),circledot,color0000ff;}
ph:=troughbars(2,5,1);
ll:=hhv(h,ph);
tj1:=ll=high and ll<ref(ll,1);{//=1}
ts:=sumbars(tj1,2);
tj:=peakbars(2,5,1)=1 and ts>=ph;
drawicon(tj,high*1.0001+0.002,2);
警告灯:=if(tj,l-10,drawnull),crossdot,linethick2,colorred;
drawtext(tj,h,'←警告'),coloryellow,linethick1;
pl:=barslast(tj);
支撑:=if(barslast(tj1),ref(low,barslast(tj1)),drawnull),colorea91b5;
压力:=if(barslast(tj),ref(high,pl),drawnull),coloryellow;
tj_2:=low>ref(ref(low,ts),pl);
ma5:=ma(c,5);
ma10:=ma(c,10);
ma20:=ma(c,20);ma60:=ma(c,60);
cbfb:=ma(c,2);
jl:=if(c>cbfb,v,0);
cl:=if(c<cbfb,v,0);
jlh:=sum(jl,4);
clh:=sum(cl,4);
lhb:=clh/jlh;
tj12:=if(hhv(lhb,5)>4 and cross(2,lhb) and c>=o,1,0);
drawicon(tj12,l*0.9996,9),nodraw;
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);
drawtext(cross(准备赚钱,0),l-0.2,'进'),colorff00ff;
drawicon(cross(准备赚钱,0),l-0.3,1);
par1:=(close>ref(close,1) and close>ref(close,2));
par2:=(ref(par1,1) and close<=ref(close,1) and close>=ref(close,2));
par3:=(ref(par2,1) and close>=ref(close,1) and close<=ref(close,2));
par4:=(ref(par3,1) and close<=ref(close,1) and close>=ref(close,2));
par5:=(ref(par4,1) and close>=ref(close,1) and close<=ref(close,2));
par6:=(ref(par5,1) and close<=ref(close,1) and close>=ref(close,2));
par7:=(ref(par6,1) and close>=ref(close,1) and close<=ref(close,2));
par8:=(ref(par7,1) and close<=ref(close,1) and close>=ref(close,2));
par9:=(ref(par8,1) and close>=ref(close,1) and close<=ref(close,2));
para:=(ref(par9,1) and close<=ref(close,1) and close>=ref(close,2));
parb:=(ref(para,1) and close>=ref(close,1) and close<=ref(close,2));
parc:=(ref(parb,1) and close<=ref(close,1) and close>=ref(close,2));
红色持股:
stickline(par1 or par2 or par3 or par4 or par5 or par6 or par7 or par8 or par9 or para or parb or parc,close,ref(close,1),2,0),color000099;
stickline(par1 or par2 or par3 or par4 or par5 or par6 or par7 or par8 or par9 or para or parb or parc,close,ref(close,1),2,0),color0000cc;
stickline(par1 or par2 or par3 or par4 or par5 or par6 or par7 or par8 or par9 or para or parb or parc,close,ref(close,1),1,0),color0000ff;
stickline(par1 or par2 or par3 or par4 or par5 or par6 or par7 or par8 or par9 or para or parb or parc,close,ref(close,1),1,0),color0000ff;
stickline(par1 or par2 or par3 or par4 or par5 or par6 or par7 or par8 or par9 or para or parb or parc,close,ref(close,1),0,0),color0000ff;
stickline(par1 or par2 or par3 or par4 or par5 or par6 or par7 or par8 or par9 or para or parb or parc,low,high,0.1,0),color0000ff;
pard:=(close<ref(close,1) and close<ref(close,2));
pare:=(ref(pard,1) and close>=ref(close,1) and close<=ref(close,2));
parf:=(ref(pare,1) and close<=ref(close,1) and close>=ref(close,2));
par10:=(ref(parf,1) and close>=ref(close,1) and close<=ref(close,2));
par11:=(ref(par10,1) and close<=ref(close,1) and close>=ref(close,2));
par12:=(ref(par11,1) and close>=ref(close,1) and close<=ref(close,2));
par13:=(ref(par12,1) and close<=ref(close,1) and close>=ref(close,2));
par14:=(ref(par13,1) and close>=ref(close,1) and close<=ref(close,2));
par15:=(ref(par14,1) and close<=ref(close,1) and close>=ref(close,2));
par16:=(ref(par15,1) and close>=ref(close,1) and close<=ref(close,2));
par17:=(ref(par16,1) and close<=ref(close,1) and close>=ref(close,2));
par18:=(ref(par17,1) and close>=ref(close,1) and close<=ref(close,2));
青色观望:
stickline(pard or pare or parf or par10 or par11 or par12 or par13 or par14 or par15 or par16 or par17 or par18,close,ref(close,1),2,0),colordddd00;
stickline(pard or pare or parf or par10 or par11 or par12 or par13 or par14 or par15 or par16 or par17 or par18,close,ref(close,1),2,0),coloreeee00;
stickline(pard or pare or parf or par10 or par11 or par12 or par13 or par14 or par15 or par16 or par17 or par18,close,ref(close,1),1,0),colorffff00;
stickline(pard or pare or parf or par10 or par11 or par12 or par13 or par14 or par15 or par16 or par17 or par18,close,ref(close,1),1,0),colorffff00;
stickline(pard or pare or parf or par10 or par11 or par12 or par13 or par14 or par15 or par16 or par17 or par18,close,ref(close,1),0,0),colorffff00;
stickline(pard or pare or parf or par10 or par11 or par12 or par13 or par14 or par15 or par16 or par17 or par18,low,high,0.1,0),colorffff00;
par19:=((ref(pard or pare or parf or par10 or par11 or par12 or par13 or par14 or par15 or par16 or par17 or par18,1)) and par1);
黄色短买:
stickline(par19,ref(close,1),ref(close,2),4,0),color33ddcc;
stickline(par19,ref(close,1),ref(close,2),3,0),color33eecc;
stickline(par19,ref(close,1),ref(close,2),2,0),color33ffcc;
stickline(par19,ref(close,1),ref(close,2),1,0),color33ffcc;
par1a:=((ref(par1 or par2 or par3 or par4 or par5 or par6 or par7 or par8 or par9 or para or parb or parc,1)) and pard);
品红离场:
stickline(par1a,ref(close,1),ref(close,2),4,0),colorff66ff;
stickline(par1a,ref(close,1),ref(close,2),3,0),colorff77ff;
stickline(par1a,ref(close,1),ref(close,2),2,0),colorff88ff;
stickline(par1a,ref(close,1),ref(close,2),1,0),colorff99ff;
drawtext(par1a,ref(close,1)+0.08,'离场'),colorff99ff;
ma3:=ma(close,3),colorgreen,linethick3;
ytsl:=(3*close+low+open+high)/6;
辰星线:=(20*ytsl+19*ref(ytsl,1)+18*ref(ytsl,2)+17*ref(ytsl,3)+16*ref(ytsl,4) +15*ref(ytsl,5)+14*ref(ytsl,6)+13*ref(ytsl,7)+12*ref(ytsl,8)+11*ref(ytsl,9)+10*ref(ytsl,10)+9*ref(ytsl,11)+8*ref(ytsl,12)+7*ref(ytsl,13)+6*ref(ytsl,14)+5*ref(ytsl,15)+4*ref(ytsl,16)+3*ref(ytsl,17)+2*ref(ytsl,18)+ref(ytsl,20))/211,colorff0000;
牵牛线:=ma(close,26),colorff00ff;
等待:=if(ma3>辰星线,辰星线,ma3);
aa:=forcast(close,21);
bb:=forcast(close,111);
中轨:=ma(close,26);
上轨:=中轨+std(close,20);
下轨:=中轨-std(close,20);
上极限:=(中轨+2*std(close,20)),colorffff00;
下极限:=(中轨-2*std(close,20)),colorffff00;
离场:if(par1a,1,0),nodraw;
短买:if(par19,1,0),nodraw;
mid:=(3*close+low+open+high)/6;
牛线:=(20*mid+19*ref(mid,1)+18*ref(mid,2)+17*ref(mid,3)+16
*ref(mid,4)+15*ref(mid,5)+14*ref(mid,6)+13*ref(mid,7)+12*ref(mid,8)+11
*ref(mid,9)+10*ref(mid,10)+9*ref(mid,11)+8*ref(mid,12)+7*ref(mid,13)+6*ref(mid,14)+5
*ref(mid,15)+4*ref(mid,16)+3*ref(mid,17)+2*ref(mid,18)+ref(mid,20))/210,colorred;
马线:=ma(牛线,6),colorgreen;
maa5:=ma(c,5),colorff00ff,linethick2;
a3:=(c-llv(l,9))/(hhv(h,9)-llv(l,9))*100;
a4:=sma(a3,3,1);
a5:=sma(a4,3,1);
a6:=3*a4-2*a5;
a7:=c-ref(c,1);
a8:=100*ema(ema(a7,6),6)/ema(ema(abs(a7),6),6);
买:=llv(a8,2)=llv(a8,7) and count(a8<0,2) and cross(a8,ma(a8,2));
drawtext(filter(买=1,5),low-0.05,'↖买进'),coloryellow;
买a:if(filter(买=1,5),1,0),nodraw;
stickline(买,open,close,2,0),coloryellow;
lcc:=ref(close,1);
rsi:=((sma(max((close - lcc),0),3,1) / sma(abs((close - lcc)),3,1)) * 100);
ff:=ema(close,3);
ma15:=ema(close,21);
日:=150;昨前:=3;
高1:=ref(hhv(h,日),昨前);
低1:=ref(llv(l,日),昨前);
h1:=高1-(高1-低1)*0.191;
h2:=高1-(高1-低1)*0.382;
h3:=高1-(高1-低1)*0.5;
h4:=高1-(高1-低1)*0.618;
h5:=高1-(高1-低1)*0.809;
顶:refdate(高1,date),colorred;
一0.809:refdate(h1,date),coloryellow;
二0.618:refdate(h2,date),colormagenta;
三0.500:refdate(h3,date),colorwhite;
四0.382:refdate(h4,date),colorgreen;
五0.191:refdate(h5,date),coloryellow;
低:refdate(低1,date),colorred;
买线:=ema(c,2);
卖线:=ema(slope(c,21)*20+c,42);
bu:=cross(买线,卖线);
sel:=cross(卖线,买线);
drawicon(bu,l-0.1,1);
drawicon(sel,h+0.1,2);
空a:=ema(close,5);
动平衡:=ema(空a,34),coloryellow,linethick2;
双线持币:hhv(ma(high,3),2),colorgreen,linethick3;
单线持股:llv(ma(high,3),1),colorred,linethick3;
xxra:=(close-ref(open,29))/ref(open,29)*100;
xxrb:=ema(0.667*ref(xxra,1)+0.333*xxra,5);
drawtext(if(vol>=1.3*ma(vol,5) and count(xxra>=xxrb and xxra<-17,3) and ref(low,1)=llv(low,120),1,0),low*0.96,'买入');
xxrc:=(sma(max(close-ref(close,1),0),6,1))/(sma(abs(close-ref(close,1)),6,1))*100;
xxr1:=(high+low+open+2*close)/5;
xxr2:=ref(xxr1,1);
xxr3:=(sma(max(xxr1-xxr2,0),10,1))/(sma(abs(xxr1-xxr2),10,1))*100;
xxr4:=filter(if((count(xxr3<20,5))>=1 and (count(xxr1=llv(xxr1,10),10))>=1 and close>=open*1.038 and vol>ma(vol,5)*1.2,1,0),5);
xxr5:=filter(动平衡>ref(动平衡,1) and 双线持币<ref(双线持币,1) and close>ref(close,1),11);
xxr6:=ref(close,1);
xxr7:=(sma(max(close-xxr6,0),6,1))/(sma(abs(close-xxr6),6,1))*100;
drawtext_fix(islastbar,0.988,0.06,1,'好公式网 '),color00ffff;
上一指标公式:如来操盘主图 通达信如来
下一指标公式:极品珍宝 通达信珍宝
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文冠军三合一 通达信冠军仅供学习研究。