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 charlesugo_1, 05-26-2026, 05:03 PM
|
0 responses
66 views
0 likes
|
Last Post
by charlesugo_1
05-26-2026, 05:03 PM
|
||
|
Started by DannyP96, 05-18-2026, 02:38 PM
|
1 response
149 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
162 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|
||
|
Started by CarlTrading, 05-10-2026, 08:12 PM
|
0 responses
99 views
0 likes
|
Last Post
by CarlTrading
05-10-2026, 08:12 PM
|
||
|
Started by Hwop38, 05-04-2026, 07:02 PM
|
0 responses
286 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|

Comment