CSAR:=SAR(10,2,20);
A1:=CSAR>=H;
A2:=CSAR<=L;
A3:=EMA(SLOPE(C,21)*20+C,42);
A4:=EMA(C,3);
A5:=EMA(C,5);
A6:=EMA(H,20);
A7:=A5>=REF(A5,1);
TJ2:=CROSS(L,CSAR) AND A7>0 AND H0 AND H>A3;
TJ1:=CROSS(A4,A3) AND H>A3 AND A6>A4 AND H
XG:TJ1 OR TJ2,LINETHICK2,COLORRED;