the compile error is on this line of code,
&& Bars.Session.InSession(Now, Bars.Period.Id, true))
The error messages are:
The best overloaded method match for 'NinjaTrader.Data.Session.InSession(System.DateTim e, NinjaTrader.Data.Period, bool)' has some invalid arguments
Argument '2': cannot convert from 'NinjaTrader.Data.PeriodType' to 'NinjaTrader.Data.Period'
Can someone point me in the right direction?
Thank you,
taddypole...


Comment