iCustom voor MT5
Results 1 to 2 of 2

Thread: iCustom voor MT5

  1. #1
    Ik probeer een EA om te zetten van MT4 naar MT5.
    De EA in MT4 gebruikt een iCustom-functie om de waarden van een indior te krijgen.
    De Indior heeft 8 buffers. In MT4 werkt het prima (de iCustom-functie haalt de waarde van de 8 buffers van de indior op de juiste manier op).
    In MT5, in plaats daarvan, haalt het vreemde waarden op uit de binnenruimte ..
    Het india staat onder MQL5 \ Indoors.
    Hier onder mijn MQL5-code: (opmerking 60 is de invoerparameter van de indoor)

    voor (i = 0; ilt; 60; i ) {
    EUR [i] = iCustom (NULL, PERIOD_M1, LR-sterkte, 60,0, i);
    USD [i] = iCustom (NULL, PERIOD_M1, LR-sterkte, 60,1, i);
    GBP [i] = iCustom (NULL, PERIOD_M1, LR-sterkte, 60,2, i);
    JPY [i] = iCustom (NULL, PERIOD_M1, LR-sterkte, 60,3, i);
    CHF [i] = iCustom (NULL, PERIOD_M1, LR-sterkte, 60,4, i);
    CAD [i] = iCustom (NULL, PERIOD_M1, LR Strength, 60,5, i);
    AUD [i] = iCustom (NULL, PERIOD_M1, LR-sterkte, 60,6, i);
    NZD [i] = iCustom (NULL, PERIOD_M1, LR Strength, 60,7, i);


    }

    Kan iemand me alstublieft helpen?

  2. #2

    Quote Originally Posted by ;
    Ik probeer een EA om te zetten van MT4 naar MT5. De EA in MT4 gebruikt een iCustom-functie om de waarden van een indior te krijgen. De Indior heeft 8 buffers. In MT4 werkt het prima (de iCustom-functie haalt de waarde van de 8 buffers van de indior op de juiste manier op). In MT5, in plaats daarvan, haalt het vreemde waarden van de indior op. De indior wordt geplaatst onder MQL5 \ Indiors. Hieronder mijn MQL5-code: (noot 60 is de iput-parameter van de indior) voor (i = 0; ilt; 60; i ) {EUR = iCustom (NULL, PERIOD_M1, LR Strength, 60,0, i); USD = iCustom (NULL, ...
    mql5 maakt geen gebruik van iCustom het is nogal een grote verandering hoe je toegang hebt tot tijdreeksen en indior-gegevens, je kunt het beste kijken naar de mql5-documentatie - het is een te groot onderwerp om in een bericht af te dekken.

Similar Threads

  1. Coderingswaarschuwingen met iCustom Array
    By Oxrtita17 in forum Cryptocurrencies
    Replies: 0
    Last Post: 08:29,

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.