I already have created entry orders in NinjaScript and attached ATM Strategy using the method below.
NinjaTrader.NinjaScript.AtmStrategy.StartAtmStrate gy("Teste ATM", myOrder);
But imagine I have a position opened (long or short) and want to apply an ATM to that position. That's an easy task through the graphical interface (tab "Positions" from Control Center, then right click and the desired position -> Apply ATM Strategy). So far so good!
My question is how to do this simple action using NinjaScript? I'm having a hard time trying to apply ATM strategy to a position. Is it possible to be done in NinjaScript?
Thank you in advance!

Comment