It's always been like that. Since the beginning of the new four.
I will not argue and prove it, but about 2-3 weeks ago seems to have been. I was fixing an Expert Advisor for one person with buttons and input fields. I had to add a button and an input field. To determine the indent from the corner, I always created the object manually and after placing it where it was necessary, I looked through the properties and added these values to the code. After all, I couldn't have dreamt of such a thing...
I could assume I was moving a programmatically created object. But that's impossible now too. The object is highlighted, but you can't move it.
We can perfectly see from the time column and the EA's numeric data that the duration of trade order execution has no effect on the sequence of OnTradeTransaction events. All the asynchrony goes to hell! They have managed to screw it up so badly. Build 1755.
Run on MQ-Demo on some slow moving symbol. For example, EURHUF.
The script opens BUY position with TP = Bid. I.e. position should close immediately. But TP will be checked for compliance with the acceptance condition only on the next tick!
The position will not be closed immediately until the next tick occurs. Moreover, if the next tick has Bid < TP, the TP will remain without any acceptance.
The same applies to limit orders (commented line). The situation is similar in the Tester.
fxsaber: This is not a bug in the Terminal, but in the MT5 platform
Run on MQ-Demo on some slow moving symbol. For example, EURHUF.
The script opens BUY position with TP = Bid. I.e. position should close immediately. But TP will be checked for compliance with the acceptance condition only on the next tick!
The position will not be closed immediately until the next tick occurs. Moreover, if the next tick has Bid < TP, the TP will remain without any acceptance.
The same applies to limit orders (commented line). The situation is similar in the Strategy Tester.
Please enclose a clean MQL5 code in questions on MQL5.
I'm sick of seeing your NASTY advertising on and off.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
What do you mean "became"?
It's always been like that. Since the beginning of the new four.
I had to add a button and an input field. To determine the indent from the corner, I always created the object manually and after placing it where it was necessary, I looked through the properties and added these values to the code. After all, I couldn't have dreamt of such a thing...
I could assume I was moving a programmatically created object. But that's impossible now too. The object is highlighted, but you can't move it.
Hi all.
Has anyone encountered this error when optimising in the cloud on Open Prices only ?
The error is not constant. I.e. it occurs "very rarely" but when I run 10,000 results , it pops up 50 times.
I do not change TF during optimization.
The error is not constant. I.e. it occurs "very rarely" but when you run 10,000 results, it pops up 50 times.
You need to get all the information you need from the agent through the frame to analyse it.
You need to get all the necessary information out of the Agent via a frame for analysis.
The entire sequence of OnTradeTransaction events follows the completion of OrderSend.
EA
Manually send a trade order.
Log
2018.02.14 09:41:46.671 '8854170': instant sell 1.00 EURUSD at 1.23673 2018.02.14 09:41:46.853 '8854170': accepted instant sell 1.00 EURUSD at 1.23673 2018.02.14 09:41:46.853 '8854170': deal #192088422 sell 1.00 EURUSD at 1.23673 done (based on order #208541700) 2018.02.14 09:41:46.853 '8854170': order #208541700 sell 1.00 / 1.00 EURUSD at 1.23673 done in 190.608 msExpert Advisor Result
We can perfectly see from the time column and the EA's numeric data that the duration of trade order execution has no effect on the sequence of OnTradeTransaction events. All the asynchrony goes to hell! They have managed to screw it up so badly. Build 1755.
The symbol has Digits == 3
with many more digits displayed in the log
Run on MQ-Demo on some slow moving symbol. For example, EURHUF.
The script opens BUY position with TP = Bid. I.e. position should close immediately. But TP will be checked for compliance with the acceptance condition only on the next tick!
The position will not be closed immediately until the next tick occurs. Moreover, if the next tick has Bid < TP, the TP will remain without any acceptance.
The same applies to limit orders (commented line). The situation is similar in the Tester.
This is not a bug in the Terminal, but in the MT5 platform
Run on MQ-Demo on some slow moving symbol. For example, EURHUF.
The script opens BUY position with TP = Bid. I.e. position should close immediately. But TP will be checked for compliance with the acceptance condition only on the next tick!
The position will not be closed immediately until the next tick occurs. Moreover, if the next tick has Bid < TP, the TP will remain without any acceptance.
The same applies to limit orders (commented line). The situation is similar in the Strategy Tester.
Please enclose a clean MQL5 code in questions on MQL5.
I'm sick of seeing your NASTY advertising on and off.