DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
A1:=O<=MA(C,5);
A2:=O<=MA(C,10);
A3:=O<=MA(C,20);
A4:=O<=MA(C,30);
A5:=O<=MA(C,60);
B1:=C>=MA(C,5);
B2:=C>=MA(C,10);
B3:=C>=MA(C,20);
B4:=C>=MA(C,30);
B5:=C>=MA(C,60);
KK1:=A1 + A2 + A3+ A4 + A5>=4;
KK2:=B1 +B2 + B3+ B4 + B5>=4;
OC:=100*(CLOSE-MA(CLOSE,20));
OS:=EXPMEMA(OC,6);
OO:=MA(OS,10) ;
O3:=MA(OS,20) ;
猎杀:KK1 AND KK2 AND DIF+0.02>DEA AND C/REF(C,1)<1.096 AND C>MA(C,60) AND C/REF(C,1)<1.03 AND (H-MAX(C,O))/REF(C,1)<0.03 ;