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 Tempus-artus modulus ).
    • 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 "BUY" might be opened solely when the present worth is under the bottom place "BUY";
      • The brand new place "VENDITO" might be opened solely when the present worth is increased than the best place of "VENDITO":

      Multi Arbitration 1.1xx

    • The Tempus-artus 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 );
      Si (time_0 == prevtime)
             reditus ; 
         Prevtime = time_0;

      Ius hic, the variable InpTimeFrame is our enter parameter Tempus-artus . Sic, relying on the worth of the enter parameter Tempus-artus, 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

Quam utile fuit hoc post?

Click on a stella ad rate it!

Mediocris rating 0 / 5. Suffragium Comitis: 0

Nulla suffragia usque! Primus ad rate esto post haec.

Dolemus quod haec posta tibi non utilis fuit!

Emendare post haec!

Dic nobis quomodo hanc postem emendare possimus?



Author: Praenomen to Team
Nos sumus quadrigis maxime peritus congue mercatores [2000-2023] qui vitam nostram vivendo sunt addicti. Primarium propositum nostrum est libertatem ac libertatem attingere, et sui educationem secuti sumus et in Forexino foro peritia multa consecuti sumus ut media ad vitam sustinendam sui sustentandam..