OPEN-SOURCE SCRIPT

[RS][ALPHA]Predictive Range Analysis V0

Updated
this code is untested use at your own risk...
applying timed price change over the square to predict price expansion or contraction of the range, it is not predicting the future price only the range that is possible for the price to be in within a margin of error of possibility, with that said i think its very unlikely for price to fall outside the range, due to virtual constraint applied by the auto corrective/cyclical nature of price action.
Release Notes
update for V4, added option to show only last point in each series.
Release Notes
added option to select multiple last bars.
Release Notes
update for pinescript V5
alphapredictiverangeresearchtestTrend 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?

Disclaimer