MT4 indior function inputs.
Results 1 to 5 of 5

Thread: MT4 indior function inputs.

  1. #1
    I am currently writing tests for a C ATS as part of the I should like to write some unit tests for the many indiors to compare their results against a few externally generated data. Might it be feasible to use MT4 scripts (or any other shared platform) to feed a few arbitrary bar data into a indior and obtain the indior result?

  2. #2
    You can upload the OHLC data to the history of an exotic pair. Then open an offline chart for that pair, and conduct the indiors against that.

  3. #3
    Thanks for your reply, is it likely to point me in the direction of an example? I am familiar with MQL, but I am unsure of the specifics of 'uploading to an exotic'.

  4. #4
    Tools =gt; History Center =gt; Import

    When importing data, choose a currency pair which you won't trade with.

    As soon as you're done importing this information, open the chart offline.

    Document Open Offline [Select the currency pair and interval]

    Attach the indior to the chart.

  5. #5

    Edit: All done now, I was able to simplify my ATR implementation considerably (that was predied on the NinjaTrader indior( but now dependent on the MT4 implementation).

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 more information