Page 1 of 2 12 LastLast
Results 1 to 10 of 12
 7 Attachment(s)    

Thread: LWMA Cross EA

  1. #1

    Default LWMA Cross EA

    Hi Funnyo!

    I hope you could help me again with this simply system...

    I would like to create this EA, based on LWMA cross with negative shift (if possible).
    I've tested this strategy manually, with good results at least on EURUSD m30 and longer TF's.

    Unique condition (when long or short):
    -Take the cross only, when distance from fast (with negative shift) to slow MA is greater than "X" pips.

    Best Regards,

    LV
    Last edited by Lordvader; 10-20-2009 at 10:14.

  2. #2
    Administrator funyoo's Avatar
    Join Date
    Sep 2008
    Posts
    7,003

    Default

    Quote Originally Posted by Lordvader View Post
    Hi Funnyo!

    I hope you could help me again with this simply system...

    I would like to create this EA, based on LWMA cross with negative shift (if possible).
    I've tested this strategy manually, with good results at least on EURUSD m30 and longer TF's.

    Unique condition (when long or short):
    -Take the cross only, when distance from fast (with negative shift) to slow MA is greater than "X" pips.

    Best Regards,

    LV
    Hi Lordvader,

    Here is the LWMA Cross EA.
    Attached Files Attached Files

  3. #3

    Default

    Quote Originally Posted by funyoo View Post
    Hi Lordvader,

    Here is the LWMA Cross EA.
    Hi Funyoo!

    LWMA cross is almost perfect. Only issue: It's not taking all the crosses (and the distance between both MA is greater than 5), sometimes misses more than 50% of crosses.

    Could it be that I'm using negative shift on fast MA and positive on slow MA?
    Ive tested in different MT4 platforms and different TF's and the problem persists... Maybe I'm setting wrong parameters.

    Would appreciate your help,

    Regards,

    LV

  4. #4
    Administrator funyoo's Avatar
    Join Date
    Sep 2008
    Posts
    7,003

    Default

    Quote Originally Posted by Lordvader View Post
    Hi Funyoo!

    LWMA cross is almost perfect. Only issue: It's not taking all the crosses (and the distance between both MA is greater than 5), sometimes misses more than 50% of crosses.

    Could it be that I'm using negative shift on fast MA and positive on slow MA?
    Ive tested in different MT4 platforms and different TF's and the problem persists... Maybe I'm setting wrong parameters.

    Would appreciate your help,

    Regards,

    LV
    Hi Lordvader,

    It should work even with positive/negative shift.

    Try this version.
    Attached Files Attached Files

  5. #5

    Default

    Quote Originally Posted by funyoo View Post
    Hi Lordvader,

    It should work even with positive/negative shift.

    Try this version.

    Hi Funyoo,

    Same issue, doesn't take all crosses...


    LV
    Attached Images Attached Images LWMA Cross EA-untitled-jpg 
    Attached Files Attached Files

  6. #6
    Administrator funyoo's Avatar
    Join Date
    Sep 2008
    Posts
    7,003

    Default

    Quote Originally Posted by Lordvader View Post
    Hi Funyoo,

    Same issue, doesn't take all crosses...


    LV
    Hi Lordvader,

    Ok, the previous versions had an automated way to determine the shift to study in the past.

    Here is another version where you have to manually define the shift of the bar in the past that you want to check for the signal.
    Attached Files Attached Files

  7. #7

    Default

    Quote Originally Posted by funyoo View Post
    Hi Lordvader,

    Ok, the previous versions had an automated way to determine the shift to study in the past.

    Here is another version where you have to manually define the shift of the bar in the past that you want to check for the signal.

    Hi Funyoo!

    I'm very sorry but the EA persists not to take all the crosses, apparently it works only with 0(zero) or positiv shifts in both MA's

    I hope you could correct it...


    Regards,

    LV
    Last edited by Lordvader; 10-26-2009 at 00:31.

  8. #8
    Administrator funyoo's Avatar
    Join Date
    Sep 2008
    Posts
    7,003

    Default

    Quote Originally Posted by Lordvader View Post
    Hi Funyoo!

    I'm very sorry but the EA persists not to take all the crosses, apparently it works only with 0(zero) or positiv shifts in both MA's

    I hope you could correct it...


    Regards,

    LV
    Hi Lordvader,

    Try this version.
    Attached Files Attached Files

  9. #9

    Default

    Quote Originally Posted by funyoo View Post
    Hi Lordvader,

    Try this version.

    Hi Funyoo,

    It has the same issue...


    Regards,

    LV

  10. #10
    Administrator funyoo's Avatar
    Join Date
    Sep 2008
    Posts
    7,003

    Default

    Quote Originally Posted by Lordvader View Post
    Hi Funyoo,

    It has the same issue...


    Regards,

    LV
    Hi Lordvader,

    In backtesting, it is working fine.

    The minimum distance between the slow and the fast, is the distance between the slow with its negative shift with the fast and its negative shift, both on the confirmation bar right ?

    Normally, the shift should be set on higher absolute negative shift + 2 bars.

Similar Threads

  1. EMA Cross EA
    By funyoo in forum Expert advisors backtesting
    Replies: 144
    Last Post: 11-25-2017, 21:20
  2. LWMA of SMA
    By fxtester in forum MQL programming
    Replies: 0
    Last Post: 09-26-2015, 16:32
  3. (Req) MA Cross EA
    By seekerz in forum Ideas for expert advisors
    Replies: 1
    Last Post: 09-01-2010, 15:41
  4. ADX Cross EA
    By funyoo in forum Expert advisors backtesting
    Replies: 0
    Last Post: 07-29-2010, 22:24
  5. ST MA Cross EA
    By eforex in forum Ideas for expert advisors
    Replies: 12
    Last Post: 12-01-2009, 01:07

Tags for this Thread

backtesting, eurusd, expert, mt4, pips, signal, strategy, study, system, test

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •