I placed the following code in OnBarUpdate()
if (Bars.FirstBarOfSession && FirstTickOfBar)
{
Print ("Time is:" + String.Format("{0:d/M/yyyy HH:mm:ss}", Time[0]) + " now is:" + DateTime.Now.ToString());
}
The outcome I was expecting or at least wanting was for every day at 6:30 am for the print statement above to execute.
Am I mis-understanding this? Or, how do I correct connect my strategy code to the session template I want to use?

Comment