I have searched for some resources from web and this forum.
- Order types, https://ninjatrader.com/blog/3-basic...pes-explained/
- Internal Order Handling Rules that Reduce Unwanted Positions, https://ninjatrader.com/support/helpGuides/nt8/
Here is my approach:
procted override void OpBarUpdate()
{
if (conditionOkay)
{
EnterLong(1);
ExitLongLimit(1, GetCurrentBid() + TickSize * 100); // TP location
ExitLongStopMarket(1, GetCurrentBid() - TickSize * 30); // SL location
}
}
I checked the log file also, and find no error message.
I would like to ask how to implement the SL/TP order in NT8?
Thank you very much.

Comment