黑马指标,无未来,不加密,喜欢的可以玩玩
{黑马}
AHC1:=CLOSE*VOL;
AHC22:=EMA((EXPMA(AHC1,23)/EXPMA(VOL,23)+EXPMA(AHC1,54)/EXPMA(VOL,54)+EXPMA(AHC1,108)/EXPMA(VOL,108)+EXPMA(AHC1,316)/EXPMA(VOL,316))/4,34);
通道:=1.0668*AHC22;
起爆:=CROSS(C,通道) AND REF(C,1)*1.05-C<0.008 AND C>O*0.5;
RRF:=起爆;
A1:=ABS(((3.48*CLOSE+HIGH+LOW)/4-EMA(CLOSE,23))/EMA(CLOSE,23));
A2:=DMA(((2.15*CLOSE+LOW+HIGH)/4),A1);
金线王:=EMA(A2,200)*1.118;
金线王2:=EMA(A2,200)*1.118;
条件:=(C-REF(C,1))/REF(C,1)*100>8;
金K线:=CROSS(C,金线王) AND 条件;
AA05:=MA(C,5);
AA30:=MA(C,30);
MA05:=MA(C,5);
MA13:=MA(C,13);
MA34:=MA(C,34);
速度5:=SMA(EMA((MA05-REF(MA05,1))/REF(MA05,1),3)*100,3,1);
加速度5:=EMA((速度5-REF(速度5,1)),3);
五日乖离率:=(C-AA05)/AA05*100;
三拾日乖离率:=(C-MA34)/MA34*100;
MR:=COUNT(CROSS(五日乖离率,0),3)>=1 AND 三拾日乖离率>REF(三拾日乖离率,1) AND AA05>REF(AA05,1) AND (C/REF(C,1)-1)*100>5 AND REF(C,1)<AA30;
买入:=FILTER(MR,13);
{
DRAWTEXT(RRF,9,'黑马一号'),COLORYELLOW;
}
{DRAWTEXT(RRF,8.5,'黑'),COLORYELLOW;}
STICKLINE(金K线,10,0,5,0),COLORFFFFFF;
STICKLINE(金K线,10,0,3,0),COLORRED;
DRAWTEXT(金K线,6,'黑马启动'),COLORYELLOW;
{DRAWTEXT(RRF,3.5,'启'),COLORRED;
DRAWTEXT(RRF,1,'动'),COLORRED;}
STICKLINE(买入,10,0,6,0),COLORRED;
STICKLINE(买入,10,0,3,0),COLORYELLOW;
{DRAWTEXT(买入,10.5,'黑'),COLORYELLOW;
DRAWTEXT(买入,7.5,'马'),COLORYELLOW;
DRAWTEXT(买入,4.5,'必'),COLOR00FFFF;}
DRAWTEXT(买入,1.5,'黑马必抓'),COLOR00FFFF;
{无敌抄底}
{
买进:=COUNT(REF(EMA(C,9),1)<REF(EMA(C,9),2),5)=5 AND EMA(C,9)>REF(EMA(C,9),1),COLORRED;
DRAWTEXT(买进,5,'↖关注'),COLORYELLOW;
}
{顶底整合}
VARA4:=AMOUNT/VOL/100;
VARA5:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
VARA7:=SUM(AMOUNT,13)/VARA4/100;
VARAE:=DMA(VARA5,VOL/VARA7);
VARB1:=MA(HHV(HIGH,488),18);
VARB2:=MA(HHV(HIGH,220),18);
VARB3:=MA(HHV(HIGH,98),18);
VARB4:=MA(LLV(LOW,488),18);
VARB5:=MA(LLV(LOW,220),18);
VARB6:=MA(LLV(LOW,98),18);
VARB7:=MA((VARB4*0.96+VARB5*0.96+VARB6*0.96+VARB1*0.558+VARB2*0.558+VARB3*0.558)/6,18);
VARB8:=MA((VARB4*1.25+VARB5*1.23+VARB6*1.2+VARB1*0.55+VARB2*0.55+VARB3*0.65)/6,18);
VARB9:=MA((VARB4*1.3+VARB5*1.3+VARB6*1.3+VARB1*0.68+VARB2*0.68+VARB3*0.68)/6,18);
VARBA:=MA((VARB7*3+VARB8*2+VARB9)/6*1.738,18);
VARBC:=LOW;
VARBD:=REF(LOW,1);
VARBE:=SMA(ABS(VARBC-VARBD),3,1)/SMA(MAX(VARBC-VARBD,0),3,1)*100;
VARBF:=MA(IF(CLOSE*1.35<=VARBA,VARBE*10,VARBE/10),3);
VARC0:=LLV(LOW,30);
VARC1:=HHV(VARBF,30);
VARC2:=IF(LOW<=VARC0,(VARBF+VARC1*2)/2,0);
挖坑:=-(MA(VARC2 AND CLOSE<COST(1),3) AND (CLOSE-VARAE)/VARAE*100<-11)*3,COLORGREEN,LINETHICK1;
XX2:=(MA(CLOSE,89)-MA(CLOSE,34)/3);
SQX:=MA((CLOSE-XX2)/XX2,10)*0.01;
买3:=IF(CROSS(SQX,0) AND LOW/REF(HIGH,1)<1.012,60,0), STICK,COLORWHITE,LINETHICK2;
稳赚:=IF(COUNT(SQX>REF(SQX,1),3)=3 AND COUNT(SQX<0,10)=10 AND REF(SQX,3)=LLV(SQX,10),60,0),COLOR9999FF;
买4:=IF(REF(SQX,2)=LLV(SQX,20) AND REF(SQX,2)<0.071 AND REF(SQX,2)<REF(SQX,1) AND NOT(REF(LOW,1)>REF(HIGH,2) AND LOW>REF(HIGH,1)) AND CLOSE>REF(CLOSE,1),60,0),COLORFF00FF,LINETHICK2;
DRAWTEXT( 买3>0,8 ,' ↖买'),COLORYELLOW;
DRAWTEXT( 稳赚>0,8 ,'↖稳赚'),COLOR9999FF;
STICKLINE(买4,10,0,3,0),COLORRED;
DRAWTEXT( 买4>0,8 , ' ↖买'),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);
买点准备:- IF(趋势线<=10,3,0)*0.2,COLORGREEN;
{主力进场}
VARV1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);
VARV2:=SMA(ABS(LOW-VARV1),13,1)/SMA(MAX(LOW-VARV1,0),10,1);
VARV3:=EMA(VARV2,10);
VARV4:=LLV(LOW,33);
VARV5:=EMA(IF(LOW<=VARV4,VARV3,0),3);
主力进场:STICKLINE(VARV5>REF(VARV5,1),0,VARV5*0.1,5,0 ),COLORMAGENTA;
洗盘:STICKLINE(VARV5<REF(VARV5,1),0,VARV5*0.2,5,0),COLORGREEN;
趋势线1:= 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);
见底信号:= 2;
准备买入:- IF(趋势线1<=10,50,0)*0.01,COLORGREEN;
买入时间:= IF(CROSS(趋势线1,见底信号),100,0),COLORCYAN;
STICKLINE(买入时间,10,0,5,0),COLORRED;
STICKLINE(买入时间,10,0,2,0),COLORYELLOW;