N:=1;
ZTB:=C/REF(C,1)>1.097;
B:=EVERY(ZTB,N);
BT:=BARSLAST(B);
NGZTB:=REF(C,BT+N)/REF(C,BT+N+1)<1.097;
HT:=FINDHIGHBARS(H,0,15,1);
DD:=BT-HT=0 OR BT-HT=1;
CJL:=V<MA(V,20);
LLB:=FINDLOWBARS(L,0,HT,1)<=2;
LC:=LLV(C,HT)>MA(C,30);
LL:=LLV(C,HT)>REF(C,BT+N);
ZF30:=100*(REF(C,BT+N-1)-LLV(L,B+60))/LLV(L,B+60)<=50;
ZTBHT:=DD AND NGZTB AND CJL AND LLB AND LC AND LL AND ZF30;
A:=BARSLAST(ZTBHT);
A31:=REF(BT,1);
AA:=A<A31;{公式网WWW.GPXIAZAI.COM}
A2:=LLV(C,A31+1)>REF(C,A31+2) AND A31<30 AND C=HHV(C,A31+1);
XG:AA AND A2 AND ZTB AND COUNT(ZTB,A31+1)=1;