Ticaret robotlarını ücretsiz olarak nasıl indirebileceğinizi izleyin
Bizi Telegram üzerinde bulun!
Fan sayfamıza katılın
Komut dosyasını ilginç mi buldunuz?
Öyleyse bir link gönderin -
başkalarının da faydalanmasını sağlayın
Komut dosyasını beğendiniz mi? MetaTrader 5 terminalinde deneyin
Uzman Danışmanlar

Multi Arbitration 1.1xx - MetaTrader 5 için Uzman Danışman

Görüntülemeler:
4556
Derecelendirme:
(26)
Yayınlandı:
2017.11.03 11:31
Güncellendi:
2018.06.26 14:51
Bu koda dayalı bir robota veya göstergeye mi ihtiyacınız var? Freelance üzerinden sipariş edin Freelance'e git

A further development of Multi Arbitration 1.000.

Difference from 1.000:

  • The EA is only launched on PERIOD_M1 (see the explanation below, parameter Time frame).

  • The EA now trades two symbols simultaneously. The second symbol is taken 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"
      };
    //+------------------------------------------------------------------+
    //| Expert initialization function                                   |
    //+------------------------------------------------------------------+
    int OnInit()
    
  • Position opening principle has changed:

    • Now, a new BUY position can only be opened when the current price is below the lowest BUY position.
    • A new SELL position can only be opened when the current price is above the highest SELL position.

    Multi Arbitration 1.1xx

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

    //+------------------------------------------------------------------+
    //| 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;
    

    Here the InpTimeFrame variable is our Time frame input. Depending on the Time frame input, we can enable the EA to work on any timeframe!

  • Testing results on EURUSD:

    Multi Arbitration 1.1xx test

MetaQuotes Ltd tarafından Rusçadan çevrilmiştir.
Orijinal kod: https://www.mql5.com/ru/code/18751

ParTest ParTest

The Paramon indicator with a color filling of the channel.

Exp_Omni_Trend Exp_Omni_Trend

A trading system based on the Omni_Trend indicator signals.

ZigZagOnParabolic_channel ZigZagOnParabolic_channel

A channel based on peaks and troughs of ZigZagOnParabolic.

AFStar AFStar

A semaphore signal indicator.