CAN WE "Bulk Operations" command run from Expert Advisor ??
sanane sanane1: CAN WE "Bulk Operations" command run from Expert Advisor ??
Currently, as far as I know, it has not been implemented! You have to write you own MQL code for it. There are many examples in the CodeBase.
what are bulk operations?
Evgeniy Zhdan #: what are bulk operations?
New MetaTrader 5 Platform build 3260: Bulk operations, matrix and vector functions, and chat enhancements
Fernando Carreiro #:
New MetaTrader 5 Platform build 3260: Bulk operations, matrix and vector functions, and chat enhancements
New MetaTrader 5 Platform build 3260: Bulk operations, matrix and vector functions, and chat enhancements
What I'm wondering is, for example, the speed of a broker is 50 ms and the time to open and close positions is 400 ms -330ms, but if I close all positions from bulk operations very fast for example, 1ms.
why like that
sanane sanane1 #: What I'm wondering is, for example, the speed of a broker is 50 ms and the time to open and close positions is 400 ms -330ms, but if I close all positions from bulk operations very fast for example, 1ms.
Probably because they are launching all the requests via asynchronous mode instead of synchronous mode, and only checking the results at the end. Try to do the same in your MQL code and compare.
why like that
sanane sanane1 #: how can ı code like " asynchronous mode" can you give a idea links etc
Documentation on MQL5: Trade Functions / OrderSendAsync
The OrderSendAsync() function is used for conducting asynchronous trade operations without waiting for the trade server's response to a sent request. The function is designed for high-frequency trading, when under the terms of the trading algorithm it is unacceptable to waste time waiting for a response from the server.
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register