Page 1 of 1

Polynomial regression

PostPosted: Tue Jun 19, 2012 5:28 pm
by Alexander.Gettinger
Original indicator: viewtopic.php?f=17&t=3715

Indicator draw a regression curve that is best fits the prices between a starting price point and an ending point.

Parameter [Power] defines power of polynomial which will be used.
[Period] defines range of data on chart.
[Deviation] is used for building band.

If Power=1 we have a linear regression,
if power=2 - quadratic regression and etc.


PolynomialRegression_MQL.PNG


Download:
Polynomial_Regression.mq4
(3.7 KiB) Downloaded 1625 times