Trade 1: On 21 EMA Go long if market crosses up + 5 ticks (Market is currently below EMA 21 so order has to be a buy stop market)
OR
Trade 2: On 50 EMA Go short if market crosses under - 5 ticks (Market is currently above EMA 50 so order has to be a sell stop market)
If Trade 1 gets executed I want Trade 2 cancelled and vice versa.
I tried using OCO order in the trade panel but when I enter Trade 2 I get
Error "You can't submit an exit order to a strategy until any of its entry orders has been filled."
Is this possible using Ninja? I can code this in a strategy but wanted to see if it was already built in?
Comment