Automate the process of updating entry point thresholds within an EA, based on the results from testing with history data.

To add comments, please log in or register

Does anyone know whether its possible to build a layer on top of MT5 which could automate the following? I currently do this manually which is extremely time consuming.

Test EA on history data

After test is performed:

- Identify the first position within the test results which made a loss (negative profit)

 - Use the comment field value for that position to identify an entry point value stored in the EA and increment this value by 10

- OR reference the entry point values from an external file and increment these (if its not possible to write directly to an EA).

Run test again, and until there are no losses within test results.

Any guidance would be appreciated.


To add comments, please log in or register