Libraries: BestInterval - page 4

 
fxsaber:

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.
 

Added

BestInterval Action (true - MT4-style is required) = true
Calculation time activated intervals is 2018.10.17 12:19:06 - TesterEA (common folder)
final balance 20856.00 USD
OnTester result 19075

Amount of Delete Intervals = 2
00:25:59 - 13:19:06 : Profit = 4547.00, Total = 763 (71.04%), PF = 1.39, Mean = 5.96, DD = 1156.00, RF = 3.93
14:23:45 - 22:08:25 : Profit = 6309.00, Total = 754 (74.80%), PF = 1.65, Mean = 8.37, DD = 720.00, RF = 8.76
SUMMARY: 00:00:00 - 23:59:59 : Profit = 10856.00, Total = 1517 (72.91%), PF = 1.51, Mean = 7.16
 
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.
 

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?

Test 8Test 9

 
Mikola_2:

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 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.

 
fxsaber:

Absolutely right!

Please post the trade server and all pass data that matches the screens.

Almost managed to reproduce.

Test 10

Test11

On real ticks, the picture is not so rosy....

 
fxsaber:


And yes, somehow it's still... unsympathetic:

Test12

 
Mikola_2:

And yes, somehow it's still... unsympathetic:

With these settings?