Unlocking Multi Arbitration 1.1xx: Your Go-To EA for MetaTrader 5

Mike 2017.11.03 20:31 38 0 0
Attachments

Welcome back, fellow traders! Today, I'm excited to delve into the latest version of the Multi Arbitration 1.000—now upgraded to Multi Arbitration 1.1xx.

What’s New in 1.1xx?

  • The EA is now exclusively operational on the PERIOD_M1 timeframe. This means you’ll need to keep that in mind while setting it up (more on this in the Time frame parameter section below).

  • One of the most exciting updates is the ability to trade two symbols at once! The second symbol is pulled from the ExtArrSymbols static array:

    string ExtArrSymbols[20] =
      {
       "EURUSD","GBPUSD","USDCHF","USDJPY","USDCAD",
       "AUDUSD","AUDNZD","AUDCAD","AUDCHF","AUDJPY",
       "CHFJPY","EURGBP","EURAUD","EURCHF","EURJPY",
       "EURNZD","EURCAD","GBPCHF","GBPJPY","CADCHF"
      };
    
  • The position opening rules have been tweaked:

    • New BUY positions can only be initiated if the current price is below the lowest existing BUY position.
    • Conversely, new SELL positions can only be opened when the current price is above the highest existing SELL position.

    Multi Arbitration 1.1xx

  • A new Time frame parameter has been introduced, allowing for optimization across different charts. The EA will function when a new bar appears for the main symbol:

    //+------------------------------------------------------------------+
    //| Expert tick function |
    //+------------------------------------------------------------------+
    void OnTick()
      {
    //--- we work only at the time of the birth of new bar
       static datetime prevtime=0;
       datetime time_0=iTime(0,m_symbol_one.Name(),InpTimeFrame);
       if(time_0==prevtime)
          return;
       prevtime=time_0;
    

    The InpTimeFrame variable corresponds to our Time frame input. This flexibility opens doors for the EA to operate on any timeframe you choose!

Here are the testing results for EURUSD:

Multi Arbitration 1.1xx test

List
Comments 0