Multiple Regression Polynomial Forecast

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.
リリースノート: added source data to the polynomial
リリースノート: 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..
リリースノート: added optional input to skip line output, this allows to use larger data samples
リリースノート: update to V5, functions are imported from libraries now
リリースノート: You can now select the starting point on chart(like a drawing tool).


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.