NinjaTrader Support Forum  
X

Attention!

This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com


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 08-22-2009, 06:19 AM   #1
TAJTrades
Senior Member
 
Join Date: Dec 2007
Location: Atlanta
Posts: 281
Thanks: 0
Thanked 4 times in 3 posts
Default Using SetStopLoss/SetProfitTarget with IOrder entires

Is it possible to use SetStopLoss/SetProfitTarget to manage the Exits while using IOrder for the entries. I prefer to use IOrder for the entry for its ability to keep an entry order "liveUntilCancelled". If so is there a Sample Script or other documentation on this that I have overlooked.

Thanks
TAJTrades is offline  
Reply With Quote
Old 08-22-2009, 01:05 PM   #2
NinjaTrader_Ben
NinjaTrader Customer Service
 
NinjaTrader_Ben's Avatar
 
Join Date: May 2008
Location: Denver, CO
Posts: 3,157
Thanks: 0
Thanked 3 times in 3 posts
Default

Hello,

I'm not sure exactly what you want to do but this link has information on both the IOrder and set methods you want to use. Hope it is useful:
http://www.ninjatrader-support2.com/...ead.php?t=5790
NinjaTrader_Ben 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
setstoploss setprofitTarget Creamers General Programming 5 07-20-2008 12:40 PM
SetStopLoss & SetProfitTarget difference? qbit9 Strategy Development 1 10-25-2007 12:16 AM
SetStopLoss() and SetProfitTarget() SamIam Strategy Development 9 09-05-2007 08:49 PM
Currency in SetProfitTarget / SetStopLoss DarrylT Strategy Development 1 05-12-2007 10:54 AM
SetStopLoss and SetProfitTarget in Initialize FireFly Strategy Development 9 04-05-2007 11:52 PM


All times are GMT -6. The time now is 09:50 AM.