BackTesting Reliability
Forums › ProRealTime English forum › ProOrder support › BackTesting Reliability
- This topic has 11 replies, 5 voices, and was last updated 7 years ago by wreini1982.
-
-
05/30/2016 at 12:06 PM #8357
Hi,
I’m using quite recently the ProRealTime platform (provided by IGMarkets) in order to run my automatic trading systems.
Unfortunately, what I got is an unreliable BackTesting system because BackTesting results I got was rather different respect to real execution, specifically, I got two operations which went in LOSS int the real execution while ProRealTime Backtesting provided GAIN as results. I tested my strategies at worst condition in terms of spread (real spread of used cross was 0.8/1.5 pips while I used 2 pips for BackTesting).So, my questions is: Is BackTesting of ProRealTime reliable ?
Are there some specific options/constraints to be taken into account in order to get a reliable BackTesting ?Thanks so much for your support.
Best Regards,
Francesco05/30/2016 at 12:35 PM #8360Hi Rundof,
This is a usual question asked on the forums.
Currently, Probacktest only deals with conditions one time per bar. So if takeprofit or stoploss price levels were met in the same bar (between high and low), the backtester don’t have any ideas of what would happen first : stoploss or takeprofit? So takeprofit is always tested in first in the backtester. Of course, in real time it should have been different, that’s why you notice some differences between your test and the real time execution.
This is currently being improved at PRT company, for the backtester to reflect more precisely real time condition. We should expect this feature in the next release of the platform.
05/30/2016 at 12:50 PM #836705/30/2016 at 12:53 PM #8369This “problem” occurs when the takeprofit and stoploss price levels are in the same bar. So you can avoid this by enlarging their values or trade small timeframe. You can also avoid using SET TARGET and SET STOP, this should reduce this well-known phenomena.
05/31/2016 at 12:45 PM #8528Hi Nicolas,
Thanks for your reply.
So, I was wondering if there is a way in ProRealTime to close the position if “Current Profit”/”Current loss” is greater/less than specific value.
In MQ4 code for MT4 platform, we have the specific functions which provides current equity , profit, balance and so on, so above operation can be performed easily.
Are there specific ProRealTime instructions to do the same ?
Because , as you suggested, I’m going to unset SL/TP in order to cover the issue you explained me, but I have to include a “closing mechanism” on my automatic strategy.
Thanks so much for your help
06/01/2016 at 12:02 AM #855506/01/2016 at 5:40 AM #855806/01/2016 at 8:29 AM #8560Yes of course rundof, you can use POSITIONPERF for example and STRATEGYPROFIT.
06/01/2016 at 2:41 PM #858802/12/2017 at 6:40 AM #24827Dear all,
I suffering the same problems seems like some other members, maybe some more members can give feedback.
I tried to compare now the different systems, see attached pictures, some more follow.
For explanation:
left = real trading
middle = backtesting with tick by tick in version V10.3
right = backtesting with V10.2 without back by test
It is the DAX M15
I will stop now trading the system in reality and make it manually again and will observe it in Demo mode for longer time, because deviation is still little big.
Also I will check other strategy from users, because maybe my programming have a failure.
02/12/2017 at 6:41 AM #248302 picture:
For explanation:
left = real trading
middle = backtesting with tick by tick in version V10.3
right = backtesting with V10.2 without back by test
It is the DAX M15
02/12/2017 at 6:42 AM #248333 picture
For explanation:
left = real trading
middle = backtesting with tick by tick in version V10.3
right = backtesting with V10.2 without back by test
It is the DAX M15
-
AuthorPosts
Find exclusive trading pro-tools on