OPEN-SOURCE SCRIPT

Linear Extrapolation

Basic extrapolator for forecast a time-series, all forecasts are mades length periods ahead.

快照

快照

This is not a estimation of the exact price

This should only be used for forecasting direction, dont expect the price to be at the same value of its forecast.

Bias, Mean absolute error, Mean percentage error...etc look useless here, its better to use correlation as a accuracy measurement.

Correlation(Forecast[length],close,period)

快照

Rescaling for a better forecast ?

Transforming a non-stationary signal to a stationary signal can increase the forecasting accuracy, this can be done by detrending. Here is a list of somes detrending methods:

Auto-Bias : price - price[period]

Mean-Bias : price - price moving average

Log transform : log(price/price moving average)

Correlation : correlation(price,n,period)



extrapolationforecastforecastingforecastingtechniquespredictionTrend Analysis

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?


Check out the indicators we are making at luxalgo: tradingview.com/u/LuxAlgo/
更多:

免责声明