N:=9;M:=3;LOWV:=LLV(LOW,N);HIGHV:=HHV(HIGH,N);RSV:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,M);K:EMA(RSV,M);D:MA(K,M);DRAWICON(OSS(D,K),K,'SELL');DRAWICON(CROSS(K,D),D,'BUY');短:MA(CLOSE,13),colorred,LINETHICK2;涨:IF(短线>REF(短趋势线,1),短趋势线,DRAWNULL),colorred,LINETHICK2;平:=IF(短趋势线=REF(短趋势线,1),短趋势线,DRAWNULL),COLOR00FFFF,LINETHICK2;跌:IF(短趋势线
[=0,REF(EMA(C,14),BARSLAST(CROSS(B,0))+1),DRAWNULL),colorred,LINETHICK2;:IF(B<0 REF(EMA(C,14),BAR
]