Hey,
new issue. I send a market order and try to read the data immediately after the order has been sent - in synchronous mode - not async. So I use PositionSelect() afterwards, using the ticket number which is returned but get return value false. But when I use OrderSelect() instead, MT5 shows me that there is a pending order. Did I miss something?
When I debug the code, step by step, I works fine, but not when I simply let it execute without interrupting.
Is this normal behaviour? For my understanding, this should be like that only when dealing with asynchronous processing.
Thanx in advance.
This is the right behavior.
Forum on trading, automated trading systems and testing trading strategies
fxsaber, 2019.04.09 18:59
Here I immediately found two topics on this issue.
This is the right behavior.
Never recognized this, weird. Thank you ... and of course I used Google etc., but probably the wrong search options.
Never recognized this, weird. Thank you ... and of course I used Google etc., but probably the wrong search options.
At the moment there is only one library that bypasses these features of the platform architecture.
Now it´s two ;)
Now it´s two ;)
I would like to try.
At the moment there is only one library that bypasses these features of the platform architecture.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hey,
new issue. I send a market order and try to read the data immediately after the order has been sent - in synchronous mode - not async. So I use PositionSelect() afterwards, using the ticket number which is returned but get return value false. But when I use OrderSelect() instead, MT5 shows me that there is a pending order. Did I miss something?
When I debug the code, step by step, I works fine, but not when I simply let it execute without interrupting.
Is this normal behaviour? For my understanding, this should be like that only when dealing with asynchronous processing.
Thanx in advance.