PDA

View Full Version : Overiding OCO


jlm0@infionline.net
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?
Thanks,
Jim M.

NinjaTrader_Ray
09-13-2007, 07:13 AM
This is not possible, you have to selft monitor for the reversal condition and then submit orders.

jlm0@infionline.net
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?

NinjaTrader_Ray
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[0] < breakDownPrice)
EnterShort();

jlm0@infionline.net
09-13-2007, 08:16 AM
Is the breakDownPrice my original stop price for going short? I am totally new with Ninjascript?

NinjaTrader_Ray
09-13-2007, 08:19 AM
Correct, its just a figurative representation of your stop price.

Please take a look at this reference sample:

http://www.ninjatrader-support.com/vb/showthread.php?t=3223