I have been trying to create a strategy that can back test separate and simultaneous trades with their own individual set of bracket orders.
I'm using EnterLongLimit orders for entry and not even a condition, f.i: EnterLongLimit(DefaultQuantity,10000,"");
Ninja executes the trades beautifully when price has reached the limit price and executes the brackets in the backtest.
It does so a number of times over the backtesting period for this limit price
However, if I add a second ordermanagement command such as EnterLongLimit(DefaultQuantity,10100,""); (note the difference in price),
then Ninja skips the first command and only executes the orders for the second price.
Is there a way to have Ninja execute multiple trades like this simultaneously, and treat them separately with their own bracket orders and also not let the exit of one trade influence the exit of other running trades?
I have tried several things already such as using separate condition sets/tabs in the wizard per orderentry command, changing "Entries per direction" to 10, changing "Entry Handling" to Unique Entries but nothing seems to work.
Maybe it cannot be done with limit orders? Something else?
I must be missing something.
Can you help?
Regards,
Vladja
Comment