最新版135战法主图之红杏出墙选股指标公式

EMA13:=MA(C,13);

EMA34:=MA(C,34);

EMA55:=MA(C,55);

HX1:=EMA13<EMA34 AND EMA34<EMA55;{股价长期下跌,并且远离长期均线}

HX2:=BArslAst((C-EMA13)/EMA13*100<-6);{收盘价在13均线%6到现在的天数}

HX3:=Abs(1-EMA55/REF(C,1))>0.1;

HX6:=BARSLAST(crOSS(EMA55,EMA34))>=20;{13日均线下降趋于走平}

HX4:=ABS(1-REF(EMA13,1)/EMA13)<0.004 AND C<EMA34;

HX5:=REF(C,1)<EMA13 AND C>EMA13 AND C>O;

HX7:=HX1 {AND HX3} AND HX4 AND HX5 ;

HX8:=HX7 AND FILTER(HX7,10);{满足后10天内不标记}

红杏出墙:HX8;