I'm new to coding in NinjaTrader 8 (NT8) and need some assistance. I want to create an indicator that sends current position information to another app (which could be a text file). I've already developed a simple trade timer that I want to automate.
I discovered a Positions object that seems perfect for this task, but it appears to be used in strategies. I'm unclear about the differences between an indicator and a strategy. Is it possible to have a strategy running in the background that doesn't actually trade but instead just watches positions and sends that information to my Timer app? Or would I use an Indicator in this case?
Additionally, how can I get a printout of all positions that occurred on a given day?
Thank you in advance for your help!

Comment