Multi Arbitration

0
(0)

Growth of the code Multi Arbitration 1.000 .

Variations from 1.000 :

    • The Knowledgeable Advisor ONLY begins on PERIOD_M1 (see under for the reason, see the Zaman aralığı parametre ).
    • Now this adviser trades directly on two symbols. The second character is taken from the static array ExtArrSymbols :
      String          ExtArrSymbols [ 20 ] =
        ;
      //+------------------------------------------------------------------+
      //| Knowledgeable initialization perform                                   |
      //+------------------------------------------------------------------+
      int OnInit()
    • The precept of opening positions is modified:
      • Now the brand new place "SATIN ALMAK" might be opened solely when the present worth is under the bottom place "SATIN ALMAK";
      • The brand new place "SATMAK" might be opened solely when the present worth is increased than the best place of "SATMAK":

      Multi Arbitration 1.1xx

    • bu Zaman aralığı parameter is entered - now you'll be able to optimize on any interval of the graph. The Knowledgeable Advisor itself works solely when a brand new bar seems on the principle image (on the image on which the Knowledgeable Advisor is operating):
      // + ----------------------------------------------- ------------------- + 
      // | Knowledgeable tick perform | 
      // + ----------------------------------------------- ------------------- + 
      void  OnTick ()
        {
      // --- we work solely on the time of the beginning of latest bar 
         static  datetime prevtime = 0 ;
         datetime time_0 = iTime ( 0 , m_symbol_one.Title () , InpTimeFrame );
      Eğer (time_0 == prevtime)
             geri dönmek ; 
         Prevtime = time_0;

      Tam burada, the variable InpTimeFrame is our enter parameter Zaman aralığı . Böylece, relying on the worth of the enter parameter Zaman aralığı, we will make the EA work on any timeframe!

The outcomes of the take a look at for EURUSD:

Multi Arbitration 1.1xx test

 

Multi Arbitration 1.1xx.mq5

Bu yazı ne kadar faydalı oldu?

Derecelendirmek için bir yıldıza tıklayın!

Ortalama puanı 0 / 5. Oy sayısı: 0

Şu ana kadar oy yok! Bu gönderiye ilk puan veren siz olun.

Bu yazının sizin için yararlı olmadığı için üzgünüz!

Bu yazıyı geliştirelim!

Bu gönderiyi nasıl geliştirebileceğimizi bize bildirin?



Yazar: Forex Wiki Ekibi
Biz son derece deneyimli Forex Yatırımcılarından oluşan bir ekibiz [2000-2023] hayatı kendi şartlarımıza göre yaşamaya kendini adamış olan. Öncelikli hedefimiz mali bağımsızlık ve özgürlüğe ulaşmaktır., ve kendi kendine sürdürülebilir bir yaşam tarzı elde etmenin yolu olarak kendi kendine eğitim peşinde koştuk ve Forex piyasasında kapsamlı deneyim kazandık..