Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
stop and reverse
Collapse
X
-
stop and reverse
How does a stop and reverse scenario play out when running strategies? If I'm short and an order is sent out to go long 2 contracts will that result in being long 1 contract or being long 2 contracts? In other words, does the short need to be exited before a long order will be accepted or is the short exited when a long order is sent out or is the short offset by the number of long contracts filled? Basically, what is the most efficient way to get from being short 1 contract to being long one contract when i want to "stop and reverse" an existing short position?Last edited by gordongekko; 02-21-2018, 02:35 PM.Tags: None
-
Hello gordongekko,
Thanks for your post.
That is correct, if you are long and what to reverse, 1 short would close the long position and another short would leave you in a short position.
The methods EnterLong() and EnterShort() will do reversing. You can see an example of use with the strategy SampleMACrossover in your NinjaTrader. There are only two conditions, there are only two entry orders needed.
The EnterLong() and EnterShort() method determine if an existing position in the opposite direction exists and if so will place two orders one to close the opposite direction and one to put you in the new direction. Using these methods would be the most efficient as they use market orders that are filled immediately.
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by NullPointStrategies, Today, 05:17 AM
|
0 responses
23 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
120 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
63 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
41 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
45 views
0 likes
|
Last Post
|

Comment