Ruslan there is no support for custom bar types in ninja, and for some reason the market data events get handled differently in replay than in real time. Without knowing how to print errors, there is nothing I can do to keep moving forward. They work on replay, but do not act the same way live.