Backtesting

Created at 03 Mar 2021, 20:19
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
10

1007101

Joined 03.03.2021

Backtesting
03 Mar 2021, 20:19


I have a couple of bots which are coded for cTrader and MT4. On backtesting, (99% on MT4), show completely different results with exactly the same settings on both.

I did expect some varied results, but I found them very very different.

How reliable is the backtesting on cTrader?

Thanks.


@1007101
Replies

PanagiotisCharalampous
04 Mar 2021, 08:37

Hi 1007101,

cTrader backtesting is very reliable. You can confirm it by testing your cBot on a demo account and then verifying the trades on backtesting. If your results are very different between the two bots, then first thing you should look into is your bots code. Probably there is an issue in one of the two, or both of them.

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous

1007101
04 Mar 2021, 20:05

RE:

PanagiotisCharalampous said:

Hi 1007101,

cTrader backtesting is very reliable. You can confirm it by testing your cBot on a demo account and then verifying the trades on backtesting. If your results are very different between the two bots, then first thing you should look into is your bots code. Probably there is an issue in one of the two, or both of them.

Best Regards,

Panagiotis 

Join us on Telegram

Many thanks for your reply. I did go through every line of the code and then did a visual backtest on both of them for the same date range. I found out that on a particular date, the MT4 platform did not close two trades, after which the market reversed and they went into drawdown. cTrader closed the trades at TP before the market reversed. I am assuming that the cTrader data would be more accurate, because the data is every tick from the broker's server, whereas my MT4 data is downloaded Dukascopy data incorporated into MT4 for backtesting as HST files.

Regards,

Jiggy

P.S.: How do I change my username? 1007101 is my cTrader account number.


@1007101