input:N1(6,1,100),M1(15,1,100),N2(20,1,300),M2(15,1,100);
VAR1:=(MA(WINNER(CLOSE),N1) * 100);
VAR2:=((100 * (MA(CLOSE,N2) - CLOSE)) / MA(CLOSE,N2));
底部:IF(CROSS(VAR1,M1 / 10) AND REF(VAR2,1) > M2 AND BARSCOUNT(CLOSE) > (N1 - 1),100,0);
input:N1(6,1,100),M1(15,1,100),N2(20,1,300),M2(15,1,100);
VAR1:=(MA(WINNER(CLOSE),N1) * 100);
VAR2:=((100 * (MA(CLOSE,N2) - CLOSE)) / MA(CLOSE,N2));
底部:IF(CROSS(VAR1,M1 / 10) AND REF(VAR2,1) > M2 AND BARSCOUNT(CLOSE) > (N1 - 1),100,0);