Forex
Google

Go Back   Forex Trading > Downloads > Indicators - Metatrader 4
Forex Forum Register FAQ Members List Calendar Search Today's Posts Mark Forums Read


Register in Forex TSD!
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time).
Click here to register and get more information

Reply
 
LinkBack (2) Thread Tools Display Modes
  #1 (permalink)  
Old 10-31-2005, 12:24 PM
forexts's Avatar
forexts forexts is offline
Administrator
 
Join Date: Sep 2005
Posts: 290
forexts has disabled reputation
Laguerre indicator

Laguerre indicator: According to Ehlers description.
Attached Files
File Type: mq4 Laguerre.mq4 (2.7 KB, 575 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 12-05-2005, 02:45 PM
MacDFx MacDFx is offline
Junior Member
 
Join Date: Nov 2005
Posts: 8
MacDFx is on a distinguished road
Unhappy Wrong version of Laguerre!

Quote:
Originally Posted by forexts
Laguerre indicator: According to Ehlers description.
Wrong. A careful examination of the TimeWarp.doc (Ehlers) shows that this Emerald King version of Laguerre may NOT be compliant with the specs outlined in the Ehlers document.

Ehlers (part of code in question):


Vars: L0(0), L1(0), L2(0), L3(0), CU(0), CD(0), RSI(0);

L0 = (1 – gamma)*Close + gamma*L0[1];
L1 = - gamma *L0 + L0[1] + gamma *L1[1];
L2 = - gamma *L1 + L1[1] + gamma *L2[1];
L3 = - gamma *L2 + L2[1] + gamma *L3[1];


Emerald-King (errant version of code):

L0A = L0;
L1A = L1;
L2A = L2;
L3A = L3;
L0 = (1 - gamma)*Close[i] + gamma*L0A;
L1 = - gamma *L0 + L0A + gamma *L1A;
L2 = - gamma *L1 + L1A + gamma *L2A;
L3 = - gamma *L2 + L2A + gamma *L3A;


davidwt (correct and compliant version):

L0[i] = (1.0 - gamma)*Close[i] + gamma*L0[i+1];
L1[i] = -gamma*L0[i] + L0[i+1] + gamma*L1[i+1];
L2[i] = -gamma*L1[i] + L1[i+1] + gamma*L2[i+1];
L3[i] = -gamma*L2[i] + L2[i+1] + gamma*L3[i+1];

Basically, the time series requires calculations to include data from the previous bars, and the version posted does not include this in the code.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 12-05-2005, 02:48 PM
MacDFx MacDFx is offline
Junior Member
 
Join Date: Nov 2005
Posts: 8
MacDFx is on a distinguished road
Correct Laguerre RSI indicator attached

Attached is a compliant version of the Laguerre RSI, developed by davidwt, as outlined by Ehlers in his Time Warp document.
Attached Files
File Type: mq4 Laguerre RSI.mq4 (3.1 KB, 866 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 12-05-2005, 03:02 PM
newdigital newdigital is online now
Administrator
 
Join Date: Sep 2005
Posts: 15,164
newdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud ofnewdigital has much to be proud of
Quote:
Originally Posted by MacDFx
Attached is a compliant version of the Laguerre RSI, developed by davidwt, as outlined by Ehlers in his Time Warp document.
Laguerre Indicator description.

Thanks MacDFx.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 12-06-2005, 12:10 AM
Emerald King Emerald King is offline
Member
 
Join Date: Nov 2005
Posts: 35
Emerald King is on a distinguished road
Yes you are correct, my version is not exactly like Ehlers code.

But in my defense if you look at his code you will see that he always looks at the current values bar values and the preveious bar values so what I did was just copy the preveious bar values into the A variables

Thanks
EK
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 12-06-2005, 01:29 AM
MacDFx MacDFx is offline
Junior Member
 
Join Date: Nov 2005
Posts: 8
MacDFx is on a distinguished road
Quote:
Originally Posted by Emerald King
... if you look at his code you will see that he always looks at the current values bar values and the preveious bar values so what I did was just copy the preveious bar values into the A variables

Thanks
EK
Hey, no problem - actually just trying to sort out why I was having
"variance" and "time drift" with this indicator.

Ehlers does use a shift to the previous bar [i + i] explicitly in his values for determining L0[i].L1[i],L2[i].and L3[i]. However, I'm still not certain that your construction does exactly that, versus the version put together by davidwt.

What you see isn't always what you get in MT4 though, as I swear Laguerre is operating on a scale of its own. (Which apparently it is, at least according to Ehlers own documentation). I just have trouble matching up the trades with their purported triggers from this indicator.

(As an aside - I do appreciate all the work you've done on many of the MT4 EAs and indicator found here and on other forums elsewhere, so please do take it all in stride.)

happy tradings!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 12-06-2005, 03:59 AM
Emerald King Emerald King is offline
Member
 
Join Date: Nov 2005
Posts: 35
Emerald King is on a distinguished road
I would say that if you only calculate this indicator on a per bar basis then they should match but if you allow it to run as per tick as it is currently coded then I think history will match but you might see drift as you stated running it live

All the Best to you and your family this holiday season
EK
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 02-11-2008, 09:29 AM
Vantage Vantage is offline
Junior Member
 
Join Date: Dec 2007
Posts: 4
Vantage is on a distinguished road
Using Laguerre for divergence

I was just wondering if people are using Laguerre for divergence. Laguerre doesn't seem to show divergence as often as other indicators but when it does then it seems to be effective as this screenshot shows.

The next question is can an indicator be written for this divergence?

The laguerre settings I use are gamma 0.55 and bars 950.

Just a thought.
Attached Images
File Type: gif ScreenHunter_04 Feb. 11 12.21.gif (68.1 KB, 1580 views)

Last edited by Vantage : 02-11-2008 at 10:11 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 02-11-2008, 12:11 PM
fxbs fxbs is offline
Senior Member
 
Join Date: Jan 2007
Location: not so remote
Posts: 1,586
fxbs is on a distinguished road
speaking of Laguerre - Laguerre RSI v1.00.mq4 from Mladen
Attached Images
File Type: gif lag rsi v1.gif (9.8 KB, 1507 views)
Attached Files
File Type: mq4 Laguerre RSI v1.00.mq4 (7.3 KB, 246 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 02-14-2008, 05:13 AM
jatki24300's Avatar
jatki24300 jatki24300 is offline
Senior Member
 
Join Date: Feb 2007
Location: Texas
Posts: 102
jatki24300 is on a distinguished road
speaking of Laguerre

I am posting all the laguerre that I have in my collection. Laguerre is my most liked indicator at this time. If any one has a different laguerre then the ones I have posted can you post them so I can give it a try thanks. Jatki24300
Attached Files
File Type: mq4 08-Laguerre-ENTRY.mq4 (2.6 KB, 322 views)
File Type: mq4 09-Laguerre-EXIT.mq4 (2.6 KB, 296 views)
File Type: mq4 Laguerre PlusDi.mq4 (3.0 KB, 247 views)
File Type: mq4 Laguerre RSI.mq4 (3.1 KB, 209 views)
__________________
I have not mastered any language.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

LinkBacks (?)
LinkBack to this Thread: http://www.forex-tsd.com/indicators-metatrader-4/216-laguerre-indicator.html
Posted By For Type Date
Simple Method of Scalping any pair on 5 min chart , specially GBP/JPY - by Imran Sait - Page 477 This thread Refback 05-02-2008 11:43 AM
Simple Method of Scalping any pair on 5 min chart , specially GBP/JPY - by Imran Sait - Page 477 This thread Refback 05-01-2008 01:48 PM

Similar Threads
Thread Thread Starter Forum Replies Last Post
Laguerre RSI with Filter TheWicker Indicators - Metatrader 4 2 12-13-2007 09:29 PM
Dinapoli Detrend Osc and Laguerre? drgoodvibe Metatrader 4 16 09-17-2006 11:56 PM
Laguerre Indicator description forexts Documentation 0 10-31-2005 12:22 PM


All times are GMT. The time now is 08:12 AM.