I'm looking at building a strategy with a slightly different logic by relying on external signals to trigger entries. Once these signals are picked up by NinjaTrader, the strategy will handle the rest of the logic (size, stop, target, exit, etc) and execution.
Now to go about relying on these external events instead of the bar update event to check for entries, two possible solutions first come to mind, polling for signals on each bar update or using a custom event handler.
My problem however is with the instruments as a I don't know which instrument may generate a signal. Is it possible to add an instrument to a running strategy after the initialization, or do I have to load the whole list of instruments before hand (it can be a very long list)?
Any suggestions on how to go around this would be greatly appreciated.
Thanks
Comment