{公式名称: 强势股反杀2
公式描述:
无参数
公式类型: 条件选股公式-其他类型
公式版本: 0
参数精灵:无
用法注释:无
公式源码:}
VAR1:=MA(CLOSE,5);
VAR2:=MA(CLOSE,24)+2*STD(CLOSE,24);
VAR3:=OPEN<VAR1 AND CLOSE>VAR1 AND OPEN<VAR2 AND CLOSE>VAR2 AND MA(CLOSE,60)>REF(MA(CLOSE,60),1) AND CLOSE/REF(CLOSE,1)>1.03;
VAR4:=HHV(CLOSE,5)/LLV(OPEN,5)<1.05;
VAR5:=COUNT(REF(VAR3,1),5)<1 AND VAR3;
VAR6:=CLOSE>OPEN AND CLOSE/OPEN<1.01;
VAR7:=REF(CLOSE,1)/REF(CLOSE,2)<1.05;
VAR8:=HIGH>=HHV(CLOSE,20);
VAR9:=REF(VAR5,1);
VAR10:=HIGH/LOW>1.03;
VAR11:=HHV(CLOSE,7)/LLV(OPEN,7)<1.15;
VAR12:=VAR6 AND VAR9 AND VAR10 AND VAR11 OR (VAR5 AND VAR8 AND VAR11);
VAR13:=MA(CLOSE,20);
VAR14:=CLOSE>MA(CLOSE,5);
VAR15:=MA(CLOSE,5)>MA(CLOSE,10);
VAR16:=CLOSE>MA(CLOSE,10);
VAR17:=MA(CLOSE,5)>MA(CLOSE,20);
VAR18:=CLOSE>MA(CLOSE,20);
VAR19:=REF(VAR13,1);
VAR20:=VAR13>VAR19;
VAR21:=IF(VAR14,10,0-10)+IF(VAR15,10,0-10)+IF(VAR16,10,0-10)+IF(VAR17,10,0-10)+IF(VAR18,10,0-10)+IF(VAR20,10,0-10);
VAR22:=REF(VAR21,1)<=0 AND VAR21>0;
VAR23:=VAR21>10 AND VAR21>=REF(VAR21,1) AND VAR21>=REF(VAR21,2);
VAR24:=VAR21=60;
VAR25:=VAR22 OR VAR23 OR VAR24;
VAR26:=BARSLAST(NOT(VAR24));
XG:FILTER(VAR12,6) AND VAR24=1 AND VAR26=1;