{N 1 100 9 M1 1 100 3 M2 1 100 3 }
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
介入:IF(K<10,100,0),COLORGREEN;
高:=REF(HHV(H,150),3);
近期顶:=REFDATE(高,DATE);
最顶:=REFDATE(近期顶,DATE);
出:=最顶=H AND ((C-L)<(O-C) OR (O-L)<(C-O));
低:=REF(LLV(L,150),3);
近期底:=REFDATE(低,DATE);
最底:=REFDATE(近期底,DATE);
进:最底=L AND ((C+L)<(O+C) OR (O+L)<(C+O));
IF(进,100,0),LINETHICK2,COLORRED;