Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Simultaneous Positions
Collapse
X
-
Simultaneous Positions
Is it possible to have a simultaneous long and short position on the same instrument?Tags: None
-
What if I used the Add() method to add a second instrument in the strategy. Could I then buy instrument 1 and sell instrument 2 simultaneously?
Comment
-
An additional clarification...what happens in a simple moving average crossover strategy where
1. 'crossabove' is used to enter long (at the same time the same crossabove is used to exit the short trade)
2. and 'crossbelow' is used to enter short, but at the same it is also used for exiting the long trade.
So in this situation, for example, I am assuming the long trade is exited and short trade is entered on the same bar.
Will this work? And does it violate the internal order handling rules?
Are there any nuances dangers which I should be aware of?
thanks
Comment
-
This would not be the way you want to do it. For reversals all you have to do is call your entry order. NinjaTrader will automatically handle the reversal and close your prior position for you. Going EnterLong with ExitShort can cause overfills and thus should not be done.Josh P.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
648 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
369 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
109 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
573 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
575 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment