N:=18; P1:=3; P2:=3; RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100; K:=SMA(RSV,P1,1); D:=Sma(K,P2,1); J:=3*K-2*D; 红箭头:crOSS(J,1);