TradingView
capissimo
8. Sept. 2019 07:26

Forecasting - Quadratic Regression 

Bitcoin / United States DollarCoinbase

Beschreibung

This script is written totally thanks to Alex Grover (tradingview.com/script/CDsPknAG-Quadratic-Regression/). Here it is implemented in conjunction with the seasonal forecast I showed in one of my previous posts. It takes the calculated QReg curve and extends its last section (Season) into the future (Forecasted periods).

Versionshinweise

Note:
A quadratic regression is the process of finding the equation of the parabola that best fits a set of data. As a result, we get an equation of the form: y = ax^^2 + bx + c where a ≠ 0.
See: varsitytutors.com/hotmath/hotmath_help/topics/quadratic-regression

Versionshinweise

Minor fix.

Versionshinweise

Minor fix to the seasonal_naive function.
Kommentare
Junzyd
Hi @capissimo

I am looking to use this indicator.. is there any update since it was published in 2019?

Thanks in advance.
capissimo
@Junzyd, you can find the mod at github. (/capissimo/Pinescript-Laboratory/blob/main/scripts/123-Forecasting-Quadratic-Regression-(v2).pine)
Junzyd
@capissimo,Thanks very much for your prompt response. Much appreciated. I find this tool really interesting, I tried it on NKN and MDT today and it predicted accurately with the V1 version but it missed out on predicting the trend for ONE.

Would you be so kind enough to give me some insight on how best to use the tool, like what timeframe is best suited for using this tool? And do we change the default input settings for 1min, 5min, 30min, 1hr and 4hr time periods. I am looking to use this tool for scalping/day trading.
jebra
Hello sir
Very good
Thanks
MrHeroSir
@jebra, how to use this?
UnknownUnicorn2352460
Very interesting work that deserves attention. thanks to the author!
Mehr