Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

can i specify buying/selling more than one futures contract?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    can i specify buying/selling more than one futures contract?

    if it is possible to do so in auto trader, how do i specify buying/selling more than one futures contract?

    #2
    Hello joemiller,

    Thanks for your post.

    Can you clarify if this is a strategy that you have created and if so did you use the strategy wizard or Ninjascript?
    Paul H.NinjaTrader Customer Service

    Comment


      #3
      it is a strategy that i created using the strategy wizard

      hi paul,
      it is a strategy that i created using the strategy wizard

      Comment


        #4
        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 DJ888
        by DJ888
         
        Started by terofs, Today, 04:18 PM
        0 responses
        11 views
        0 likes
        Last Post terofs
        by terofs
         
        Started by nandhumca, Today, 03:41 PM
        0 responses
        7 views
        0 likes
        Last Post nandhumca  
        Started by The_Sec, Today, 03:37 PM
        0 responses
        3 views
        0 likes
        Last Post The_Sec
        by The_Sec
         
        Started by GwFutures1988, Today, 02:48 PM
        1 response
        9 views
        0 likes
        Last Post NinjaTrader_Clayton  
        Working...
        X