var1:=(c+h+o+l)/4;
卖出:=xma(var1,20)*(1+80/1000),pointdot,colorgreen,linethick3;
买入:=xma(var1,32)*(1-100/1000),pointdot,colormagenta,linethick3;
幅度:=100*(卖出-买入)/买入,nodraw;
菩提:=买入+(卖出-买入)*2/3;{此函数仅做参考线,为提前趋势预测线,上涨途中向下见顶,下跌途中向上见底};
般:=xma(close,7);
若:=mema(close,3);
全绿k:=longcross(若,般,3) and h>菩提;
rsvl:=(close-llv(low,12))/(hhv(high,12)-llv(low,12))*100;
kl:=sma(rsvl,3,1);
dl:=sma(kl,3,1);
kkl:=sma(rsvl,3,1);
dd:=sma(kl,3,1);
nl:=kkl+dd;
买入l:=drawicon(cross(nl,50),50,1),colorred;
卖出l:=drawicon(cross(160,nl),160,2),colorgreen;
卖出k:=cross(160,nl);
tm:=(close*1.0+low*0.0+high*0.0);
t1m:=v;
sl1m:=(tm/ref(tm,1)-1)*1000;
趋势5:=xma(xma(xma(sl1m,20),20),20),coloryellow;
趋势6:=xma(xma(xma(sl1m,10),10),10),colormagenta;
qa9:=趋势6-趋势5;
qa10:=ema(qa9,89);
买入m:=(qa9-qa10)*2,colorstick;
m1:=ema(c,5);m2:=ema(c,13);m3:=ema(c,34),colorblue,linethick2;
mc1:=ema(c,55);mc2:=ema(c,89);ma4:=ema(c,144);
var1a1h:=(ref(close,1)-ref(atr,1));
买线1:=ref(ema(c,14),1)colorwhite,linethick3;
卖线1:=if(mc1>max(mc2,ma4),mc1,if(mc1<min(mc2,ma4),mc2,ma4)),colorff00cc,linethick3;
高1:=ref(hhv(h,150),3);
低1:=ref(llv(l,150),3);
stickline(买线1>=卖线1,refdate(低1,date),refdate(低1,date)*0.96,6,0)color001050;
stickline(买线1<卖线1,refdate(低1,date),refdate(低1,date)*0.96,6,0)color404050;
stickline(买入m>=0,refdate(低1,date),refdate(低1,date)*0.98,2,1)colorred;
stickline(买入m<0,refdate(低1,date),refdate(低1,date)*0.98,2,1)colorgreen;
stickline(买入l,refdate(低1,date),refdate(低1,date)*0.96,2,0)coloryellow;
stickline(卖出k and 买入m<0,refdate(低1,date),refdate(低1,date)*0.96,2,0)colorcyan;
多空趋势彩带:drawband(sma(c,6.5,1),rgb(255,97,0),sma(c,13.5,1),rgb(0,128,0));
中线:=(卖出+买入)/2,pointdot,colorwhite,linethick4;
ma5:=ma(c,5),color000099;
ma10:=ma(c,10),color006600;
ma20:=ma(c,20),color005555;
zb1:=ema(c,34);{ 原为55或65 }
长期趋势:ema(zb1,13),colorred,linethick3;{原为34或55}
stickline(c>=ref(c,1),o,c,3,1),color000000;
stickline(c<ref(c,1),o,c,3,1),color000000;
aa3:=ema(close,5)>ema(close,6) and ema(close,6)>ema(close,7) and ema(close,7)>ema(close,8) and ema(close,8)>ema(close,9)
and ema(close,9)>ema(close,10) and ema(close,10)>ema(close,11) and ema(close,11)>ema(close,12)
and ema(close,12)>ema(close,13) and ema(close,13)>ema(close,14);
aa2:= ema(close,14)>ema(close,15)
and ema(close,15)>ema(close,20) and ema(close,20)>ema(close,30) and ema(close,30)>ema(close,60) and ema(close,60)>ema(close,90)
and ema(close,90)>ema(close,120) and ema(close,120)>ema(close,250);
a1:= aa2 and aa3;
a2:=ema(close,5)>ema(close,6) and ema(close,6)>ema(close,7) and ema(close,7)>ema(close,8) and ema(close,8)>ema(close,9)
and ema(close,9)>ema(close,10) and ema(close,10)>ema(close,11) and ema(close,11)>ema(close,12)
and ema(close,12)>ema(close,13) and ema(close,13)>ema(close,14);
b1:=if(a1,1,2);
var1mz:=((close > ref(close,1)) and (close > ref(close,2)));
var2mz:=((ref(var1mz,1) and (close <= ref(close,1))) and (close >= ref(close,2)));
var3mz:=((ref(var2mz,1) and (close >= ref(close,1))) and (close <= ref(close,2)));
var4mz:=((ref(var3mz,1) and (close <= ref(close,1))) and (close >= ref(close,2)));
var5mz:=((ref(var4mz,1) and (close >= ref(close,1))) and (close <= ref(close,2)));
var6mz:=((ref(var5mz,1) and (close <= ref(close,1))) and (close >= ref(close,2)));
var7mz:=((ref(var6mz,1) and (close >= ref(close,1))) and (close <= ref(close,2)));
var8mz:=((ref(var7mz,1) and (close <= ref(close,1))) and (close >= ref(close,2)));
var9mz:=((ref(var8mz,1) and (close >= ref(close,1))) and (close <= ref(close,2)));
varamz:=((ref(var9mz,1) and (close <= ref(close,1))) and (close >= ref(close,2)));
varbmz:=((ref(varamz,1) and (close >= ref(close,1))) and (close <= ref(close,2)));
varcmz:=((ref(varbmz,1) and (close <= ref(close,1))) and (close >= ref(close,2)));
{红k}
stickline((((((((((((var1mz or var2mz) or var3mz) or var4mz) or var5mz) or var6mz) or var7mz) or var8mz) or var9mz) or varamz) or varbmz) or varcmz),l,h,0,0),color0000dd;
stickline((((((((((((var1mz or var2mz) or var3mz) or var4mz) or var5mz) or var6mz) or var7mz) or var8mz) or var9mz) or varamz) or varbmz) or varcmz),c,ref(c,1),3,0),color000099;
stickline((((((((((((var1mz or var2mz) or var3mz) or var4mz) or var5mz) or var6mz) or var7mz) or var8mz) or var9mz) or varamz) or varbmz) or varcmz),c,ref(c,1),2,0),color0000bb;
stickline((((((((((((var1mz or var2mz) or var3mz) or var4mz) or var5mz) or var6mz) or var7mz) or var8mz) or var9mz) or varamz) or varbmz) or varcmz),c,ref(c,1),1,0),color0000dd;
vardmz:=((close < ref(close,1)) and (close < ref(close,2)));
varemz:=((ref(vardmz,1) and (close >= ref(close,1))) and (close <= ref(close,2)));
varfmz:=((ref(varemz,1) and (close <= ref(close,1))) and (close >= ref(close,2)));
var10mz:=((ref(varfmz,1) and (close >= ref(close,1))) and (close <= ref(close,2)));
var11mz:=((ref(var10mz,1) and (close <= ref(close,1))) and (close >= ref(close,2)));
var12mz:=((ref(var11mz,1) and (close >= ref(close,1))) and (close <= ref(close,2)));
var13mz:=((ref(var12mz,1) and (close <= ref(close,1))) and (close >= ref(close,2)));
var14mz:=((ref(var13mz,1) and (close >= ref(close,1))) and (close <= ref(close,2)));
var15mz:=((ref(var14mz,1) and (close <= ref(close,1))) and (close >= ref(close,2)));
var16mz:=((ref(var15mz,1) and (close >= ref(close,1))) and (close <= ref(close,2)));
var17mz:=((ref(var16mz,1) and (close <= ref(close,1))) and (close >= ref(close,2)));
var18mz:=((ref(var17mz,1) and (close >= ref(close,1))) and (close <= ref(close,2)));
{绿k}
stickline((((((((((((vardmz or varemz) or varfmz) or var10mz) or var11mz) or var12mz) or var13mz) or var14mz) or var15mz) or var16mz) or var17mz) or var18mz),c,ref(c,1),3 ,0 ),color00bb00;
stickline((((((((((((vardmz or varemz) or varfmz) or var10mz) or var11mz) or var12mz) or var13mz) or var14mz) or var15mz) or var16mz) or var17mz) or var18mz),c,ref(c,1),2 ,0 ),color00dd00;
stickline((((((((((((vardmz or varemz) or varfmz) or var10mz) or var11mz) or var12mz) or var13mz) or var14mz) or var15mz) or var16mz) or var17mz) or var18mz),c,ref(c,1),1 ,0 ),color00ff00;
stickline((((((((((((vardmz or varemz) or varfmz) or var10mz) or var11mz) or var12mz) or var13mz) or var14mz) or var15mz) or var16mz) or var17mz) or var18mz),h,l,0,0 ),color00dd00;
var19mz:=(ref((((((((((((vardmz or varemz) or varfmz) or var10mz) or var11mz) or var12mz) or var13mz) or var14mz) or var15mz) or var16mz) or var17mz) or var18mz),1) and var1mz);
var1amz:=(ref((((((((((((var1mz or var2mz) or var3mz) or var4mz) or var5mz) or var6mz) or var7mz) or var8mz) or var9mz) or varamz) or varbmz) or varcmz),1) and vardmz);
{粉红}
stickline(var19mz,ref(close,1),ref(close,2),3 ,0 ),colorff11ff;
stickline(var19mz,ref(close,1),ref(close,2),2 ,0 ),colorff44ff;
stickline(var19mz,ref(close,1),ref(close,2),1 ,0 ),colorff66ff;
{黄色}
stickline(var1amz,ref(close,1),ref(close,2),3,0),color00aaff;
stickline(var1amz,ref(close,1),ref(close,2),2,0),color00ccff;
stickline(var1amz,ref(close,1),ref(close,2),1,0),color00eeff;
ff:=ema(close,3);
ma15:=ema(close,21);
ttj:=cross(ff,ma15);
上:=ema(c,3),colorblue,linethick1;
中:=ema(c,5),colorwhite,linethick1;
下:=ema(中,5),color00ff00,linethick1;
qq:= c<中;
mm:=上>ref(上,1) and ref(上,1)<ref(上,2) ;
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);
ma1q:=mema(close,5);
ma2q:=atan((ma1q/ref(ma1q,1)-1)*100)*180/3.1416;
ma3q:=if(ma2q>0,ma2q,ma2q);
ma5q:=ma(close,5),color888899;
ma13:=ma(close,13),colorff00f0,linethick2;
var01:=close=hhv(c,4) and (ref(c,1)>=ref(c,2) or ref(c,1)>=ref(c,3))
or ref(c,1)=hhv(c,4) and close>=ref(c,2) or ref(c,2)=hhv(c,4) and
ref(c,3)=llv(c,4) and c>=ref(c,1) or ref(c,3)=hhv(c,4) and
c>=ref(c,1) and c>=ref(c,2);
var02:=close=hhv(c,4) and ref(c,1)=llv(c,4);
var03:=close=llv(c,4) and (ref(c,1)<ref(c,2) or ref(c,1)<ref(c,3)) or
ref(c,1)=llv(c,4) and c<ref(c,2) or ref(c,2)=llv(c,4) and
ref(c,1)=hhv(c,4) and c<ref(c,1) or ref(c,3)=llv(c,4) and
c<ref(c,1) and c<ref(c,2);
var04:=ref(c,1)=llv(c,4) and c>=ref(c,2) or ref(c,2)=llv(c,4) and
ref(c,1)<=ref(c,3) and ref(c,2)<ref(c,4) and c>=ref(c,1);
var05:=ref(c,1)=hhv(c,4) and c<ref(c,2) or (ref(c,2)=hhv(c,4) and
ref(c,1)>ref(c,3) or ref(c,3)=hhv(c,4) and ref(c,1)>ref(c,2)) and
ref(c,2)>=ref(c,4) and c<ref(c,1);
var06:=v5>ref(v5,1) and ref(v5,1)<ref(v5,2);
var07:=low<hhv(v5,13) and high>hhv(v5,13) and close>ref(c,1) and close>open;
var08:=var07 and count(var06,2);
var09:=100*ema(ema(c-ref(c,1),6),6)/ema(ema(abs(c-ref(c,1)),6),6);
var10:=ema(ma(c,13),13);
var11:=filter((llv(var09,2)=llv(var09,7) and count(var09<0,2) and
cross(var09,ma(var09,2)))=1,5);
var12:=filter((hhv(var09,2)=hhv(var09,7) and count(var09>50,2) and
cross(ma(var09,2),var09))=1,1);
var13:=sma(ema((c-ref(c,1))/ref(c,1),5)*100,3,1)*10;
var14:=filter(((cross(var13,0) or cross(c,var10)) and var11)=1,3);
var15:=ma(c,18)>=ref(ma(c,18),3) and cross(c,ma(c,18));
var16:=var08 and not(ref(var08,1));
rsvq:=(close-llv(low,9))/(hhv(high,9)-llv(low,9))*100;
k:=sma(rsvq,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 var04;
买3:=(var14 or var15) and var02;
买4:=(var02 and var11) or (var04 and var11);
买5:=(金叉 and var04) or (金叉 and var02) or (金叉 and var11);
ttj0:=var16;
ttj1:=买1 or 买2 or 买3 or 买4 or 买5 and mm;
xg0:=ttj and ttj0;
xg1:=ttj and ttj1;
xg11:=xg0 or xg1;
pl5:=zig(3,5);
en1:=zig(3,5)>ref(zig(3,5),1) and ref(zig(3,5),1)<=ref(zig(3,5),2) and ref(zig(3,5),2)<=ref(zig(3,5),3);
ex1:=zig(3,5)<ref(zig(3,5),1) and ref(zig(3,5),1)>=ref(zig(3,5),2) and ref(zig(3,5),2)>=ref(zig(3,5),3);
pl10:=zig(3,10);
en2:=zig(3,10)>ref(zig(3,10),1) and ref(zig(3,10),1)<=ref(zig(3,10),2) and ref(zig(3,10),2)<=ref(zig(3,10),3);
ex2:=zig(3,10)<ref(zig(3,10),1) and ref(zig(3,10),1)>=ref(zig(3,10),2) and ref(zig(3,10),2)>=ref(zig(3,10),3);
pl20:=zig(3,20);
en3:=zig(3,20)>ref(zig(3,20),1) and ref(zig(3,20),1)<=ref(zig(3,20),2) and ref(zig(3,20),2)<=ref(zig(3,20),3);
ex3:=zig(3,20)<ref(zig(3,20),1) and ref(zig(3,20),1)>=ref(zig(3,20),2) and ref(zig(3,20),2)>=ref(zig(3,20),3);
pl40:=zig(3,40);
走强1:=barslast(pl5<ref(pl5,1));
走弱1:=barslast(pl5>ref(pl5,1));
走强2:=barslast(pl10<ref(pl10,1));
走弱2:=barslast(pl10>ref(pl10,1));
走强3:=barslast(pl20<ref(pl20,1));
走弱3:=barslast(pl20>ref(pl20,1));
ztjz5:=if(pl10>ref(pl10,1),count(en1,走强2),0);
ztjd5:=if(pl10>ref(pl10,1),count(ex1,走强2),0);
dtjz5:=if(pl10<ref(pl10,1),count(en1,走弱2),0);
dtjd5:=if(pl10<ref(pl10,1),count(ex1,走弱2),0);
ztjz10:=if(pl20>ref(pl20,1),count(en2,走强3),0);
ztjd10:=if(pl20>ref(pl20,1),count(ex2,走强3),0);
dtjz10:=if(pl20<ref(pl20,1),count(en2,走弱3),0);
dtjd10:=if(pl20<ref(pl20,1),count(ex2,走弱3),0);
tj11:=en2 and ztjz5=1;
tj22:=en1 and pl10>ref(pl10,1) and ztjz5=2;
tj33:=en2 and dtjz10=1;
tj44:=en3 and ztjz10=1;
tj55:=en2 and pl20>ref(pl20,1) and ztjz10=2;
xg22:=tj11 or tj22 or tj33 or tj44 or tj55;
xgq:=xg11 or xg22;
w18:=exist(xgq,1);
drawtext(xgq,l-0.1,'●放心买'),colorred;
sqx:=(c-ma(close,13))*100;
diff:=ema(ma(sqx,7),1),colorwhite;
dea:=ema(diff,7),coloryellow;
macd:=(diff-dea)*2,colorstick;
股界神专用:if((cross(diff,dea) and diff<-0.1) ,l-0.2,drawnull),colormagenta,linethick9,crossdot;
低位金叉:=if(cross(diff,dea) and diff<-0.1,15,drawnull),colormagenta,linethick9,crossdot;
if(cross(diff,dea) and diff<-0.1,l-0.2,drawnull),coloryellow,linethick4,pointdot;
{再上n均线 n 10 1 100 1}
ma1:=ma(c,5);
ma2:=ma(c,10);
ma3:=ma(c,21);
破n:=ref(ma1,1)<ref(ma2,1)and ma2>ref(ma2,1);
试摸n:=c>ma(c,10) or h>=ma2;
再上n:=c>o and ref(c,1)< ma(c,10) and 试摸n and 破n and ma(c,21)<ma(c,10);
有行情:=再上n and (cross(c,长期趋势) or cross(l,长期趋势) or cross(h,长期趋势));
drawtext(有行情,low-0.2,'●有行情'),colorgreen;
var10b:=if(troughbars(3,16,1)=0 and high>low+0.04,4,0);
var11b:=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);
var12b:=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);
var13b:=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);
var14b:=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);
var15b:=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);
var16b:=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);
var17b:=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);
var18b:=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);
var19b:=ema(close,2)-ema(close,150);
买1b:=var10b;
买2b:=(var11b+var13b+var15b+var17b);
bb:=if(买1b>0 or 买2b>0 ,low*0.99,drawnull),crossdot,linethick3,coloryellow;
红买绿卖:if(cross(bb,买1b),low*0.99,drawnull),crossdot,linethick5,colorwhite;
牛节点:=cross(ema(c,5),ema(c,30))and cross(ema(c,10),ema(c,20));
drawicon(牛节点,l-0.1,13);
csar:=sar(10,2,20);
持币:=if(csar>=h,csar,0),circledot,colorgreen{持币};
持股:=if(csar<=l,csar,0),circledot,colorred{持股};
生命线2:=ema(slope(c,21)*20+c,42),linethick2,coloryellow;{股价在上持,在下空仓}
止损:=ema(c,5),coloryellow,linethick1;{红持股绿持币黄观望}
菩提b:=xma(h,20);{此函数仅做参考线,为提前趋势预测线,上涨途中向下见顶,下跌途中向上见底};
参买:=if(止损>=ref(止损,1),止损,drawnull),linethick2,colorred;{持股前提}
drawicon(cross(l,csar) and 参买>0 and h<菩提b and 持股>0
and h>长期趋势,(low- 0.1),5);
vvar1d:=((((open + low) + high) + close) / 4);
短底:=ema(vvar1d,5);
支撑:=hhv(短底,60);
man:=(sma(high,21,2) * 1.05);
下档线:=(((close - llv(low,13)) / (hhv(high,13) - llv(low,13))) * 100);
中d:=(((((3 * close) + high) + low) + open) / 6);
x1d:=ema(中d,10);
rsvd:=sma(下档线,3,1);
k大:=sma(rsvd,3,1);
d大:=((3 * rsvd) - (2 * k大));
j12:=(((close - llv(low,55)) / (hhv(high,55) - llv(low,55))) * 100);
rsv24:=sma(j12,3,1);
k24:=sma(rsv24,3,1);
d24:=((3 * rsv24) - (2 * k24));
压力位:=if(cross(d24,d大),high,ref(high,barslast(cross(d24,d大)))),colorffffff;
牛浮面:=cross(close,ma20) and high < 压力位 and open < ma20
and high < 支撑 and man - ref(man,1) > 0 and x1d - ref(x1d,1)>0 and
d大 < 63 and ma20 - ref(ma20,1) > 0,colorwhite;
drawtext(牛浮面,l,'●牛浮面'),colorwhite;
co:=(c-o);
绿k:=(卖出>low and 卖出<high) or (卖出>min(c,o) and 卖出<max(c,o))
or卖出<low;
{全绿k}
全绿k2:=c>卖出 or (h>卖出 and o>c);
stickline(全绿k2,c,o,3,0),color00bb00;
stickline(全绿k2,c,o,2,0),color00dd00;
stickline(全绿k2,c,o,1,0),color00ff00;
上一指标公式:极品操盘主图指标下载 通达信源码极品
☉ 好公式网发布的指标公式主要用于软件技术面分析,仅供参考,勿用于实际操作,据此操作风险自负!
☉ 解压密码:www.goodgongshi.com 就是好公式网域名,希望大家看清楚,切勿输错。
☉ tnc和tni格式指标公式,仅可以用通达信软件引入使用,例如可以用通达信软件引入使用指标公式;
☉ tne格式指标公式,仅可以用通达信软件公式编辑器5.0版导入,高版本兼容低版本;
☉ fnc格式指标公式,可以用大智慧软件新一代高速行情分析系统股票软件使用,少部分可以用分析家软件引入使用;
☉ alg格式指标公式,仅仅可以用飞狐交易师软件引入使用;exp格式指标公式,仅可以用大智慧经典版软件引入使用;
☉ hxf格式指标公式,仅可以用同花顺软件引入使用。
☉ 如果您发现下载软件链接错误,请联系管理员报告错误。
☉ 好公式网欢迎各位网友帮忙宣传转发本站网址,有您的支持,我们会做得更好!
☉ 本文股市提钱机指标下载 通达信股市仅供学习研究。