How do I continue using the same ATM bracket orders to support scaling in and out of a trade when I press my button below? Each time I press the button, it creates a new ATM bracket order rather than increasing the quantity to the existing ATM bracket. In my Chart Trader Properties menu, I have "Select active ATM strategy on order submission" selected.
if (button == stopMarketButton)
{
account.Submit(new Order[] { stopOrder} );
// Submits entry order with the ATM strategy in " "
NinjaTrader.NinjaScript.AtmStrategy.StartAtmStrate gy("01_ES_Swing_020SL, 020PT", stopOrder);

Comment