【大智慧】大黑馬指標(biāo)公式
攻城獅 2015.11.30 14:55
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 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;
長(zhǎng):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,’概念股網(wǎng) www.chiang1015.com’),linethick1,COLOR00EEff;
黑馬1:if(cross(v55,m) and m追漲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);
機(jī)會(huì)90:if(cross(a1,ref(a1,1)+1),90,100),colorff99ff;drawtext(機(jī)會(huì)90=90,87,’機(jī)會(huì)’),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);
進(jìn)1:if(cross(r2,ref(r2,1)-5) and ref(r2,1)<20,1,0);
drawtext(短1=1,5,’*’),color00ff00;
drawtext(進(jìn)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;
申明:本文為作者投稿或轉(zhuǎn)載,在概念股網(wǎng) http://www.chiang1015.com/ 上發(fā)表,為其獨(dú)立觀點(diǎn)。不代表本網(wǎng)立場(chǎng),不代表本網(wǎng)贊同其觀點(diǎn),亦不對(duì)其真實(shí)性負(fù)責(zé),投資決策請(qǐng)建立在獨(dú)立思考之上。