OPEN-SOURCE SCRIPT

RSI Multi Length [LuxAlgo]

The following indicator aims to return information over RSIs using multiple periods, including the percentage of RSIs of different periods being overbought/oversold, as well as the average between these multiple RSIs.

The percentage of RSIs of different periods being overbought/oversold is additionally used to return adaptive overbought/oversold levels.

Settings

  • Maximum Length: Maximum period of the RSI used for the indicator calculation
  • Minimum Length: Minimum period value of the RSI used for the indicator calculation
  • Overbought: Value of the overbought level
  • Oversold: Value of the oversold level
  • Src: Input source of the indicator


Usage

snapshot

The main element of the indicator is given by the multi-length RSI average, returning an oscillator similar to a fixed-length RSI. Because of its multiple length nature, the indicator can reflect shorter to longer-term price variations depending on the Maximum/Minimum length range defined by the user.

The green area indicates the percentage of RSIs over the user-defined overbought level. The red area indicates the percentage of RSIs under the user-defined oversold level, this percentage is inverted for ease of visualization. Additionally, a dashboard at the top right of the indicator pane indicates these percentages for the most recent bar.

snapshot

A lower percentage of overbought/oversold RSIs can indicate a potential shorter-term retracement.

These percentages are used to construct adaptive overbought/oversold levels for the average multi-length RSI. The overbought level will be easier to reach if the percentage of overbought RSI's is high, the same logic applies to the adaptive oversold level.
Release Notes
Minor changes.
lengthLUXluxalgooverboughtoversoldRelative Strength Index (RSI)rsi_overboughtrsi_oversoldTrend 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?


Get access to our exclusive tools: luxalgo.com

Join our 150k+ community: discord.gg/lux

All content provided by LuxAlgo is for informational & educational purposes only. Past performance does not guarantee future results.
Also on:

Disclaimer