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 > Application Technical Support > Automated Trading

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.

Reply
 
Thread Tools Display Modes
Old 05-14-2009, 03:35 AM   #1
soyjesus
Senior Member
 
Join Date: Feb 2009
Posts: 127
Thanks: 5
Thanked 0 times in 0 posts
Default Halt Automatic Strategy

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.
soyjesus is offline  
Reply With Quote
Old 05-14-2009, 07:16 AM   #2
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
Default

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.
NinjaTrader_Josh is offline  
Reply With Quote
Old 05-15-2009, 01:33 AM   #3
soyjesus
Senior Member
 
Join Date: Feb 2009
Posts: 127
Thanks: 5
Thanked 0 times in 0 posts
Default

Ok, this is the solution.

Thanks.
soyjesus 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
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


All times are GMT -6. The time now is 02:39 PM.