N:=4;
MA30:=MA(C,30);
S:=IF(DYNAINFO(7)=0,0,1);
HZ:=HHV((H+L)/2,120);
WX:=MA(C,0);
M13:=MA(CLOSE,13)*IF(N<2,WX,1);
AAA:=(2*C+H+L)/4;
VAR44:=(2*CLOSE+LOW+HIGH)/4;
CCC:=MA(AAA,5);
SSS:=EMA(VAR44,45)*1.15;
J1:=C<REF(C,1);
XG1:=L<SSS AND C>SSS*0.99 AND (HHV(H,6)-SSS)/SSS>0.168 AND V<REF(V,1) AND (COUNT(J1,4)>=4 OR (COUNT(J1,4)>=3 AND C>REF(C,1)));
XGG:XG1 AND REF(XG1,1)=0 ;