Reply

Randomize starting bar

3 replies

alexgularte

Subscriber, bbp_participant, community, 4 replies.

Visit profile

8 years ago #113988

Hello,
 
I have some doubts about Randomize starting bar robustness testing.
 
This test is applied for each trade separately? For example, if the strategy is applied in hourly period and a buy signal is generated at 15/07/2015 9:00, the test will generate random entry delays at 15/07/2015 9:00 (without delay),10:00 (delay of 1 hour), 11:00 (delay of 2 hours), 12:00 (delay of 3 hours)…?
 
And this test is applied for delayed exits too?
 
What means the parameter (max change), is the max possible delay for the period?
 
Regards

0

Matusiak Adrian

Customer, bbp_participant, community, 300 replies.

Visit profile

8 years ago #131600

Good question

btn_viewmy_160x33.png

0

geektrader

Customer, bbp_participant, community, 522 replies.

Visit profile

8 years ago #131605

This one is a really easy one, it just starts the backtest X bars (the “Max Change”) later from your current backtest starting date. This is to avoid strategies that relay on previous trades and only work if they are started at a specific date. E.g. if the strategy is started 1. January 2000 it makes profit, but if started 1. February 2000 it makes constant losses, which can happen with strategies that use “Reverse Existing Position” market order entries. Hence this robustness test changes the starting date of the backtest by X bars randomly to make sure the strategy makes profits regardless of when the backtest starts.


🚀 Unlock Your Edge in Automated Forex Strategy Development 🚀

Historical Forex Data Starting From 1987, 28 Pairs, M1, 99% Error-Free, Lifetime Free Updates

0

Mark Fric

Administrator, sq-ultimate, 2 replies.

Visit profile

8 years ago #131636

Lorenz thank you for the explanation, it is exactly as you said 🙂

Mark
StrategyQuant architect

0

Viewing 3 replies - 1 through 3 (of 3 total)