OPEN-SOURCE SCRIPT

Trending RSI [ChartPrime]

Trending RSI takes a new approach to RSI intended to provide all of the missing information that traditional RSI lacks. Questions such as "why does the price continue to decline even during an oversold period?" can be aided using the Trending RSI.

These types of movements are due to the market still trending and traditional RSI can not tell traders this. Trending RSI fixes this by introducing trend information back into the oscillator. By reverse engineering RSI we have been able to make a new indicator that is no longer bound between 0 and 100. Instead it provides the traditional 70 and 30 zones as bands, and 50 as a center line that still represent these zones perfectly. This transforms RSI into a centered oscillator instead of a normalized oscillator. When the market is trending our indicator represents this as the center line being below or above 0. Just like MACD the center line is colored to represent the market phases. This helps in identifying reversals more clearly by adding a layer of confluence to the already renowned RSI. We have also included a novel filtering technique that has a low lag to smoothing ratio. This is primarily used to smooth the bands by default but you can also utilize this on the RSI. Several alerts have been included to provide users with easy to configure signals.

snapshot

You can use the center line as a directional filter for your trades by only picking trades in the direction of the center line. When the center line is above 0, the market is trending up. Conversely, when the center line is below 0 the market is trending down trend. Use the polarity of the center line to estimate the strength of retracements from the oversold and overbought zones. We have also included a special moving average to help you find the momentum of a move. The Binomial MA filter approximates a normal curve making it similar to a gaussian filter. We have also included standard divergences which are fully configurable in the settings. Finally, we have built this indicator to be compatible with the built in multi time frame option to allow users to freely pick the time frame they wish to use. It is worth noting that due to the limitations of the standard MTF implementation divergences will not plot as expected when using time frames outside of the charts time frame. This is standard and also affects the built in RSI.

snapshot

All of the colors are fully adjustable with the option to enable or disable the glow effect. We have also designed this indicator to only display the information for plots that are enabled to reduce clutter and provide a cleaner charting experience. All alerts are built to work with the standard alert builder and do not have to be enabled or disabled inside of the indicator.

Included Alerts:
  • RSI Cross Over Center
  • RSI Cross Under Center
  • RSI Cross Under Upper Range
  • RSI Cross Over Upper Range
  • RSI Cross Over Lower Range
  • RSI Cross Under Lower Range
  • RSI Cross Over MA
  • RSI Cross Under MA
  • RSI Cross Over 0
  • RSI Cross Under 0
  • Center Cross Over 0
  • Center Cross Under 0
  • Center Bullish
  • Center Bearish
  • Bullish Divergence
  • Bearish Divergence


In wrapping up, the Trending RSI aims to enhance the conventional RSI by adding trend insights directly into the oscillator, addressing the gap that traditional RSI leaves regarding market trends. This version of RSI breaks away from the 0 to 100 range, offering bands and a center line that better represent market conditions. It includes a set of features like the Binomial MA for momentum analysis, configurable settings for divergence detection, and compatibility with multi-time frame analysis. The color customization and glow effects aim to improve visual clarity, and the inclusion of alerts is designed to streamline alert configuration. Overall, this indicator is designed to provide a more view of the markets, suitable for traders looking to incorporate trend analysis into their RSI-based strategies.

Enjoy
Bands and ChannelsRelative Strength Index (RSI)Trend Analysis

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?


Also on:

Disclaimer