QQ:= CLOSE>REF(CLOSE,1)*1.02;
BB:=SMA(MAX(CLOSE-REF(CLOSE,1),0),21,1)/SMA(Abs(CLOSE-REF(CLOSE,1)),21,1)*1000;
GG:=MA(BB-LLV(BB,27),5);
AA:=(REF(H,4)-REF(L,1))/C*100>10;
RB:=((CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100/2+22)*1;
QB:=((EMA(AMOUNT,13) /EMA(vol,13)) / 100);
ZH:=(((((CLOSE -QB) / QB) * 100) < (0)) AND ZXNH);
CD:=ZH AND (CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100<RB-2;
攻城:AA AND QQ AND CD>0 ;