AreaRSI
Relative Strength Index
Description
The Relative Strength Index was introduced by
Welles Wilder. The Relative Strength Index compares upward movements in closing
price to downward movements over a selected period. The RSI should not be
confused with the relative strength indicator which is used to compare stocks.
This script displays the upper and lower thresholds and fills any excursion
above the upper or below the lower with a fill color.
Category
Extended
Parameters
N1 ( Default: 14
Min: 2 Max: 100 )
Chart Script
LC :=
REF(CLOSE,1);
RSI:WMA(MAX(CLOSE-LC,0),N1)/WMA(ABS(CLOSE-LC),N1)*100;
70,HighSpeed;
30,HighSpeed;
FILLRGN(RSI>70,RSI,70),Brush#20808000;
FILLRGN(RSI<30,RSI,30),Brush#20800000;