View Full Version : Overiding OCO
09-13-2007, 07:00 AM
I am setting a stop order to go long if high + 1 tick is taken out of first bar of session, or go short if low - 1 tick is taken out.
If one of the orders is filled, the other is cancelled, but I want it to stay in place for a possible reversal of position.
Can someone help with this?
09-13-2007, 07:13 AM
This is not possible, you have to selft monitor for the reversal condition and then submit orders.
09-13-2007, 07:27 AM
" you have to selft monitor for the reversal condition and then submit orders"
I don't understand what you are saying?
09-13-2007, 07:46 AM
You have to have your strategy monitor for a break in price and then submit an order.
if (Close < breakDownPrice)
09-13-2007, 08:16 AM
Is the breakDownPrice my original stop price for going short? I am totally new with Ninjascript?
09-13-2007, 08:19 AM
Correct, its just a figurative representation of your stop price.
Please take a look at this reference sample: