In the new version of NinjaTrader some indicators instruction "Bars.GetSessionDate (Time [0]) " should be replaced with instruction "Bars.GetTradingDayFromLocal (Time [0])"
for example " if (currentDate != Bars.GetSessionDate(Time[0]))"
with
if (currentDate != Bars.GetTradingDayFromLocal(Time[0]))