![]() |
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
|
|||||||
| Automated Trading Support for automated trading systems using NinjaScript. Support for our ATI (Automated Trading Interface) used to link an external application such as TradeStation and eSignal to NinjaTrader. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: Feb 2009
Posts: 127
Thanks: 5
Thanked 0 times in 0 posts
|
Hi, Is there any way to halt a automatic strategy when it has a profit target, before the actual bar finished?
How can I cancel a "SetProfitTarget" order when I have my profit for today? Thanks. Jesus. |
|
|
|
|
|
#2 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
|
soyjesus,
What exactly do you mean by cancelling? If you cancelled it you are still left in an open position. I suggest you just close the position and if the position is closed any excess exit orders will automatically be cancelled.
Josh
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Feb 2009
Posts: 127
Thanks: 5
Thanked 0 times in 0 posts
|
Ok, this is the solution.
Thanks. |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Automatic five bar strategy | heyligerb | Automated Trading | 1 | 02-23-2009 12:15 AM |
| Combining Basic Halt strategy with another strategy? | Ninja B | Automated Trading | 1 | 07-18-2008 01:11 AM |
| Backtesting w/ PnL Strategy Halt | insomniac | Strategy Development | 3 | 03-31-2008 12:04 PM |
| Automatic Strategy Entries with Manual Exits | daven | Automated Trading | 9 | 10-27-2007 07:57 AM |
| Semi-Automatic Strategy | jstockman | Automated Trading | 1 | 08-19-2007 12:00 PM |