RicardoSantos

Multiple Regression Polynomial Forecast

RicardoSantos Wizard Updated   
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).
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 a publication is governed by House Rules. You can favorite it to use it on a chart.

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.

Want to use this script on a chart?