I'm trying to set up a strategy where I enter based on a daily signal and manage the trade on a 5 min period, intraday. I've set up the daily period using "Add(PeriodType.Day,1);". When I run the strategy, I use 5 Min 8:30 to 15:30 CST. Problem is when I use " int Gap = Opens[1][0] - Closes[1][1];" I get the open and close at 12:00:00 AM. I want the open at 8:30 and the close at 15:30 the day before. Is there a way of setting the session time for day session? The 5 min session time I have set in the backtest dialogue box.
Thanks in advance.

Comment