V1:=MA(V,5);
V2:=MA(V,20);
D1:=V REF(HHV(V,2),1) AND RANGE(V1,V2,V) AND UPNDAY(V1,2) AND UPNDAY(V2,2);
D2:=H REF(HHV(H,2),1);
D3:=MAX(C,O);
D4:=D3 REF(HHV(D3,2),1);
DA:=D1 AND D2 AND D4;
P1:=BArslAST(DA=1);
P2:=REF(REF(H,1),P1);
DB:=IF(DA,0,IF(C P2,1,0));
LJ:=REF(HHV(H,P1+1),BARSLAST(DB));
T18:=IF(C LJ,IF(REF(D3 LJ,1),1,0),0);
T:=IF(NAMELIKE('ST'),0,1) AND IF(NAMELIKE('*'),0,1);
T2:=NOT(CODELIKE('688'));
T3:=NOT(CODELIKE('3'));
T5:=NOT(CODELIKE('4'));
T6:=NOT(CODELIKE('8'));
T7:=NOT(INBLOCK('近期解禁'));
T8:=NOT(INBLOCK('拟减持'));
T9:=IF((INBLOCK('近期强势')OR INBLOCK('最近闪拉')
OR INBLOCK('最近异动') OR INBLOCK('绩优股')),1,0);
T101:=T AND T2 AND T5 AND T6 AND T7 AND T8 AND T9;
T10:=(H+L+O+2*C)/5;
T11:=EMA(T10,39);
T12:=EMA(T10,99);
T13:=T11 =T12;
T16:=REF(H,20);
T17:=REF((C-REF(C,20))/REF(C,20)*100,1);
T19:=REF(C,1)/REF(C,2) 1.098;
T20:=COUNT(T19,23)
T21:=T18 AND T101 AND C MA(C,T16) AND T17 15 AND T13 AND T20;
T22:=FILTER(T21,10);
T23:=REF(V REF(V,1)*2 AND C/REF(C,1) =1.098,1);
T24:=COUNT(T23,4)
VX1:=COUNT(EVERY(V =MA(V,135),1),35)
VX:=(COUNT(EVERY(V =MA(V,135),10),50) =1 AND COUNT(EVERY(V =MA(V,135),1),15) =5)
OR COUNT(EVERY(VX1,1),15)
N1:=V =REF(V,1)*1.45 AND VX;
T25量能:=COUNT(EVERY(N1,1),25)
T26:=T18 AND T9 AND T17 10 AND REF(C,2)/REF(C,1) 1.03 AND T24 AND T25量能;
T27:=T21 OR T26;
T28:FILTER(T27,10);