Logarithmic 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

Logarithmic regression

Postby Alexander.Gettinger » Wed Mar 23, 2011 9:43 pm

Indicator looks like Polynomial regression (viewtopic.php?f=17&t=3715), but instead of polynomial use a logarithmic function.

LR.png


Download:
Logarithmic_Regression.lua
(3.87 KiB) Downloaded 1797 times


The indicator was revised and updated
Alexander.Gettinger
FXCodeBase: Confirmed User
 
Posts: 3785
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk

Re: Logarithmic regression

Postby mfoste1 » Sun Apr 24, 2011 7:02 pm

this log regression as well as the polynomial regression would probably make excellent algorithmic strategies. :D

-enter short if price exceeds upper line by N number of pips.

-enter long if price exceeds bottom line by N number of pips.

parameters

lot sizing
allowed side
stop and limit
time period allowed to trade as specified by user
mfoste1
 
Posts: 66
Joined: Thu Oct 21, 2010 6:55 pm

Re: Logarithmic regression

Postby Apprentice » Mon Apr 25, 2011 4:14 am

Your request has been added to developmental cue.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36435
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Logarithmic regression

Postby Alexander.Gettinger » Thu Apr 28, 2011 12:00 am

mfoste1 wrote:this log regression as well as the polynomial regression would probably make excellent algorithmic strategies. :D

-enter short if price exceeds upper line by N number of pips.

-enter long if price exceeds bottom line by N number of pips.

parameters

lot sizing
allowed side
stop and limit
time period allowed to trade as specified by user

This strategy you may find here: viewtopic.php?f=31&t=4050
Alexander.Gettinger
FXCodeBase: Confirmed User
 
Posts: 3785
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk

Re: Logarithmic regression

Postby TakisGen » Tue Jun 14, 2011 4:35 am

Hi,

Is it possible to modify the algorithm so that it works with negative streams too?

Thnx in advance
Takis
TakisGen
 
Posts: 34
Joined: Sat May 28, 2011 10:09 am

Re: Logarithmic regression

Postby Flemming_Dall » Thu Jul 14, 2011 6:18 am

What time scale is the best for this signal...?

15min, 2hours, 4hours... etc.?

I also tried the Polynominal regresion signal and sometimes they tell me to in to opposite directions.

The Logarithmic seems to work fine in a 15 min timechart?

Thanks !
Flemming_Dall
 
Posts: 1
Joined: Thu Jul 14, 2011 6:05 am

Re: Logarithmic regression

Postby Alexander.Gettinger » Fri Jun 29, 2012 1:36 pm

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

Re: Logarithmic regression

Postby Apprentice » Tue Apr 04, 2017 6:07 am

Indicator was revised and updated.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36435
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia


Return to Custom Indicators

Who is online

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