Replies

timo.kolthoff
22 Jun 2020, 16:36

RE:

PanagiotisCharalampous said:

Hi Timo,

If you are backtesting on the hourly timeframe then of course it will. OnBar() is triggered on every hour and OnTick() on every minute.

Best Regards,

Panagiotis 

Join us on Telegram

Thanks for pointing out the obvious, case closed!


@timo.kolthoff

timo.kolthoff
22 Jun 2020, 16:30

RE:

PanagiotisCharalampous said:

Hi Timo,

Which timeframe do you use for backtesting? Can you share your code so that we can reproduce what you see?

Best Regards,

Panagiotis 

Join us on Telegram

 

Hi,

You can test this with "Sample RSI cBot", just default settings, 1h TimeFrame and 1m bars from server, 1 month of testing. Changing OnTick() to OnBar() gives different results!

BR


@timo.kolthoff

timo.kolthoff
15 May 2020, 21:31

RE: RE: cbot backtesting

genappsforex said:

Huge DrawDown, if you want to get writ of that the results will drop severely I guess. Maybe get earlier in the game with an EMA instead of SMA??

 

Thx for the input, I tested it with different kind of moving averages, this was the best result. Do you think I should have done it differently? I¨m not sure what a good drawdown is when doing a 5 year backtest?


@timo.kolthoff