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 charlesugo_1, 05-26-2026, 05:03 PM
|
0 responses
56 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
143 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
160 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|
||
|
Started by CarlTrading, 05-10-2026, 08:12 PM
|
0 responses
96 views
0 likes
|
Last Post
by CarlTrading
05-10-2026, 08:12 PM
|
||
|
Started by Hwop38, 05-04-2026, 07:02 PM
|
0 responses
276 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|

Comment