N:=9;M1:=3;M2:=3;P:=9;
快线:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,COLORFF937F;
A:=快线>REF(快线,1) AND REF(快线,1)<REF(快线,2);
A1:=BARSLAST(A);
A2:=REF(A1,1);
B1:=REF(快线,1);
B2:=REF(快线,A2+2);
C1:=REF(L,1);
C2:=REF(L,A2+2);
背离:B1>B2 AND C1<C2 AND A > 0 AND 快线< 50;