Description of Midnight EA

Forums Strategies and Expert Advisors Midnight EA Description of Midnight EA

  • This topic is empty.
Viewing 15 posts - 256 through 270 (of 383 total)
  • Author
    Posts
  • #4990
    calixto
    Spectator

    Idea for little feature upgrade. EA could have one feature that will show real trade profit on backtests. ECN are charging commision for trades. On ICMarkets it’s 7$ per round lot. So for example when 1lot trade is in profit 7$ and it will be closed result will be 0$ because broker charged commision for it = 7$. Some EAs have that kind of parameter for backtest purposes.
    For example: Master Levels mt4

    Commission for 1 lot (for tests) – Allows to evaluate the size of the total commission for the entire test. The result is displayed in the testing log, OnTester function. (see screenshot)

    It help to see if profitable trades covers or are bigger than charged commision by broker.

    #4991
    101011001
    Spectator

    Hello folks. This week turned a profit. Only the optimized pairs worked. I’ll try Steve’s settings this week for a few pairs.
    [attachment=0:3ujdn8k5]MidnightTrades2.PNG[/attachment:3ujdn8k5]
    Definitely getting better Dom.

    #4992
    traderfifteen
    Spectator

    @Dominik wrote:

    @traderfx13 wrote:

    I started running a BT on EURCHF M15 with the preset that was posted with the latest 2.4 version but I stopped it since I noticed large losses versus small wins. Running with fixed 0.01 lots the Largest loss is -4.86 and the average win is 0.36 making for a R/R ratio of 13.5:1! To me that is unacceptable. It is worse than the original 10:1 in V 1.0. Any ideas?

    Simple. Midnight doesn’t work on M15.

    Guys, thanks for all posts. I’m still optimizing another (and also those ready) pairs. I consider all your comments and ideas, I test them and if it improves anything I implement to EA.

    What about hours of opening orders – it doesn’t make sense to change them, because Midnight won’t work.

    mayamak, hidden stops are removed from parameters and they are placed now only by algorithms of Midnight. I used visible/hard stops in new version that are placed automatically by EA after opening order. You can always override them, but I don’t recommend to do it. P.S. In current version you can disable info panel to synchronize Midnight with MQL VPS. Also you can disable time verification ad saving logs.

    4xlee, I’ll check it. For now, to avoid opening more trades in one day per pair you can set “Limiting Method” to “Allow only one order per day”.

    New parameters and filters that I added are based on price action and similar techniques. There is also volatility filter based on proportion between range reached and sizes of candles.

    In attachment you can find set file for AUDCAD.

    Here is the 99% backtest report on AUDCAD M30 with the posted preset. It seems that the RR ratio has improved to 5:1 now which is better but not great. It will take about 6 wins to breakeven with a loss (because the added execution costs). Seems that more tweaking is needed. Once other presets are posted I will test them. For now I will wait for a better RR ratio.

    #4993
    traderfifteen
    Spectator

    @StevenGreen wrote:

    I want to share my one of my optimizations here. I only used pairs with good profit potential in this one. I do have another set that does only very safe trades but doesnt trade very often.

    There are two set files for EURCHF and USDCHF, one with lower risk and one with higher.
    The higher one can go into drawdown but should be easily outweighted by the profits.
    Personally i use both of them so i have an overall of 14 charts.

    For ECN Broker i would recommend a max spread 25 – 30.

    Yesterdays trades:

    @SteveGreen. Your presets did not test well. Stats with 99% M30 testing are not good. I tried almost all of them and ran for 2-3 months since 2013-Jan then I stopped the BT. The AUDCAD preset Dominik posted is the best so far. I recommend to wait for him to post more presets since he knows the details of his logic best. But hey, I am grateful you posted your presets so we could try. A big thank you!

    #4994
    calixto
    Spectator

    @Dominik wrote:

    In attachment you can find set file for AUDCAD.

    I started using 14 days trial TDS2 Tick Data (v2.2.0) I don’t know if I set up properly variable spread and slippage settings (if any one know how to set up it correctly please help). Below is backtest form your set file I changed only MM settings form fiexd 0.01 to Auto_Lots_To_Balance_Factor=5

    [attachment=0:hpres1wb]AUDCAD_1.jpg[/attachment:hpres1wb]

    #4995
    traderfifteen
    Spectator

    @mayamak wrote:

    @Dominik wrote:

    In attachment you can find set file for AUDCAD.

    I started using 14 days trial TDS2 Tick Data (v2.2.0) I don’t know if I set up properly variable spread and slippage settings (if any one know how to set up it correctly please help). Below is backtest form your set file I changed only MM settings form fiexd 0.01 to Auto_Lots_To_Balance_Factor=5

    AUDCAD_1.jpg

    It looks OK. Make sure you add commission and put the GMT at +0 (match in TDS and EA settings) since this is the default dukascopy data (unless you changed it). Glad to see you use TDS!

    #4996
    duc9901
    Spectator

    Do you have setfiles for the best 3-4 charts?

    #4997
    calixto
    Spectator

    I have those errors on StrategyTester

    [attachment=0:2i9pn19x]errors.jpg[/attachment:2i9pn19x]

    #4998
    norrbaggen
    Spectator

    @traderfx13 wrote:

    @SteveGreen. Your presets did not test well. Stats with 99% M30 testing are not good. I tried almost all of them and ran for 2-3 months since 2013-Jan then I stopped the BT. The AUDCAD preset Dominik posted is the best so far. I recommend to wait for him to post more presets since he knows the details of his logic best. But hey, I am grateful you posted your presets so we could try. A big thank you!

    I have only used one year of backtesting data. Also because optimization is so slow on real tick data i used control points what makes the optimization a bit more inaccurate. So far it doesnt look bad on forward test tho. We will see. Mine are geared more towards small profits and quick exits and Dominiks more for Profit maximization.
    I will compare results over a longer period of forward testing.

    #4999
    calixto
    Spectator

    @traderfx13 wrote:

    It looks OK. Make sure you add commission and put the GMT at +0 (match in TDS and EA settings) since this is the default dukascopy data (unless you changed it). Glad to see you use TDS!

    I’m not suree about changing GMT to 0. I’m trying to simulate ICMarkets timezone. As it’s written here

    @eareview.net support – Using GMT and DST wrote:

    Configuring the time zone for a particular EA

    If you are backtesting an EA that trades around the clock, in most cases it doesn’t matter what GMT or DST you configure. Typically, such an EA will not have a GMT configuration parameter or section.

    If, however, you are backtesting an EA that only trades during certain times of the day it is very important to configure its settings correctly. First of all, the GMT offset configured in the Tick Data Settings dialog should always match the GMT offset that you input in the EA parameters. You should also disable automatic GMT configuration in the EA if it has such a feature.

    Furthermore, if you would like to emulate your broker’s time zone, you should find out what GMT offset and what DST your broker is using and configure these in the Tick Data Settings dialog – usually a quick Google search will quickly take you to this information. Just for reference, most major brokers are using GMT+2 and US DST but there are lots of exceptions.

    Finally, pay attention during late spring, summer and early autumn: even if your broker is at GMT+3, it might only mean that they’re at GMT+2 and DST is active.

    So GMT offset should be set up on Tick Data settings and turned off/disabled on EA settings

    #5000
    Dominik
    Administrator

    GBPUSD set file + 3 previous sets.

    #5001
    calixto
    Spectator

    @Dominik wrote:

    GBPUSD set file + 3 previous sets.

    Dominik what kind of data are you using for backtests TDS or Tickstory? Could you share screenshot with TicksData settings?

    #5002
    Dominik
    Administrator

    @mayamak wrote:

    @Dominik wrote:

    GBPUSD set file + 3 previous sets.

    Dominik what kind of data are you using for backtests TDS or Tickstory? Could you share screenshot with TicksData settings?

    Software: TDS. Ticks from Dukascopy. Error that you get from TDS means requotes. I must be off. I’ll write later. Regards.

    #5003
    calixto
    Spectator

    @Dominik wrote:

    @mayamak wrote:

    @Dominik wrote:

    GBPUSD set file + 3 previous sets.

    Dominik what kind of data are you using for backtests TDS or Tickstory? Could you share screenshot with TicksData settings?

    Software: TDS. Ticks from Dukascopy. Error that you get from TDS means requotes. I must be off. I’ll write later. Regards.

    ok could you check, if settings of GMT are correctly set up? (i’m still learning TDS) It’s setup for current ICMarkets GMT offset:+3

    [attachment=0:2r6e47kw]bakctest.jpg[/attachment:2r6e47kw]

    #5004
    calixto
    Spectator

    @Dominik wrote:

    GBPUSD set file

    GBPUSD Backtest with AutoLotsToBalanceFactor=20, GMT+2

    [attachment=1:165a9jig]GBPUSD.jpg[/attachment:165a9jig]

    EURCHF Backtest
    [attachment=0:165a9jig]EURCHF.jpg[/attachment:165a9jig]

Viewing 15 posts - 256 through 270 (of 383 total)
  • The topic ‘Description of Midnight EA’ is closed to new replies.