It is sort of strange but understandable that RMS rejects the following order.
Program:
EnterLong(); // OK, enough margin
// after short period of time with MarketPosition.Long
ExitLong(); // rejected by RMS if no more extra (double) margin -> NinjaTrader close the program and manage to close the position in some other way!
But how this should be handled or how to ask the program to close the position as actually there aren't more positions coming ever than the initial one, strategy only wants to close the position, although it is done via sell order which ExitLong generates and that's the reason RMS hit in I think.
Any advice or is it so that NinjaTrader programs need double margins compared to manual trading? (And that points the q, how DOM can handle the close part?)

Comment