PDA

View Full Version : Profit Target - IExecution


murfinp
04-24-2009, 01:17 PM
Hi

I place a market order to sell and then a few sell imit orders a bit higher .. all with profit targets ... if they all get filled and their profit target order subsequently also get filled


how do i tell within OnExecution if the filled profit target execution was originated from the market order or one of the sell limit orders

Thanks

Paul

NinjaTrader_Josh
04-24-2009, 02:07 PM
Paul,

You can name each of your orders with a unique signal name. From OnExecution you can access the Name property to get that signal name. From there you will know which order the execution originated from.