N:1,100,18;M1:1,100,5;M2:1,100,6; M3:1,100,46;M4:1,100,3;
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(RSV,M1,1);
D:=SMA(K,M2,1);
短线:=3*K-2*D;
//{www.9m8.cn 九毛八公式指标网 股票软件下载网_最新股票指标公式}
PARTLINE(短线,短线 REF(短线,1),RGB(255,0,0),短线 REF(短线,1),colorcyan,1,RGB(0,255,0)),LINETHICK2;
K1:=SMA(RSV,M3,1);
D1:=SMA(K1,M4,1);
长线:=3*K1-2*D1;
STICKLINE(长线 REF(长线,1),50,50+10,8,1),colorred;
STICKLINE(长线 REF(长线,1),50,50-10,8,0),colorcyan;