This is very easy to explain. The highlighted number is the final balance in the virtual trading environment. Its profit is calculated with TickValue = 1. And MT5-Tester changes TickValue on every tick. For this purpose, in particular, it pulls data from other pairs. Moreover, Virtual does not calculate commission and swaps, as it is not really needed, just like TickValue.
I run everything on custom symbols myself. And there swap is zero. All settlement currencies are equal to the deposit currency. Then it turns out to be a complete match.
In general, the highlighted OnTester is the TS profit without using the best interval, calculated with TickValue = 1, Commission = Swap = 0. That's why it turns out that trading one lot always gives a whole OnTester.
I see, thanks. I will try to experiment with other TS, symbols.
Mikola_2: I see, thank you. I will try to experiment with other TS, symbols.
Please share in comments the results of using (as above) the library BEFORE and AFTER in the form of pictures and relevant pieces of MT4/5 single pass logs.
Please share in the comments the results of using (as above) the library BEFORE and AFTER in the form of pictures and relevant pieces of logs of a single MT4/5 pass.
Until I get it all together in my head, I am practising on the attached Expert Advisor.
Do I understand correctly what is marked on the picture?
OnTester Critical Error appeared after completing the test in the previously attached EA, sort of with Number of deleted intervals = 0, maybe it was a division by 0
...: OnTester Critical Error appeared after completing the test in the attached EA, like with Number of deleted intervals = 0, maybe it was division by 0
If you can reproduce it, please share the settings.
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.
This is very easy to explain. The highlighted number is the final balance in the virtual trading environment. Its profit is calculated with TickValue = 1. And MT5-Tester changes TickValue on every tick. For this purpose, in particular, it pulls data from other pairs. Moreover, Virtual does not calculate commission and swaps, as it is not really needed, just like TickValue.
I run everything on custom symbols myself. And there swap is zero. All settlement currencies are equal to the deposit currency. Then it turns out to be a complete match.
In general, the highlighted OnTester is the TS profit without using the best interval, calculated with TickValue = 1, Commission = Swap = 0. That's why it turns out that trading one lot always gives a whole OnTester.
Added
I see, thank you. I will try to experiment with other TS, symbols.
fxsaber:
Please share in the comments the results of using (as above) the library BEFORE and AFTER in the form of pictures and relevant pieces of logs of a single MT4/5 pass.
Until I get it all together in my head, I am practising on the attached Expert Advisor.
Do I understand correctly what is marked on the picture?
Until I get it all together in my head, I'm practising on a nested expert.
Do I understand correctly what is marked on the picture?
Absolutely correct!
Please, write the trade server and all the pass data that corresponds to the screens.
OnTester Critical Error appeared after completing the test in the attached EA, like with Number of deleted intervals = 0, maybe it was division by 0
If you can reproduce it, please share the settings.
Absolutely right!
Please post the trade server and all pass data that matches the screens.
On real ticks, the picture is not so rosy....
And yes, somehow it's still... unsympathetic:
And yes, somehow it's still... unsympathetic:
With these settings?
Forum on trading, automated trading systems and testing trading strategies
Libraries: BestInterval
Mikola_2, 2018.10.17 20:54
Slightly managed to reproduce.