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.Paul H.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by DJ888, 04-16-2024, 06:09 PM
|
4 responses
12 views
0 likes
|
Last Post
by DJ888
Today, 04:28 PM
|
||
Started by terofs, Today, 04:18 PM
|
0 responses
11 views
0 likes
|
Last Post
by terofs
Today, 04:18 PM
|
||
Started by nandhumca, Today, 03:41 PM
|
0 responses
7 views
0 likes
|
Last Post
by nandhumca
Today, 03:41 PM
|
||
Started by The_Sec, Today, 03:37 PM
|
0 responses
3 views
0 likes
|
Last Post
by The_Sec
Today, 03:37 PM
|
||
Started by GwFutures1988, Today, 02:48 PM
|
1 response
9 views
0 likes
|
Last Post Today, 03:09 PM |
Comment