Here is the relevant section from the NT8 Help Guide:
Methods that generate orders to enter a position will be ignored if:
- A position is open and an order submitted by a non market order exit method (ExitLongLimit() for example) is active and the order is used to open a position in the opposite direction
- A position is open and an order submitted by a set method (SetStopLoss() for example) is active and the order is used to open a position in the opposite direction
- The strategy position is flat and an order submitted by an enter method (EnterLongLimit() for example) is active and the order is used to open a position in the opposite direction
- The entry signal name is not unique
Specifically, in my tests, multiple entries with the same signal name are allowed when it sounds like they shouldn't be.
What is meant by the bolded item above, "The entry signal name is not unique."?
In the following I would have expected the 2nd order to be ignored because it has the same signal name, but both orders are accepted.
I assume I'm not interpreting the rules correctly and would appreciate any clarification.
if (Position.MarketPosition == MarketPosition.Flat && CurrentBar == 100) { EnterLongLimit(Close[0] * 0.8); EnterLongStopMarket(Close[0] * 1.2); }
- EntriesPerDirection=10
- TraceOrders = true
Comment