Quantitative Price Forecasting - The Quant Science

thequantscience 已更新   
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.

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.

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.

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

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
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.


本著真正的TradingView精神,該腳本的作者將其開源發布,以便交易者可以理解和驗證它。為作者喝彩吧!您可以免費使用它,但在出版物中重複使用此代碼受網站規則的約束。 您可以收藏它以在圖表上使用。