NinjaTrader Support Forum  

Go Back   NinjaTrader Support Forum > NinjaScript Development Support > Strategy Development

Strategy Development Support for the development of custom automated trading strategies using NinjaScript.

Reply
 
Thread Tools Display Modes
Old 04-13-2009, 11:44 PM   #1
darckeen
Senior Member
 
Join Date: Feb 2009
Posts: 177
Thanks: 0
Thanked 0 times in 0 posts
Default Checking if Stoploss is executed?

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
darckeen is offline  
Reply With Quote
Old 04-14-2009, 04:39 AM   #2
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,377
Thanks: 252
Thanked 966 times in 949 posts
Default

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
NinjaTrader_Bertrand is offline  
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT -6. The time now is 04:20 PM.