OPEN-SOURCE SCRIPT

Predictive Ranges [LuxAlgo]

The Predictive Ranges indicator aims to efficiently predict future trading ranges in real-time, providing multiple effective support & resistance levels as well as indications of the current trend direction.

Predictive Ranges was a premium feature originally released by LuxAlgo in 2020.

The feature was discontinued & made legacy, however, due to its popularity and reproduction attempts, we deemed it necessary to release it open source to the community.

🔶 USAGE

snapshot

The primary purpose of this indicator is to provide potential support & resistance levels on the chart by estimating future trading ranges.

snapshot

When the price reaches one of the upper/lower levels of the Predictive Ranges we can expect the price to reverse.

snapshot

If the price exits the predicted range, new levels are given in real-time & they do not repaint. Higher "Factor" values allow returning longer term and wider ranges less susceptible to be exited.

🔹Estimating Trend Directions

snapshot

Users are able to easily estimate trend directions by looking at the central levels of the predictive ranges, which represent an estimate of the price central tendency.

If this central level increases it means the price is up-trending, if it is decreasing price is down-trending.

🔶 SETTINGS

  • Length: ATR Length used for the indicator calculation. Higher values will tend to return ranges of equal width.
  • Factor: Control the ranges width. Higher values will return less frequent ranges, each having a higher width.
  • Timeframe: Indicator timeframe output.
  • Source: Input source of the indicator. It is recommended to use input sources on the same scale as the price.
LUXluxalgopredictionrangerangebreakoutrangedetectorrangetradingrangingmarketSupport and ResistanceTrend 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