the result of strategy between the two is still different(Not slight different only)
p.s. i had followed the step written in https://strategyquant.com/doc/reliable-backtesting-in-metatrader/
Description changed:
the result of strategy between the two is still different(Not slight different only)
p.s. i had followed the step written in https://strategyquant.com/doc/reliable-backtesting-in-metatrader/
Attachment diff_spp_mc_GBPJPY_Strategy 1221394.sqx added
Attachment diff_spp_mc_GBPJPY_Strategy 4121008.sqx added
Attachment diff_spp_mc_GBPJPY_Strategy 2171043.sqx added
Status changed from New to Waiting for information
Attachment diff_spp_mc_GBPJPY_Strategy 4121008.sqx added
Attachment Strategy Tester_ diff_spp_mc_GBPJPY_Strategy 4121008.html added
I tried to retest the attached strategies in SQ and MT. To get matching results i had to do the following:
Then the trades and equity curves are equal (only PL differs - it depends on point value setting).
You can check the attached sqx file and html report. I tested the strategy on EURJPY, but it should not matter.
Please let me know if this technique works for you too.
We will try to improve the data export to MT4 until next release. MetaTrader handles the exported data somehow strangely and the spread setting doesn't work.
Attachment diff.xlsx added
I want to say "it should matter"
Now i have to use the EURJPY that you had tested, it waste my time to duplicate issue again...
1. It's just the issue that i found on EURJPY, and i'm not sure if the isuue on GBPJPY is same on EURJPY.
2.After you check and fixed the issue on EURJPY, please test on GBPJPY and make sure that's the same issue
Thanks
Status changed from Waiting for information to In progress
Attachment results.zip added
I tried to backtest the strategy on 5 years of history data (2014 - 2019). There are slight differences in prices which may be caused by some inside rounding operations.
Maybe those few trades are missing because of that. I will have to debug it more deeply and solve the tiny price offsets.
I will let you know when it's fixed and I will also retest it on GBPJPY data as well.
I attach my SQ and MT results if you want to take a look and compare. No big differences
Tomas
we don't have enough information to verify if it just rounding issue => pending order is no show in SQX chart
I worried about it might be caused by other issue..
thank you very much
Status changed from In progress to Fixed
Attachment results_gbpjpy.zip added
I made tests on EURJPY and GPBJPY, both on 5 years of data, and all trades were equal.
The missing pending orders may have been caused by incorrect min. distance setting in SQ.
My results for GBPJPY are attached.