You've disabled the trading on that bar, probably with TimeFrame. The purpose of TimeFrame is trading on a greater time frame than the bar period. If you don't want that, set Timeframe back to 1 when trading.