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.

Moderator: admin

Re: Polynomial regression

Postby Alexander.Gettinger » Sun Jul 24, 2011 10:29 pm

I have updated strategies.
Please, try again.
Alexander.Gettinger
FXCodeBase: Confirmed User
 
Posts: 3785
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk

Re: Polynomial regression

Postby virgilio » Tue May 29, 2012 2:51 pm

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

Postby Apprentice » Wed May 30, 2012 2:36 am

Distance? What would be the role of this parameter.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Polynomial regression

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

MQL4 version of polynomial regression: viewtopic.php?f=38&t=20393
Alexander.Gettinger
FXCodeBase: Confirmed User
 
Posts: 3785
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk

Re: Polynomial regression (Static)

Postby Scrat_Power » Wed Aug 22, 2012 1:53 am

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
(7.41 KiB) Downloaded 1470 times
User avatar
Scrat_Power
 
Posts: 26
Joined: Tue Aug 21, 2012 2:56 pm

Re: Polynomial Regression

Postby Riccardo Burns » Mon Aug 27, 2012 12:55 pm

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
The Flow.jpg (8.1 KiB) Viewed 2618 times
Riccardo Burns
 
Posts: 1
Joined: Mon Aug 27, 2012 12:32 pm

Re: Polynomial regression

Postby mulligan » Thu Mar 28, 2013 10:41 am

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: 150
Joined: Wed May 16, 2012 4:43 pm

Re: Polynomial regression

Postby Apprentice » Fri Mar 29, 2013 2:15 pm

Style Options Added (Topmost post)
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Polynomial regression

Postby mulligan » Fri Mar 29, 2013 4:57 pm

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: 150
Joined: Wed May 16, 2012 4:43 pm

Re: Polynomial regression

Postby Apprentice » Mon Apr 01, 2013 7:05 am

Central Line Color Option Added.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

PreviousNext

Return to Custom Indicators

Who is online

Users browsing this forum: Bing [Bot] and 44 guests