here is what I have so far.
TriggerCustomEvent(o =>
{
Order stopOrder = null;
//################# HERE IS MY ORDER ################################
stopOrder = myAccount.CreateOrder(Instrument, OrderAction.Sell, OrderType.StopMarket,
TimeInForce.Day, 1, 0, dLowPrice, string.Empty, "Entry", null);
// Submits our entry order with the ATM strategy using AtmStrategyName String
NinjaTrader.NinjaScript.AtmStrategy.StartAtmStrate gy(AtmStrategyName, stopOrder);
myAccount.Submit(new[] { stopOrder });
}, null);
e.Handled = true;
THE QUESION IS :TimeInForce.Day, 1
The number 1 is 1 contract, If I have a strategy set for 3 contracts do I change that to 3 or willthe create order know it is a strategy and fill properly.
Comment