Backtesting OnTick()

Created at 13 Sep 2012, 23:54
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!
RU

rupweb

Joined 13.09.2012

Backtesting OnTick()
13 Sep 2012, 23:54


Hi,

If you backtest a robot that works through OnTick() so it changes position on a tick by tick basis, does the backtesting on M1 (1 minute) work on a tick by tick basis?

Thanks!


@rupweb
Replies

rupweb
14 Sep 2012, 12:22

As far as I can tell it does... but I want to be sure that backtesting is done tick by tick, rather than - for example - bar by bar


@rupweb

adaled
17 Sep 2012, 12:16

Hi rupweb,

I'm also new to this but I found that both OnTick and OnBar work on backtesting. That is if you use the OnTick it will work tick by tick like you said, and OnBar will work bar by bar.

 


@adaled