I hope this message finds you well. I am currently developing an add-on for NinjaTrader and have encountered a requirement that I would like your assistance with. Specifically, I am looking for guidance on the following:
- Applying a Specific ATM Strategy to an Open Position:
- In the NinjaTrader platform's position panel, there is functionality to apply an ATM strategy to an existing position. I am seeking to replicate this feature programmatically within an add-on. Could you please provide insight into whether it is possible to apply a pre-defined ATM strategy to an open position through an add-on and, if so, how this can be achieved?
- Accessing Take Profit and Stop-Loss Orders of an ATM Strategy:
- Additionally, I am interested in retrieving the properties of the take profit (TP) and stop-loss (SL) orders associated with a selected ATM strategy. Is there a method or approach within the NinjaTrader API that allows an add-on to access and display the TP and SL orders, including their properties (e.g., price levels, quantities)?
Thank you in advance for your time and support. I look forward to your response.
Best regards,
Zadomani

Comment