A2:=BArslAST(((EMA(C,5) * 7 + EMA(C,10) * 3) / 10 > MA(H,30) * (1 + 13 / 100)) <> REF((EMA(C,5) * 7 + EMA(C,10) * 3) / 10 > MA(H,30) * (1 + 13 / 100),1));
A3:=SUM(IF(C >= REF(C,1),(C - REF(C,1)) / REF(C,1) * 100,0),A2 + 1);
A4:=(H + L + O + C) / 4;
A5:=EMA(A4,13) - EMA(A4,34);
A6:=EMA(A5,5);
A7:=(A5 - A6) * 5;
A8:=IF(A7 >= 1000,1000,IF(A7 <= A4,A4,A7));
A9:=FORCAST(FORCAST(A8,32),10);
A10:=(C - EMA(C,13)) / EMA(C,13) * (0 - 100);
A11:=EMA(A10 / 10 + EMA(C,13),8);
A12:=EMA(C,3);
A13:=EMA(SLOPE(C,22) * 20 + C,45);
A14:=IF(PERIOD > 8 AND PERIOD < 11,MA(A13,1),IF(PERIOD = 8,MA(A13,4),IF(PERIOD = 7,MA(A13,8),IF(PERIOD = 6,MA(A13,16),IF(PERIOD = 5,MA(A13,32),0)))));
A15:=A14 * 0.865;
A16:=IF(A12 > A14,A12,A15);
A17:=REVERSE(A16) + 2 * A9;
起稳:=IF((EMA(C,5) * 7 + EMA(C,10) * 3) / 10 > A17 AND A17 < (EMA(C,5) * 7 + EMA(C,10) * 3) / 10 AND DYNAINFO(7) > 0 AND (EMA(C,5) * 7 + EMA(C,10) * 3) / 10 < MA(H,30) * (1 + 13 / 100),A3,0) / 150,COLORWHITE;
准备:起稳 > 0 AND crOSS(EMA(C,2),MA(H,30) * (1 + 13 / 100) * 1.0382);