When I do this during MarketDepthUpdates:
------------------------------------------------------------------------
////////////////////////// ENTRY LOGIC ///////////////////////////////////
//Submit the Orders
if (Instr1MP == 0 && Instr1BuyOrder == null)
{
Instr1BuyOrder = EnterLongLimit(0, true, 1, LEInstr1LimitPrice, "");
Print("Submit Buy");
}
if (Instr1MP == 0 && Instr1SellOrder == null)
{
Instr1SellOrder = EnterShortLimit(0, true, 1, SEInstr1LimitPrice, "");
Print("Submit Sell");
}
------------------------------------------------------------------------
NT will only submit the Buy Order. In the output window, the "Submit Sell" just rolls, so I know the " if (Instr1MP == 0 && Instr1SellOrder == null) " condition is true, which means there must be a problem with my order?
If I put the sell stuff above the buy stuff the "Submit Buy" rolls in the output window. So obviously I have a conflict somewhere once one order is submitted.
Any suggestions?

Comment