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

Thread: MACD Hour EA

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

    Default MACD Hour EA



    We go long/short if macd is under/over 0 and if hour is equal to openhour, trades are closed at closehour.

    GU H1. 2010.

    Total net profit : 1408.94%
    RDD : 29.98%

    Important : the hours are set for GMT+0. You have to adjust these parameters depending on your broker server gmt offset (+2 for GMT+2, etc...).
    Attached Images Attached Images MACD Hour EA-strategytester-macd-hour-ea-gu-h1-gif 
    Attached Files Attached Files

  2. #2
    Junior Member
    Join Date
    Apr 2009
    Posts
    8

    Default

    Quote Originally Posted by funyoo View Post


    We go long/short if macd is under/over 0 and if hour is equal to openhour, trades are closed at closehour.

    GU H1. 2010.

    Total net profit : 1408.94%
    RDD : 29.98%
    Hi funyoo,
    whats the broker GMT offset on your backtest?

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

    Default

    Quote Originally Posted by merk View Post
    Hi funyoo,
    whats the broker GMT offset on your backtest?
    Hi merk,

    GMT+3.

  4. #4

    Default

    Hi Funyoo,

    I would like to ask you the followings:

    1. Is there any good reason for your choosing MACD (6,68,1) instead of standard MACD = 12, 26, 9 ?

    2. Could you please do a backtesting of this EA on GU but on 4h timeframe ?

    3. Could you please do a forward-testing of this EA on GU, Eurusd, Eurjpy, and Gbpjpy on myfxbook ? and post the link here?

    Thanks a lot.

    James Phuc

  5. #5

    Default

    Hi Funyoo,

    By the way, I just attached the EA and your above preset file onto the 1h of GU.

    I noticed that :

    1. Opposite close = False ? I often noticed so far that on many of your EAs, the function "Oppositeclose is often TRUE, but why for this preset file, Oppositeclose = False ? Does this EA make much more profit and lower drawdown with Oppositeclose = False than with Oppositeclose = TRUE?

    Do you have the backtesting with Oppositeclose = TRUE for a comparison? I can't do backtesting with 99% modelling quality. So, I hope you can help. Thanks a lot.

    2. There is No GMT Offset function on Input Parameter ? So, how can I adjust the GMT Offset time ?

    Thanks for your detailed explanations.

    James Phuc

  6. #6

    Default

    Quote Originally Posted by funyoo View Post


    We go long/short if macd is under/over 0 and if hour is equal to openhour, trades are closed at closehour.

    GU H1. 2010.

    Total net profit : 1408.94%
    RDD : 29.98%
    Hi Funyoo,

    Thanks for the EA, i was wondering if there is a special reason in your set that you start with such big lotsize of 10.59 Lots on a balance of only 10.000 usd ? When forward testing this lotsize would cause "not enough money" on a 1:100 leverage account.
    I assume that your idea behind the big starting lotsize is that when backtest survives this big starting lotsize that it is stable enough for smaller lotsize to use in forward?
    What setting do you advise for forward testing?

    Thank you in advance.
    Last edited by CycleTrader; 10-04-2010 at 11:38.

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

    Default

    Quote Originally Posted by james_phuc28 View Post
    Hi Funyoo,

    I would like to ask you the followings:

    1. Is there any good reason for your choosing MACD (6,68,1) instead of standard MACD = 12, 26, 9 ?

    2. Could you please do a backtesting of this EA on GU but on 4h timeframe ?

    3. Could you please do a forward-testing of this EA on GU, Eurusd, Eurjpy, and Gbpjpy on myfxbook ? and post the link here?

    Thanks a lot.

    James Phuc
    Hi james_phuc28,

    1. It is the result of optimization.

    2. You just need to test the code in the strategy tester, optimize first the entry logics, then the sl and tp.

    3. Yes I intend to forward test the EA on different pairs.

    Quote Originally Posted by james_phuc28 View Post
    Hi Funyoo,

    By the way, I just attached the EA and your above preset file onto the 1h of GU.

    I noticed that :

    1. Opposite close = False ? I often noticed so far that on many of your EAs, the function "Oppositeclose is often TRUE, but why for this preset file, Oppositeclose = False ? Does this EA make much more profit and lower drawdown with Oppositeclose = False than with Oppositeclose = TRUE?

    Do you have the backtesting with Oppositeclose = TRUE for a comparison? I can't do backtesting with 99% modelling quality. So, I hope you can help. Thanks a lot.

    2. There is No GMT Offset function on Input Parameter ? So, how can I adjust the GMT Offset time ?

    Thanks for your detailed explanations.

    James Phuc
    1. Yes that's correct. You just need to test the EA with oppositeclose set to true to get the results. For 99% of modeling quality, here is the guide.

    2. Yes you are right, it is for GMT+3, you have to substract one hour for GMT+2. I will specifiy it in the first post.

    Quote Originally Posted by CycleTrader View Post
    Hi Funyoo,

    Thanks for the EA, i was wondering if there is a special reason in your set that you start with such big lotsize of 10.59 Lots on a balance of only 10.000 usd ? When forward testing this lotsize would cause "not enough money" on a 1:100 leverage account.
    I assume that your idea behind the big starting lotsize is that when backtest survives this big starting lotsize that it is stable enough for smaller lotsize to use in forward?
    What setting do you advise for forward testing?

    Thank you in advance.
    Hi CycleTrader,

    I understand that it can be confusing. 10.59 lots with instaforex = 1.059 real standard lots.

  8. #8

    Default

    Thats indeed confusing, thanks for the explanation.

  9. #9

    Default

    Quote Originally Posted by funyoo View Post
    Hi merk,

    GMT+3.
    Funyoo, if you are using dukasdata to get your 99% modeling quality the GMT is 0.

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

    Default

    Quote Originally Posted by Snowski View Post
    Funyoo, if you are using dukasdata to get your 99% modeling quality the GMT is 0.
    Hi Snowski,

    Indeed, according to eareview.com :

    GMT offset

    This is a sensitive issue for many EAs. The Dukascopy data seems to be GMT-based all around the year, so the GMT offset that you need to use is 0. As of 21.04.2010, the Dukascopy and Oanda MQL scripts have an external parameter that lets you specify the GMT offset you would like for the resulting data, both HST and FXT.
    In consequence, you have to substract 3 to the values to get the correct settings gmt offset and then to adjust these values depending on your broker server gmt offset.

Similar Threads

  1. Four Hour Buzz
    By blackdog in forum Ideas for expert advisors
    Replies: 53
    Last Post: 08-19-2010, 19:30

Tags for this Thread

100, backtest, backtesting, broker, comparison, eas, eurjpy, eurusd, gbpjpy, guide, hours, instaforex, macd, mql, profit, real, scripts, server, strategy, systems, time, usd

Posting Permissions

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