OPEN-SOURCE SCRIPT

Relative Strength Index with fast and slow MAs

Updated
This is the typical Relative Strength Index indicator with two moving averages, one slow (length 50 by default) and one fast (length 20 by default). Additionally, there are four lines, which mark the oversold/overbought signals at different levels, there are two inner bands with values at the levels 40, and 60, and two outer bands at the levels 20, and 80. The presence of the fast and slow moving averages and their crossover/crossunder with the oversold/overbought levels or the RSI can provide more insightful and faster signals. The indicator has a slightly different colouring mechanism.

The views of the RSI indicator on the above the price chart in both dark and light modes:

snapshot

snapshot
Release Notes
Renaming the indicators names for exporting.
Relative Strength Index (RSI)rsi-2masrsi-emarsi_overboughtrsi_oversoldRSI-SMA

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer