On the first tick of the set time.
It should be understood that this EA is intended for training purposes and testing strategies.
I think you can speed it up considerably.
On the first tick of the set time.
You are a man of letters :)
After reading the description, I was sure that it was OnTimer. Just imagine how much more optimally it could have been written back then.
After reading the description, I was sure that it was OnTimer. Just imagine how much more optimally it could have been written back then.
After reading the description, I was sure that it was OnTimer. Just imagine how much more optimally it could have been written back then.
I looked at the code.
Why is there a timer there? The calculation of the required time is shown there just for educational purposes.
Why is there a timer? It shows the calculation of the required time just for educational purposes.
If it is for training purposes, the code should be written optimally. Do profiling to see the advantages of such a time calculation.
You can't be careless about the speed of an EA! Why write a knowingly slow code?
You want to fight for the purity of the kodobase? Well, well, well.
You want to fight for the purity of the kodobase? Well, well, well...
Not a single advisor from MQ in QB (I didn't look in the standard delivery). Strange situation. MQ keep emphasising the good speed performance of MT5, but it seems they haven't measured it. Perhaps that's why they allow posting slow code for educational purposes.
I would like to see the reference code from MQ. When there are no logical errors, algorithmic acceleration is impossible, the code is laid out, different types of orders are involved (not only markets), asynchronous sending of orders and their processing are shown, trading history and ticks are involved. At least for one symbol.

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
TimeEA:
A Simple Expert Advisor The EA opens a position of the specified type at the time specified in the EA parameters. The position is closed at the time specified in the appropriate parameter.
Author: Scriptor