GAPUP:=L>REF(H,1);
COND1:=LLV(L,BArslAST(GAPUP))>=REF(H,BARSLAST(GAPUP)+1);
VAR分一:=DATE<81251030 AND BARSLAST(MA(C,120)VAR分二:=MAX(MAX(MAX(MAX(MAX(MAX(MAX(MA(V,3)*(1-2/88),MA(V,5)*(1-4/88)),MA(V,7)*(1-6/88)),MA(V,9)*(1-8/88)),MA(V,11)*(1-10/88)),MA(V,13)*(1-12/88)),MA(V,15)*(1-14/88)),MA(V,17)*(1-16/88));
VAR分三:=(V>MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(VAR分二,MA(V,19)*(1-18/88)),MA(V,21)*(1-20/88)),MA(V,23)*(1-22/88)),MA(V,25)*(1-24/88)),MA(V,27)*(1-26/88)),MA(V,29)*(1-28/88)),MA(V,31)*(1-30/88)),MA(V,33)*(1-32/88)),MA(V,35)*(1-34/88)),MA(V,37)*(1-36/88)),MA(V,39)*(1-38/88))OR V>MA(V,50)*(1+49/88));
XG:VAR分一 AND (BARSLAST(BARSLASTCOUNT(V>REF(V,1))>1 AND C>=O)<3 OR (V>REF(V,1) AND REF(C,1)<=REF(O,1))) AND C>O AND BARSLAST(L