![]() |
|
|||||||
| Strategy Development Support for the development of custom automated trading strategies using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: Feb 2009
Posts: 177
Thanks: 0
Thanked 0 times in 0 posts
|
I'd like to be able to determine if my position was closed out by a stoploss order rather then a ProfitTarget and was wondering if i could get some direction on how to best go about this. TIA
|
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,377
Thanks: 252
Thanked 966 times in 949 posts
|
Hi darckeen, you can work directly with the IOrder objects for this, this reference will be helpful - http://www.ninjatrader-support2.com/...ead.php?t=7499
Bertrand
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Checking dates | paco99 | General Programming | 2 | 08-14-2008 08:35 AM |
| checking if other order is there | MoreYummy | Automated Trading | 3 | 08-09-2008 08:57 AM |
| Checking for SetStopLoss execution? | Burga1 | Strategy Development | 3 | 01-25-2008 07:40 AM |
| Checking Position Status | CashCache | Strategy Development | 1 | 01-09-2008 03:51 PM |
| Checking for Null References | NinjaTrader_Josh | Tips | 0 | 11-25-2007 10:02 PM |