DA:=2230911;
XZ:=IF(DATE
DE:=(EMA(DI,9))*XZ;
M:=(DI-DE)*2*XZ;
R:=IF(CODELIKE('60') OR CODELIKE('00'),10,20)*XZ;
ZT:=100*(C/REF(C,1)-1)>R-0.01/REF(C,1)*100;
DT:=100*(C/REF(C,1)-1)<-R+0.01/REF(C,1)*100;
SPAN:=BARSLAST(EVERY(ZT,2));
量:=REF(V,1)=LLV(V,SPAN);
共振:=M>REF(M,1) AND REF(M,1)XG:SPAN<=13 AND SPAN>=5 AND 量 AND 共振;