N:=31;
K:=3;
DK:=9.5238*EMA(100*(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N)),K)/4;
DB:=BARSLASTCOUNT(DK<=(10))=3;
S1:=FINANCE(7)<2000000000;
S2:=DYNAINFO(4)>0;
S3:=IF(NAMELIKE('S'),0,1);
S4:=IF(NAMELIKE('*'),0,1);
S5:=IF(CODELIKE('300'),0,1);
S6:=DYNAINFO(17)>0;
GJFW:=DYNAINFO(7)>5 AND DYNAINFO(7)<30;
XG:DB AND S1 AND S2 AND S3 AND S4 AND S5 AND GJFW AND S6 AND GJFW;