N:=30;M:=60;线:100*(HHV(HIGH,M)-CLOSE)/(HHV(HIGH,M)-LLV(LOW,M)),LINETHICK2;RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;K:=SMA(RSV,5,1);D:=SMA(K,3,1);J:=3*K-2*D;线:EMA(J,6),coloryellow,LINETHICK2;DRAWTEXT(OSS(散户线,主力线),散户线,'始');DRAWTEXT(CROSS(主力线,散户线),主力线,'终');