Polynomial regression

Custom MT4 expert advisors published here.

Moderator: admin

Polynomial regression

Postby Alexander.Gettinger » Tue Jun 19, 2012 5:28 pm

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 1145 times
Alexander.Gettinger
FXCodeBase: Confirmed User
 
Posts: 3785
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk

Return to MT4 Expert Advisors

Who is online

Users browsing this forum: No registered users and 5 guests