Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Besides EnterLong, is there a "Buy 2 Lots"
Collapse
X
-
Besides EnterLong, is there a "Buy 2 Lots"
EnterLong(2,"test") puts you into a long 2 position but is there a way for me to just Buy 2 contracts from whatever position i am at the time?Tags: None
-
-
Hi anothertoy, unfortunately not, here's a list of all order types - http://www.ninjatrader-support2.com/...ead.php?t=3271
You can check for the current market position with Position.MarketPosition - http://www.ninjatrader-support.com/H...tPosition.html
and for the current position size with Position.Quantity - http://www.ninjatrader-support.com/H.../Quantity.html
For your condition, try using a CrossAbove / CrossBelow one
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
633 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
364 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
105 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
567 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
568 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment