Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
can i specify buying/selling more than one futures contract?
Collapse
X
-
Hi joemiller,
Thanks for your reply.
In the conditions and actions window, in the action window specifically where you have your order type such as EnterShort(DefaultQuantity, "") you can edit that to remove the words DefaultQuantity and replace them with a numerical integer value or a variable that resolves to a numeric integer value.
For example, to go 3 short, change to EnterShort(3, "")
Alternatively, if you want to change the default quantity itself, this can be done when the strategy is being applied. In the strategies window, locate the section "order properties". The row "Set Order Quantity" will be set to "By strategy" by default. To change the value of Default quantity for the streategy, left click on the setting "by strategy" and a drop down arrow on the right edge will appear, left click that and select "By default quantity" which will expose a new row of "default quantity" which you can set as needed.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by DannyP96, 05-18-2026, 02:38 PM
|
1 response
23 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
115 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|
||
|
Started by CarlTrading, 05-10-2026, 08:12 PM
|
0 responses
68 views
0 likes
|
Last Post
by CarlTrading
05-10-2026, 08:12 PM
|
||
|
Started by Hwop38, 05-04-2026, 07:02 PM
|
0 responses
225 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|
||
|
Started by CaptainJack, 04-24-2026, 11:07 PM
|
0 responses
409 views
0 likes
|
Last Post
by CaptainJack
04-24-2026, 11:07 PM
|

Comment