最高:=HHV(H,5);
最低:=LLV(L,5);
Q1:=(最高-最低)/最低>0.3;
T1:=BArslAST(Q1);
T2:=BETWEEN(T1,0,2);
T3:=REF(MA(C,5),1)>REF(MA(C,5),5);
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
macd:=(DIF-DEA)*2;
T4:=MacD
VAR2:=LLV(LOW,10);
VAR3:=HHV(HIGH,25);
VAR4:= EMA((CLOSE-VAR2)/(VAR3-VAR2)*4,4);
T5:=VAR4
T6:=L>MA(C,10);
T7:=C
Q2:=REF(T2,1)>0 AND T3 AND T4 AND T5 AND T6 AND T7 AND T8;
T9:=C>O*1.028;
T10:=O
XG:FILTER(T11,20);