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 Jon17, Today, 04:33 PM
        0 responses
        1 view
        0 likes
        Last Post Jon17
        by Jon17
         
        Started by Javierw.ok, Today, 04:12 PM
        0 responses
        6 views
        0 likes
        Last Post Javierw.ok  
        Started by timmbbo, Today, 08:59 AM
        2 responses
        10 views
        0 likes
        Last Post bltdavid  
        Started by alifarahani, Today, 09:40 AM
        6 responses
        41 views
        0 likes
        Last Post alifarahani  
        Started by Waxavi, Today, 02:10 AM
        1 response
        21 views
        0 likes
        Last Post NinjaTrader_LuisH  
        Working...
        X