AA:= REF(CLOSE,13);BBB:=SMA(MAX(CLOSE-AA,0),34,1)/SMA(A(CLOSE-AA),34,1)*1000;HHH:=BBB-LLV(BBB,11);DQ:=(MA(HHH,21)*3+HHH*13)/16;DQ2:=REVERSE(DQ);PJZH:=(C+H+L)/3;D:=MA(PJZH,4);CZUO:=D;MMZL:=LLV(D,8);XG1:=(CZUO-MMZL)>0 AND REF((CZUO-MMZL),1)=0;BZHA:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*10;BZHB:=SMA(BZHA,3,1);AAA:=SMA(BZHB,3,1);ABB:=IF(AAA>=REF(AAA,1),AAA,0);XG2:=AAA=ABB AND AAA<5 REF(ABB,1)=0>=REF(AAA,1);XG:=XG2 AND XG1;:XG=1 AND DQ<5;