![]() |
|
|||||||
| Strategy Development Support for the development of custom automated trading strategies using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Member
Join Date: Jun 2009
Posts: 38
Thanks: 0
Thanked 1 time in 1 post
|
I am using a strategy that relies on limit orders generated and indicator levels but also has a stop loss and profit target. The issue is NT can't do limit orders while and existing profit target and stop loss are in place. My question is, can I use the unrealized profit value generating a market order to accomplish my stop loss and profit target goals?
|
|
|
|
|
|
#2 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 107 times in 70 posts
|
dancorcal,
You can use whatever logic you want. GetProfitLoss() will get you your unrealized PnL. http://www.ninjatrader-support.com/H...rofitLoss.html
Josh
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Stop Loss and Profit Target on Stocks | tjendra | Automated Trading | 2 | 05-04-2009 12:09 PM |
| Question on stop loss and profit target | j4068 | ATM Strategies (Discretionary Trading) | 1 | 11-14-2008 07:28 AM |
| Print stop loss and profit target. | Czarek | Strategy Development | 8 | 08-25-2008 11:44 PM |
| Profit Target and Stop Loss not honored | pjwinner | Strategy Analyzer | 6 | 11-30-2007 09:45 AM |
| Stop Loss - profit target settings | deanldavis475 | Miscellaneous Support | 1 | 11-26-2007 07:31 AM |