Multi Arbitrasie

0
(0)

Growth of the code Multi Arbitrasie 1.000 .

Variasies van 1.000 :

    • Die kundige adviseur begin SLEGS op PERIOD_M1 (sien onder vir die rede, see the Tydraam parameter ).
    • Nou handel hierdie adviseur direk op twee simbole. The second character is taken from the static array ExtArrSymbols :
      String          ExtArrSymbols [ 20 ] =
        ;
      //+------------------------------------------------------------------+
      //| Kundige inisialisering voer                                   |
      //+------------------------------------------------------------------+
      int OnInit()
    • The precept of opening positions is modified:
      • Now the brand new place "KOOP" might be opened solely when the present worth is under the bottom place "KOOP";
      • The brand new place "VERKOOP" might be opened solely when the present worth is increased than the best place of "VERKOOP":

      Multi Arbitration 1.1xx

    • Die Tydraam 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 );
      As (time_0 == prevtime)
             return ; 
         Prevtime = time_0;

      Net hier, the variable InpTimeFrame is our enter parameter Tydraam . Dus, relying on the worth of the enter parameter Tydraam, 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

Hoe nuttig was hierdie pos nie?

Klik op 'n ster om dit te gradeer!

Gemiddelde gradering 0 / 5. Stemmetelling: 0

Geen stemme tot dusver nie! Wees die eerste om hierdie plasing te beoordeel.

Ons is jammer dat hierdie plasing nie vir jou nuttig was nie!

Kom ons verbeter hierdie pos!

Vertel ons hoe ons hierdie pos kan verbeter?



Skrywer: Forex Wiki-span
Ons is 'n span hoogs ervare Forex Handelaars [2000-2023] wat daaraan toegewy is om die lewe op ons eie terme te leef. Ons primêre doelwit is om finansiële onafhanklikheid en vryheid te verkry, en ons het selfonderrig nagestreef en uitgebreide ondervinding in die Forex-mark opgedoen as ons manier om 'n selfvolhoubare leefstyl te bereik.