大智慧大黑马指标公式

y1:ema(max(ema((ma(c,1)+ma(c,3)+ma(c,5))/3,1)-ema((ma(c,2)+ma(c,4)+ma(c,6))/3,2),0)*100,3),stick,color000999;

y2:stickline(y1<ref(y1,1),0,y1,1,0),colorff0000;

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

g2:=llv(l,34);

g3:=hhv(h,34);

g4:=ema((g1-g2)/(g3-g2)*100,8);

g5:=ema(g4,5);stickline(g4-g5>0,g4,g5,6,1),colorred;

stickline(g4-g5<0,g4,g5,6,1),colorf0f000;

c1:=c-ref(c,1);

c2:=if(c1>0,c1,0);

c3:=if(c1<0,-c1,0);

c4:=ema(c2,7);

c5:=ema(c3,7);

r7:=c4/(c4+c5)*100;{,colorgray}

r2:SMA(max(c-ref(c,1),0),2,1)/sma(abs(c-ref(c,1)),2,1)*100,colorgreen;

v55:=(c-llv(l,55))/(hhv(h,55)-llv(l,55))*100;

k55:3*sma(v55,5,1)-2*sma(v55,5,1),color9999ff;

m:=ema(k55,5);

v1:=(m-ref(m,1))/ref(m,1)*100;

v21:=(c-llv(l,21))/(hhv(h,21)-llv(l,21))*100;

趋:=ma(3*sma(v21,6,1)-2*sma(sma(v21,5,1),5,1),2);

w60:=(hhv(h,60)-c)/(hhv(h,60)-llv(l,60))*100;

v21a:=ema((llv(l,21)-(h+l)/2)/(hhv(h,21)-llv(l,21))*-100,2);

k21a:5*sma(v21a,5,1)-3*sma(sma(v21a,4,1),3,1)-sma(sma(sma(v21a,4,1),3,1),2,1),coloryellow;

v18:=(c-llv(l,18))/(hhv(h,18)-llv(l,18))*100;

长:4*sma(v18,20,1)-3*sma(sma(v18,20,1),3.2,1),colorff00ff;

drawtext(filter(ref(k55,1)>91 and cross(ref(k55,1),k55),7),90,'抛'),colorwhite;

DRAWTEXTABS(5,5,'指标网 www.zhibiaow.com'),linethick1,COLOR00EEff;

黑马1:if(cross(v55,m) and m<w60,1,0);drawtext(黑马1=1,20,'黑马'),colorff99ff;

追涨1:if(cross(m,w60) and 趋<80,1,0);drawtext(追涨1=1,50,'追涨'),coloryellow;

大黑马1:if(cross(趋,0) and m<40,1,0);drawtext(大黑马1=1,55,'大黑马'),colorff00ff;

底部80:if(v1<-10 and v1>ref(v1,1),80,100),colorred;drawtext(底部80=80,77,'底部'),colorred;

a1:=if((ma(c,5)-c)/c>0.04 and (ma(c,10)-ma(c,5))/ma(c,5)>0.04,90,100);

机会90:if(cross(a1,ref(a1,1)+1),90,100),colorff99ff;drawtext(机会90=90,87,'机会'),colorff99ff;

升5:if(cross(r7,ref(r7,1)-5) and ref(r7,1)<17,5,0),coloryellow;

drawtext(升5=5,14,'升'),coloryellow;k21:if((cross(7,k21a) and k55<20) or (cross(10,k21a) and k55>34.5),21,0),colorff88ff,

stick;b1:="cci"(14)<-120;

b2:=(c-ma(c,5))/ma(c,1)*100<1;

b3:=(c-ma(c,13))/ma(c,13)*100<-10;

b4:=(c-ma(c,34))/ma(c,34)*100<-15;

b5:=if(b1 and b2 and b3 and b4 and r7<18,20,5);

低20:if(cross(ref(b5,1)-1,b5),20,0),color0000ff;

drawtext(低20=20,25,'低'),color0000ff;

短1:if(cross(7.3,r2),1,0);

进1:if(cross(r2,ref(r2,1)-5) and ref(r2,1)<20,1,0);

drawtext(短1=1,5,'*'),color00ff00;

drawtext(进1=1,5,'*'),colorwhite;

drawtext(cross(ref(r7,1)+4,r7) and k21a>83 and ref(r7,1)>83.5,95,'跌'),color00ff00;

20,colorff9999,pointdot;

50,coloryellow,pointdot;

80,color00ff00,pointdot;