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 > General Programming

General Programming General NinjaScript programming questions.

Reply
 
Thread Tools Display Modes
Old 03-02-2008, 04:07 PM   #1
Pete S
Senior Member
 
Join Date: Jul 2007
Location: Fairfax, VA
Posts: 216
Thanks: 0
Thanked 0 times in 0 posts
Default Stop/Target by Strategy Position -- doesn't work?

I've been meaning to ask about this for a while. As I've mentioned, I trade stocks which are kind of thin using NinjaScript strategies, which means I get a lot of odd fills. I may have 5 or 6 executions for a single trade. Preferably, I'd like to keep the profit target synchronized, even if that means it's off by a few ticks.

My understanding is that setting the Stop/Target handling to 'by strategy position' should do this; meaning it will keep one profit target order for example which gets adjusted as the fills come in.

If my understanding is correct, it doesn't work properly. I end up getting left with partial positions after my profit targets are hit that I need to close out manually.

I'm not sure I have any current logs on this, but if you want them, I will run one strategy in this mode until I can collect some.
Pete S is offline  
Reply With Quote
Old 03-02-2008, 06:03 PM   #2
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 107 times in 70 posts
Default

By strategy position means your target will essentially cancel and be resubmitted with the new quantity at the new target price. If you have logs demonstrating your problems it would be nice if you can provide them. Please make sure TraceOrders is set to true in your strategy too. Thanks.
NinjaTrader_Josh 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
Strategy: Monitoring Stop-Loss and Profit Target Orders NinjaTrader_Josh Reference Samples 0 02-23-2008 11:15 PM
Need help with stop and target strategy setup philk ATM Strategies (Discretionary Trading) 5 12-14-2007 12:23 PM
ATM strategy with stop and no target sean606 ATM Strategies (Discretionary Trading) 1 11-05-2007 06:45 AM
ATM Strategy Stop Target methods theperm Strategy Development 9 05-21-2007 03:53 PM


All times are GMT -6. The time now is 07:25 PM.