![]() |
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
|
|||||||
| Strategy Development Support for the development of custom automated trading strategies using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: Dec 2007
Location: Atlanta
Posts: 281
Thanks: 0
Thanked 4 times in 3 posts
|
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 |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: May 2008
Location: Denver, CO
Posts: 3,157
Thanks: 0
Thanked 3 times in 3 posts
|
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
Ben
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
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 |