Discussion of article "MQL5 vs QLUA - Why trading operations in MQL5 are up to 28 times faster?" - page 2
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
The codes are provided, anyone can check for themselves and see if the conclusions are valid. There's no problem here.
My code
Result
You can clearly see how much the results differ even on neighbouring half minutes. Comparison of glasses should be done ONLY at the same time!
Where is the confirmation you write about? I didn't notice it in the code. If you mean the response from OrderSend(), then from the help:
Return value
In case of successful basic structure checking (pointer checking), true is returned - it does not indicate successful execution of the trade operation. To get a more detailed description of the result of the function execution, you should analyse the fields of the result structure .
The video shows the beginning of the session. And the video in the article is the juice. And
the number is not enough to start the session. Please explain what is a "queue" and "warm-up".
Look at the time in the tests - it is the middle of a quiet day, not the start of the session. So skipping a small number of ticks is reasonable and it's enough to avoid potential residuals of unselected ticks.
It's not like we're forum kids to not know how to run test measurements and then lose out due to poor evidence. Tests were run dozens of times to make sure there were no errors. Only after that was publication.
Where's the confirmation you're talking about? I didn't notice it in the code. If you mean the response from OrderSend(), then from the help:
Please explain.OrderSend is a 100% synchronous operation that waits for the results of a complete order placement in the server.
That is, in case of external exchange execution, it is a full cycle of processing with exchange confirmation of order placement.
Look at the time in the tests - it's the middle of a quiet day, not the start of a session.
trading session there are several single updates of the stack. Therefore, the script skips the first N ticks to make sure that there is a real raft of orders in the stack. And only after that it starts counting ticks.
My code
Result
You can clearly see how much the results differ even on neighbouring half minutes. Comparison of glasses should be done ONLY at the same time!
Simultaneous is when you have a difference in measurements floating around like 10%.
But when by the results of dozens of tests you have a stable difference of 4-5 times, there is nothing to discuss.
Where's the confirmation you're talking about? I didn't notice it in the code. If you mean the response from OrderSend(), then from the help:
Please explain.OrderSend returns the same value as OrderCheck. But in this case, in case of returning true, OrderSend will finish its execution only when the response from the trade server arrives.
The trade server (gateway) is a pipe to the exchange, where only the GO is checked. Therefore, if the GO is wrong, the order will not reach the exchange. And in this sense you are right that it is good to check MqlTradeResult. But in this case the GO was in order every time, so all orders were sent to the exchange. And OrderSend ended its work after receiving exactly the exchange response.
So the result is correct.
Your colleague said about the session
You are confused with another video presented for visual comparison of session start in three terminals. In this video https://www.youtube.com/watch?v=i5vvD66I3Ik it is easy to see the clear visual superiority of MT5 in data update speed.
In the article https://www.mql5.com/en/articles/2635 we proved the difference in speed on the figures and specially took the middle of the day (2016.09.12 13:57 GMT+1), so that there were no complaints about the potential possibility of someone's brakes at the start of the market. The video from the article https://www.youtube.com/watch?v=J5nqWGQ1zh8 shows a clean sequential measurement for three minutes without any interruptions.
You are confused with another video presented for visual comparison of session start in three terminals. In this video https://www.youtube.com/watch?v=i5vvD66I3Ik it is easy to notice a clear visual superiority of MT5 in the speed of data update.
In the article https://www.mql5.com/en/articles/2635 we proved the difference in speed on the numbers and took the middle of the day (13:57 GMT+1) on purpose, so that there would be no claims about potential possibility of someone's brakes at the start of the market. The video from the article https://www.youtube.com/watch?v=J5nqWGQ1zh8 shows a clean sequential measurement over three minutes.
Forum on trading, automated trading systems and testing trading strategies
Discussion of the article "Comparison of MQL5 and QLUA - why are trading operations in MQL5 up to 28 times faster?".
fxsaber, 2016.09.13:25 pm
Need clarification about the impact of queuing and warm-up on performance.
I only had a question about the comment in the source to the current article
Any test should contain cold start protection.
So skipping N ticks is an indication that we are aware and taking this into account. Just to avoid the obviously expected "why didn't you compensate for the cold start" claim.
The video about the start of the session of three terminals was prepared on 25 August 2016 for another claim of a trader who claimed that MT5 slows down at the start of the session. As it turned out later, this trader did not use MT5 at all, but broadcasted speculations from the forum. It also turned out that some traders were not aware that for exchange instruments charts are built not by Bid, but by traded Last prices. They perceived the change of Bids in the stack and their non-display on the charts as "MT5 brakes".
Of course, there are no brakes.