
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
It's not about you, it's about the fact that a properly written algorithm doesn't have to go into history on every tick.
Речь не о Вас , а о том - что правильно написанный алгоритм не должен на каждом тике ходить в историю.
Andrey Khatimlianskii:
Well he doesn't, Renat missed it because of the coding style of the topic-starter.
so it's not about him .
It's only about the assertion.
And another thing - in the tester the history is available in full depth regardless of the settings of the terminal itself.
It's not about you, it's about the fact that a properly written algorithm doesn't have to go into history on every tick.
That's not the problem, the problem is using this library "MT4Orders.mqh" involve a serious overload.
Automatic translation.
That's not a problem, the problem is using this library "MT4Orders.mqh" involves a serious overload.
Which in itself slows down the process, both in MT4 and in MT5 - it would be good to have a setting - to give the history for the last month in the tester!
It is more logical to write the optimal algorithm!
That's not the problem, the problem is using this library "MT4Orders.mqh" involve a serious overload.
Original code
The library is 20% slower on such simple code, but will work without errors on any characters.
On complex code with history reference it will work faster than Trade.mqh.
Thanks for the code! Your version (without MT4Orders, MT5b1598)
The original code
Library slower by 20% for such a simple code, but will not work on any error symbols.
On complex code with reference to the story will run faster Trade.mqh.
My test show a bigger difference, but my computer is obviously slower.
Your version.
2017.05.08 13:49:21.188 Core 1 final balance 80670.20 USD
2017.05.08 13:49:21.188 Core 1 EURUSD,M15: 1704266 ticks, 384 bars generated. Environment synchronized at 0:00:00.046. Test passed in 0:01:04.313 (including ticks preprocessing 0:00:00.437).
My version (without library).
2017.05.08 13:52:18.274 Core 1 final balance 80670.20 USD
2017.05.08 13:52:18.274 Core 1 EURUSD,M15: 1704266 ticks, 384 bars generated. Environment synchronized at 0:00:00.094. Test passed in 0:00:13.047 (including ticks preprocessing 0:00:00.437).
Build 1596.
1598.
I will try on another computer, also with an SSD.
Automatic translation :
I will try on a different computer, also with an SSD.
1598.
Ok I confirm your result with build 1598. My version is about 20% faster.
But your original version with build 1596 is far slower so your original comparison with MT4 must be updated.
Automatic translation:
Ok I confirm your result with build 1598. My version is about 20% faster.
But your original version with build 1596 is much slower , so your original comparison with MT4 should be updated.