OPEN-SOURCE SCRIPT

Quantitative Price Forecasting - The Quant Science

Updated
This script is a quantitative price forecasting indicator that forecasts price changes for a given asset.

The model aims to forecast future prices by analyzing past data within a selected time period. Mathematical probability is used to calculate whether starting from time X can lead to reaching prices Y1 and Y2. In this context, X represents the current selected time period, Y1 represents the selected percentage decrease, and Y2 represents the selected percentage increase. The probabilities are estimated using the simple average.

https://www.tradingview.com/x/fJN7BWEL/

The simple average is displayed on the chart, showing in red the periods where the price is below the average and in green the periods where the price is above the average.

https://www.tradingview.com/x/kYZrW8br/

This powerful tool not only provides forecasts of future prices but also calculates the distribution of variations around the average. It then takes this information and creates an estimate of the average price variation around the simple average.

https://www.tradingview.com/x/0488ZEba/

Using a mean-reverting logic, buying and selling opportunities are highlighted.

https://www.tradingview.com/x/ifokGWeZ/

We recommend turning off the display of bars on your chart for a better experience when using this indicator.

Unlock the full potential of your trading strategy with our powerful indicator. By analyzing past price data, it provides accurate forecasts and calculates the probability of reaching specific price targets. Its mean-reverting logic highlights buying and selling opportunities, while the simple moving average displayed on the chart shows periods where the price is above or below the average. Additionally, it estimates the average variation of price around the simple average, giving you valuable insights into price movements. Don't miss out on this valuable tool that can take your trading to the next level
Release Notes
Added a function to adjust the average deviation calculation. Now the indicator modify the deviation data by calculating only the time period selected by the user interface.
analysisaverageforecastingindicatorsmathematicsmeanreversionpriceforecastprobabilityquantitativestatisticstool

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