NinjaTrader Support Forum  
X

Attention!

This website will be down for maintenance from Friday May 24th at 6PM MDT until Sunday May 26th at 12PM 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 > Strategy Development

Strategy Development Support for the development of custom automated trading strategies using NinjaScript.

Reply
 
Thread Tools Display Modes
Old 04-20-2009, 07:12 AM   #1
mrlogik
Certified NinjaScript Consultant
 
mrlogik's Avatar
 
Join Date: Sep 2006
Location: New York, USA
Posts: 774
Thanks: 1
Thanked 7 times in 5 posts
Default Stop & Reverse Order Flow

Hi guys,

My question pertains to a "stop and reverse" type order.

Assume the current market position is LONG for 2 lots.

Now, my strategy submits an EnterShortStop command for 2 lots. How does NT execute this?

Does it;
1. Does NT first submit a sell order to exit the 2 lots, then another sell order to go short 2 lots.
2. Does NT submit a sell for 4 lots so the overall position is short 2 lots?

Thanks for your help.
"You look closely enough, you can find everything has a ... weak spot where it can break, sooner or later"

PureLogikTrading
mrlogik is offline  
Reply With Quote
Old 04-20-2009, 07:25 AM   #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

It does #1 because it is needed to mark one order as sell and one as sell short.
NinjaTrader_Josh is offline  
Reply With Quote
Old 04-20-2009, 07:28 AM   #3
mrlogik
Certified NinjaScript Consultant
 
mrlogik's Avatar
 
Join Date: Sep 2006
Location: New York, USA
Posts: 774
Thanks: 1
Thanked 7 times in 5 posts
Default

Okay.

Thanks Josh.
"You look closely enough, you can find everything has a ... weak spot where it can break, sooner or later"

PureLogikTrading
mrlogik 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
Don't want to reverse before stop ntfarmer Strategy Development 1 04-15-2009 10:05 AM
Stop and Reverse dbw451 Strategy Analyzer 5 02-27-2009 09:13 AM
Long & Short Stop Order PHOLAN Automated Trading 3 09-23-2008 08:18 AM
Stop to reverse and stop to exit jonesr227 Strategy Development 8 09-16-2008 04:37 PM
Reverse on Stop... Nereus Automated Trading 2 06-29-2005 02:23 AM


All times are GMT -6. The time now is 04:15 PM.