Job finished
Specification
Good night.
I need an EA for backtest only that will execute entries and exits programmed by an excel file (or csv if it gets easier).
The execution price and the time of execution must be accurate.
In this file you will have:
1) time of operation
2) execution price
3) Type of operation (Buy or Sell)
4) Direction (Input or output)
5) magic number
6) Active
7) Comment
These items must be replicated in EA operations. Backtest.
In the same backtest I can have the Magic 123 and Magic 567 opening operations. I will be able to open operations on more than one asset. But the EA does not need to manage anything, just open and close positions in the prices and scheduled times, respecting its MagicNumber.
Operations in the same direction should be considered partial entries (increase in position) and in the opposite direction they should reduce the position / close or turn the hand, depending on the lot.
The EA must work in a netting and hedge account, using its own commands (for example closeby).
Finally, input is needed to consider operating costs.
In the end, I need to receive the source code to avoid getting obsolete in mt5 updates.