Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

Multiple Arbitration 1.1xx - MetaTrader 5 Expert | MT5 EA Download - MetaTrader 5 Resources

author EAcpu | 3 reads | 0 comments |

Multi Arbitration 1.1xx - expert for MetaTrader 5

Multi Arbitration 1.1xx - expert for MetaTrader 5

Further development of multi-arbitration 1.000 .

Difference from 1.000 :

The EA is launched only on PERIOD_M1 (see description below, parameters for approximate time ).

The EA now trades two symbols simultaneously. The second symbol is taken from the external symbol static array:

 String ExtArrSymbols[ 20 ]=
  {
"EUR/USD" , "GBP/USD" , "USD/CHF" , "USDJPY" , "USDCAD" ,
"AUDUSD" , "AUDNZD" , "AUDCAD" , "Oldhoff" , "AUDJPY" ,
"CHF JPY" , "EUR GBP" , "EUR" , "EUR/CHF" , "EUR JPY" ,
"EURNZD" , "EURCAD" , "GBPCHF" , "GBPJPY" , "CADCHF" };
//+------------------------------------------------------------------+
//|Expert initialization function |
//+------------------------------------------------------------------+
Integer initialization ()
  • The principles of opening a position have changed:

    Multi Arbitration 1.1xx - expert for MetaTrader 5

    The new parameter Approximate Time allows optimizing the EA on any chart. Expert Advisor works when a new bar of the main symbol appears (i.e. the symbol of the chart on which the EA runs):

     //+------------------------------------------------------------------+
    //|Expert check function |
    //+------------------------------------------------------------------+
    Blank check ()
      { //--- We only work on the date and time of the new bar birth when the work was stopped last time = 0 ;
    Date time time_0= Love time ( 0 , m_symbol_one.Name() , input time frame ); if (time_0==previous time)
    Return ; Previous time=time_0;

    The input time frame variable here is our general time input. Depending on the approximate time input, we can have the EA run on any time frame!

    EURUSD test results:

    Multi Arbitration 1.1xx - expert for MetaTrader 5


    Attachment download

    📎 multi_arbitration_1.1xx.mq5 (30.29 KB)

    Source: MQL5 #18751

  • Verification code Refresh