OPEN-SOURCE SCRIPT
Updated

Multiple Regression Polynomial Forecast

16818
EXPERIMENTAL:
Forecasting using a polynomial regression over the estimates of multiple linear regression forecasts.

note: on low data the estimates are skewd away of initial value, i added the i_min_estimate option in to try curve this issue with limited success "o_o.
Release Notes
added source data to the polynomial
Release Notes
fixed a issue with the estimation process, it should work correctly now.
do note the algorithm is quite heavy and may error with timeout or take quite a bit to show anything..
Release Notes
added optional input to skip line output, this allows to use larger data samples
Release Notes
update to V5, functions are imported from libraries now
Release Notes
You can now select the starting point on chart(like a drawing tool).

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.