{隔山打牛选股指标}
TJ1:=REF(C,6)>REF(C,7) AND REF(C,6)>REF(O,6) AND REF(C,5)<REF(O,5) AND REF(H,5)>REF(O,5) AND REF(L,5)<REF(C,5)
AND REF(O,5)/REF(C,5)<1.02 AND REF(C,4)>REF(O,4);
TJ2:=REF(C,3)>REF(O,3)AND REF(C,3)>REF(C,4);
TJ3:=REF(C,2)>REF(O,2)AND REF(O,2)>MAX(REF(C,5),MAX(REF(C,6),REF(C,4)))
AND REF(O,1)>MAX(REF(C,5),MAX(REF(C,6),REF(C,4)))
AND REF(C,1)<REF(O,1) AND REF(H,1)>REF(O,1) AND REF(L,1)<REF(C,1)
AND REF(O,1)/REF(C,1)<1.02 AND C>O AND O>MAX(REF(C,5),MAX(REF(C,6),REF(C,4)));
TJ4:=NOT(COUNT(REF(C,1)/REF(C,2)>1.099,6)) AND MA(C,5)>MA(C,10) AND MA(C,10)>MA(C,20)
AND C/REF(C,1)>1.01 AND O<REF(O,1);
TJXG:=TJ1 AND TJ2 AND TJ3 AND TJ4;
YJ1:=REF(C,5)>REF(C,6) AND REF(C,5)>REF(O,5) AND REF(C,4)<REF(O,4) AND REF(H,4)>REF(O,4) AND REF(L,4)<REF(C,4)
AND REF(O,4)/REF(C,4)<1.02 AND REF(C,3)>REF(O,3);
YJ3:=REF(C,2)>REF(O,2)AND REF(O,2)>MAX(REF(C,5),MAX(REF(C,4),REF(C,3)))
AND REF(O,1)>MAX(REF(C,5),MAX(REF(C,4),REF(C,3)))
AND REF(C,1)<REF(O,1) AND REF(H,1)>REF(O,1) AND REF(L,1)<REF(C,1)
AND REF(O,1)/REF(C,1)<1.02
AND C>O AND O>MAX(REF(C,5),MAX(REF(C,4),REF(C,3)));
YJ2:=NOT(COUNT(REF(C,1)/REF(C,2)>1.099,5)) AND MA(C,5)>MA(C,10) AND MA(C,10)>MA(C,20)
AND C/REF(C,1)>1.01 AND O<REF(O,1);
YJXG:=YJ1 AND YJ3 AND YJ2;
TYXG:TJXG OR YJXG;
黑马绝技
EMA13:=EMA(C,13);
EMA30:=EMA(C,30);
EMA60:=EMA(C,60);
EMA90:=EMA(C,90);
EMA120:=EMA(C,120);
EMA250:=EMA(C,250);
F1:=EMA30-EMA60<130/1000 AND EMA30-EMA90<230/1000 AND EMA30-EMA120<330/1000;
F2:=EMA60-EMA30<130/1000 AND EMA60-EMA90<230/1000 AND EMA60-EMA120<330/1000;
F3:=EMA90-EMA30<130/1000 AND EMA90-EMA60<230/1000 AND EMA90-EMA120<330/1000;
F4:=EMA120-EMA30<130/1000 AND EMA120-EMA60<230/1000 AND EMA120-EMA90<330/1000;
F5:=EMA30-EMA60<100/1000 AND EMA30-EMA90<200/1000;
FF1:=F1 AND F2 AND F3 AND F4 AND CROSS(EMA30,EMA60);
FF2:=F1 AND F2 AND F3 AND F4 AND CROSS(EMA(C,13),EMA30);
FF3:=F5 AND C>EMA250 AND CROSS(EMA30,EMA60);
G1:=EMA60-EMA90<220/1000 AND EMA60-EMA120<320/1000 AND EMA60-EMA250<420/1000;
G2:=EMA90-EMA30<220/1000 AND EMA90-EMA60<320/1000 AND EMA90-EMA250<420/1000;
G3:=EMA120-EMA60<220/1000 AND EMA120-EMA90<320/1000 AND EMA120-EMA250<420/1000;
G4:=EMA250-EMA60<220/1000 AND EMA250-EMA90<320/1000 AND EMA250-EMA120<420/1000;
GG1:=G1 AND G2 AND G3 AND G4 AND CROSS(EMA13,EMA30);
GG2:=G1 AND G2 AND G3 AND G4 AND CROSS(EMA30,EMA60);
BUYHAOUG:FF1 OR FF2 OR FF3 OR GG1 OR GG2;