I'm using:
dateTag = DateTime.Now.Date.Month.ToString("00") + DateTime.Now.Date.Day.ToString("00");
if(dateTag == sessionBegin.Month.ToString() + sessionBegin.Day.ToString())
{
runRealTime = true;
Print("VolumeUpDownOne" + " runRealTime " + runRealTime );
}
but this logic never turns true. The code compiles, runs normally and produces no error in the Ninja Trader log.
What am I doing wrong?
regards,
taddypole...
Comment