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
Proof
This is not proof.
You are mistaken.
My assertion stands - the said expert is only testing access to transaction history.This is not proof.
You are mistaken.
My assertion stands - the said expert is testing only access to the history of transactions.
You have jumped to conclusions.
I'm not sure that such comparisons make any sense - cloud computing negates all the speed advantages of the MT4 tester.
And, besides, in this case, indeed, the EA is testing purely data access speed. But I don't think this is a bottle neck for most EAs.
After the introduction of accounts with hedging positions in MT5 - I personally do not see any pluses of MT4 for me at all. I use cross-platform libraries only because I have MT4 on my real accounts.
The only thing that I personally miss - pointers or array references. I don't need to copy data in indicators for some reason. MQL5 has everything else.
You jumped to conclusions.
ZS Not all runs matched perfectly. So one of the three is definitely lying (MT4+TDS, MT5, MT4Orders). We will have to look for it.
Thanks to the sub, the culprit has been found, it always happens when there is a possibility to compare.
Expert Advisor showing the bug
MT4
MT5
What else is there? The data request and saving it to a file. There are no other operations - what exactly is this EA testing?
After the introduction of accounts with hedging positions in MT5, I personally do not see a single advantage of MT4.
This thread stands out somewhat for its concentration of constructive content. So personal preferences are better discussed here, for example.
Where is the error? I even checked myself, put BreakPoints everywhere where there's History-functions, and ran debugging by CTRL+F5. It all worked out cleanly.
You jumped to conclusions.
All in all:
Roughly we take 1 800 000 ticks in the test, where 200 000 deals are opened in 5 days. Let's simplify it to 900 000 ticks, where 100 000 orders are scanned in history and we get 900 000 000 * 100 000 = 900 000 000 000 000 OrderSelect calls (with overflow from the library). It is exactly 900 billion OrderSelect calls that are tested.
And of them 99.99% of calls are absolutely unnecessary and were made only to demonstrate "lags".
If you want to do a clean test, write two identical clean examples without libraries. This will guarantee clean and no overhead built in for the sake of compatibility.
We have optimized access to the history and completely nullified this demo. It was written that way on purpose.
All in all:
99.99% of the challenges are completely unnecessary and were made purely to demonstrate the "brakes".
If you want to do a clean test, write two identical clean examples without libraries. This way there will be a guarantee of cleanliness and no overhead built in for the sake of compatibility.
I want to be able to compare the two testers. See the pros and cons of each. Also comparison is one of the most effective ways of identifying bugs.
The thread starts with demonstrating the identity of the raw data of both testers. This is the basis, without which we can't do anything. Then everyone can choose an Expert Advisor for the test.
We have optimized access to the history and completely negated this demonstration. It was written that way on purpose.
Working with the history is OrderSelect and similar OrderXXXX commands. Do not pretend that you do not understand this. Especially if you have written the library.
I haven't forgotten about MQL4 and it works with history there too.
Write a history scanner for 200 000 trades deep into each tick and forget the condition of a reasonable exit from the loop? This is called - to purposely play the Russian men.
And don't refer to some scalpers. The loop was written so stupidly on purpose. And even within 5 days of the test there was nothing but hundreds of billions of OrderXXX functions being tested, of which 99.99% didn't need to be called.
The problem is that you've started to argue with the absolutely accurate statement "The entire Expert Advisor example is written so that it does only one thing - scans the entire history of trades on every tick", although you knew very well why you've written the test so intentionally. After all, you could remove 99.99% of the dumb scan with one move of your hand, but then the test would fail.
Working with history is OrderSelect and similar OrderXXXX commands. Do not pretend that you do not understand it. Especially if you have written the library.
I haven't forgotten about MQL4 and it works with history there too.
Write a history scanner for 200 000 trades deep into each tick and forget the condition of a reasonable exit from the loop? This is called - to purposely play the Russian men.
And don't make reference to some scalpers. The loop was written on purpose. And even within 5 days of the test it tested nothing but hundreds of billions of OrderXXXXX functions, 99.99% of which did not need to be called.
I will not argue. I ask forum users who are familiar with MQL4 to review this short source code and explain what Renat means.
Forum on Trading, Automated Trading Systems and Strategy Tests
MT4-Tester VS MT5-Tester
fxsaber, 2017.05.08 01:11
EA
I must be mistaken, but I can't see where the history work in MT4 is going. Please help.