Current location - Loan Platform Complete Network - Foreign exchange account opening - How to smooth RSI?
How to smooth RSI?
LC := REF (closing price,1);

RSI 1:SMA(MAX(CLOSE-LC,0),N 1, 1)/SMA(ABS(CLOSE-LC),N 1, 1)* 100,line thick 1;

RSI2:SMA(MAX(CLOSE-LC,0),N2, 1)/SMA(ABS(CLOSE-LC),N2, 1)* 100,COLORblue,LINETHICK2

RSI3:SMA(MAX(CLOSE-LC,0),N3, 1)/SMA(ABS(CLOSE-LC),N3, 1)* 100,COLORYELLOW,line thick 1;

Differences: RSI2-RSI3, LINETHICK0 Part Line (RSI2 & gtRSI3, RSI2), COLORred, LINETHICK2.

Partial line (RSI2 overbought: partial line (RSI1> 80,RSI 1),COLORBLUE,line thick 1;

Oversold: dividing line (RSI 1

DRAWTEXT(FILTER((RSI 1 & lt; = 15), 3), RSI 1,' oversold'), Colorred

DRAWTEXT (filter (RSI1> =85), 3), RSI 1,' overbought'), Colorred