What do you mean by this?
Running the script while the market is live or can i also enable the strategy on a chart and see how the trades might have taken on the previous days?
When i tried the second approach, trades are only getting on bar close and NOT intrabar. How can i achieve the trades to be executed intrabar when i just enable the strategy on a chart and see how the trades might have taken on the previous days?
Is it the same approach to write code to enable intradbar granularity as you explained here
See more about intra-bar granularity on the forum thread below.
https://ninjatrader.com/support/forum/forum/ninjatrader-8/strategy-development/94098-isfirsttickofbar-vs-onbarclose-for-backtest-live?p=773377#post773377

Comment