This script is written totally thanks to Alex Grover (www.tradingview.com/...uadratic-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).
ملاحظات الأخبار:
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: www.varsitytutors.co...quadratic-regression
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: www.varsitytutors.co...quadratic-regression
ملاحظات الأخبار:
Minor fix.
ملاحظات الأخبار:
Minor fix to the seasonal_naive function.