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

Thread: Modification- EMA break EA

  1. #1

    Default Modification- EMA break EA

    Dear Funyoo

    Request you to include only following options:

    -basket percent
    -trades per bar & max trades
    -trailing
    -opposite close

    I don't know the reason why trailing stop is not working. I don't know in what way with standard template, that might be effecting the performance of the EA.


    regards
    Attached Files Attached Files
    Last edited by robert77; 09-14-2010 at 13:27.

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

    Default

    Quote Originally Posted by robert77 View Post
    Dear Funyoo

    Request you to include only following options:

    -basket percent
    -trades per bar & max trades
    -trailing
    -opposite close

    I don't know the reason why trailing stop is not working. I don't know in what way with standard template, that might be effecting the performance of the EA.


    regards
    Hi robert77,

    Basketpercent option added.

    Tradesperbar, max trades, trailinstop and oppositeclose options already available.

    The trailingstop and trailingstart have to be bigger than stoplevel (usually 15 pips).

    Trailingstopmode option added.

    trailingstopmode=0; // 0 new sl=ask+/-trailingstart, 1 new sl=sl+/-trailingstop or order open price/-trailingstop if sl=0
    Attached Files Attached Files

  3. #3

    Default

    Dear Funyoo

    Thank you for the updates in the EA. But 'trades per bar' is not working, though 'Max trades'=100. and Basket percent seems to be not functioning. Please rectify the issues.

    Regards
    Last edited by robert77; 09-16-2010 at 16:06.

  4. #4

    Default

    Dear Funyoo

    Continuing from last post, I would like to share some issues. there is deviation while placing the order, I mean to say, it execute the order after price moved very far from break out point. Which is sometimes results in big loss of the trade. Can you please avoid the order placement error with your sophisticated programming technique, please?.

    Please also Add

    -Average true range (ATR) close option.
    -Moving average filter (buy & sell) , e.g. prices above ( or break out) certain moving average is only buy & visa versa.


    Sorry, If I am bothering you, by discussing the issues and modifying in somewhat intermittently, instead of doing it in one request.

    Regards
    Last edited by robert77; 09-16-2010 at 10:40.

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

    Default

    Quote Originally Posted by robert77 View Post
    Dear Funyoo

    Thank you for the updates in the EA. But 'trades per bar' is not working, though 'Max trades'=100. and Basket percent seems to be not functioning. Please rectify the issues.

    Regards
    Hi robert77,

    Code updated.

    Quote Originally Posted by robert77 View Post
    Dear Funyoo

    Continuing from last post, I would like to share some issues. there is deviation while placing the order, I mean to say, it execute the order after price moved very far from break out point. Which is sometimes results in big loss of the trade. Can you please avoid the order placement error with your sophisticated programming technique, please?.

    Please also Add

    -Average true range (ATR) close option.
    -Moving average filter (buy & sell) , e.g. prices above ( or break out) certain moving average is only buy & visa versa.


    Sorry, If I am bothering you, by discussing the issues and modifying in somewhat intermittently, instead of doing it in one request.

    Regards
    Maxdistance, autosltp and mafilter options added.
    Attached Files Attached Files

  6. #6

    Default

    Dear Funyoo

    Thank you for the updates, Please help me to further improve it.

    i.e When price exactly touches the MA1, the EA will create buy & sell pending orders on either side of it, at a given distance, when one get triggered other will be closed automatically.

    Suggestion: To find the exact contact point, write a code which generates horizontal line, while price is just before going to touch (when approx gap of 3pip) MA1, consider end point of the MA1 as coordinate for drawing the horizontal line.


    in version 1.02, Shift variable for MA1 is not functioning, i tried to edit but could not succeed. please include it in new version.

    Regards
    Last edited by robert77; 09-27-2010 at 18:44. Reason: suggestion

  7. #7

    Default

    Quote Originally Posted by robert77 View Post
    Dear Funyoo

    Thank you for the updates, Please help me to further improve it.

    i.e When price exactly touches the MA1, the EA will create buy & sell pending orders on either side of it, at a given distance, when one get triggered other will be closed automatically.

    Suggestion: To find the exact contact point, write a code which generates horizontal line, while price is just before going to touch (when approx gap of 3pip) MA1, consider end point of the MA1 as coordinate for drawing the horizontal line.


    in version 1.02, Shift variable for MA1 is not functioning, i tried to edit but could not succeed. please include it in new version.

    Regards
    Dear Funyoo

    Please have a look on me.

    Regards

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

    Default

    Quote Originally Posted by robert77 View Post
    Dear Funyoo

    Thank you for the updates, Please help me to further improve it.

    i.e When price exactly touches the MA1, the EA will create buy & sell pending orders on either side of it, at a given distance, when one get triggered other will be closed automatically.

    Suggestion: To find the exact contact point, write a code which generates horizontal line, while price is just before going to touch (when approx gap of 3pip) MA1, consider end point of the MA1 as coordinate for drawing the horizontal line.


    in version 1.02, Shift variable for MA1 is not functioning, i tried to edit but could not succeed. please include it in new version.

    Regards
    Hi robert77,

    Here is a new version.
    Attached Files Attached Files

  9. #9
    Senior Member
    Join Date
    Dec 2008
    Posts
    501

    Default

    what is the set file for this EA

    and what time frame is the best demo test

    Thanks

  10. #10

    Default

    Quote Originally Posted by funyoo View Post
    Hi robert77,

    Here is a new version.
    Dear Funyoo

    Thanks a Million !! You are my Hero

Similar Threads

  1. Modification EMA break out
    By robert77 in forum Ideas for expert advisors
    Replies: 6
    Last Post: 11-25-2010, 19:44
  2. Day Break EA
    By Lordvader in forum Ideas for expert advisors
    Replies: 10
    Last Post: 02-19-2010, 13:37
  3. Break even Help me
    By almatias in forum MQL programming
    Replies: 2
    Last Post: 12-23-2009, 00:05

Tags for this Thread

100, average, demo, moving average, programming, request, stop, time, trailing, trailingstart, trailingstop

Posting Permissions

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