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 NullPointStrategies, Today, 05:17 AM
|
0 responses
50 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
126 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
68 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
42 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
46 views
0 likes
|
Last Post
|

Comment