PDA

View Full Version : Cancel/Replace using 'fromEntrySignal'


nolantx
02-22-2007, 01:58 PM
I'm having a problem in that I'm submitting ExitLongLimit and ExitShortLimit orders from different condition sets but using the same fromEntrySignal as the one named for the respective entry, however, the exit signals are not replacing each other. Is there a way of assigning an OCO group or is there another workround this problem.

Any help greatly appreciated.

NinjaTrader_Ray
02-23-2007, 12:49 AM
Could you eloborate what you mean about replacing? The way its designed is that only one of those orders can be live. Assuming your condition for calling any of the exit methods evaluates to true, the method is ingnored if a position with the entry signal name does not exist. So if you are long, ExitShortLimit() is ignored.

Thanks