SAT:=IF((AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100>100,100,(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100);
X1:=(C+L+H)/3;
BB13:=ATAN(EMA(X1,13)-REF(EMA(X1,13),1))*3.1416*10;
XJ:=FILTER(BB13>1.7 AND EMA(X1,3)>EMA(X1,5),5);
A1:=V=HHV(V,100);
A2:=C/OPEN>1.030;
TJ:=A1 AND A2;
XX:=REF(BArslAST(TJ),1)>90 OR BARSSINCE(TJ)=0;
XG1:=XJ AND XX AND TJ;
VAR4:=LLV(LOW,10);
VAR3:=HHV(HIGH,25);
SZ:=EMA((CLOSE-VAR4)/(VAR3-VAR4)*4,4)<2.7;
XG: SZ AND XG1;