backtesting help

Created at 11 Apr 2013, 19:31
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!
BA

Balena

Joined 17.12.2012

backtesting help
11 Apr 2013, 19:31


hi,

 

I have my robot programmed to run during certain hours using these with a conditional statement....

This method only allows a one day backtest, how can I modify to run these hours each day for a month long backtest?

 

            startTime = Server.Time.Date;
            activeTime = startTime.AddHours(0);
            stopTime = startTime.AddHours(23);

 


@Balena
Replies

cAlgo_Fanatic
12 Apr 2013, 10:13

Please see this sample: Sample Trading Time

 


@cAlgo_Fanatic