## Polynomial regression

Here you can post and download custom indicators. PLEASE: Do not start topics unless you are posting your own indicator, they will be moved to appropriate section even if you do.

### Re: Polynomial regression

I have updated strategies.
Alexander.Gettinger
FXCodeBase: Confirmed User

Posts: 3574
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk

### Re: Polynomial regression

Is it possible to add the "Distance" variable to the indicator so to match the strategy variables?
Right now in the indicator we have: Period, Power, Deviation
Right now in the strategy we have: Period, Power, Deviation, Distance

Thank you kindly for taking this request in consideration.
virgilio

Posts: 66
Joined: Mon Aug 23, 2010 12:16 pm

### Re: Polynomial regression

Distance? What would be the role of this parameter.

Apprentice
FXCodeBase: Confirmed User

Posts: 20628
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

### Re: Polynomial regression

MQL4 version of polynomial regression: viewtopic.php?f=38&t=20393
Alexander.Gettinger
FXCodeBase: Confirmed User

Posts: 3574
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk

### Re: Polynomial regression (Static)

Hi all,

Here my contribution to this nice and useful forum.
I modified a bit this indicator to print the history.
As this indicator is full dynamic, it's nearly impossible to watch the past.
Now, you can !

I let the dynamic one printed and you can read the past of this indicator.
Color indicate the way (up or down trend).

kind regards,
Scrat.

PS : Sorry for my english ...
Attachments
Polynomial_Regression_Static.lua

Scrat_Power

Posts: 20
Joined: Tue Aug 21, 2012 2:56 pm

### Re: Polynomial Regression

Alexander,I've been dabblin' with your Polynomial Regression. Please see if this is ok?
Add two togeter please: #1 @ 100,2, 1.5,----Blue, Red outside....
#2 @ 100,2, 1.0,--- Green, Blue
It works out Aok for me and responds very well at anyspeed..I Thank You Very Much Alexander. I call this "The Flow" in honor of You.............
Riccardo
The Flow.jpg
Riccardo Burns

Posts: 1
Joined: Mon Aug 27, 2012 12:32 pm

### Re: Polynomial regression

Great indicator. Is it possible to add style option for up and down color for regression line? Thanks for all your work.
mulligan
FXCodeBase: Initiate

Posts: 120
Joined: Wed May 16, 2012 4:43 pm

### Re: Polynomial regression

Style Options Added (Topmost post)

Apprentice
FXCodeBase: Confirmed User

Posts: 20628
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

### Re: Polynomial regression

I'm sorry I was not clear in my request. I was wanting the regression line (center line) to change color as the "averages" indicators do. That is to change color as the line changes direction up and down. I understand the indicator changes with every candle so it would be dynamic and not static in nature. The momentum change from up to down or down to up is sometimes subtle so the regression line giving an exact point of change would be very helpful. As always, your work is appreciated.
mulligan
FXCodeBase: Initiate

Posts: 120
Joined: Wed May 16, 2012 4:43 pm

### Re: Polynomial regression

Central Line Color Option Added.

Apprentice
FXCodeBase: Confirmed User

Posts: 20628
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

PreviousNext