• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Fixing trade quantity in strategy

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

    Fixing trade quantity in strategy

    Hi,

    Can I set set the contract that a strategy will work with, so that for example it will only work with ES?

    Thank you,
    Malcolm
    Last edited by malcolm; 02-10-2011, 04:22 AM.

    #2
    Yes Malcolm, you can check for example for the Master instrument name and then return out of doing anything if it's not your ES for example.

    http://www.ninjatrader.com/support/h...trument_na.htm
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Thanks Bertrand, if I set the quantity in the strategy, is there any way to ensure that it is only run on one chart at a time?

      Malcolm

      Comment


        #4
        You mean you want to limit the number of strategy instances run? There's some code from a member floating around on the forums for this, but we would per default not support a method for checking it.
        BertrandNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by _Zero_, Today, 09:19 AM
        1 response
        2 views
        0 likes
        Last Post NinjaTrader_Jim  
        Started by GLFX005, Today, 09:05 AM
        1 response
        9 views
        0 likes
        Last Post NinjaTrader_RyanS  
        Started by meandthetrio, Today, 09:03 AM
        1 response
        5 views
        0 likes
        Last Post NinjaTrader_PatrickG  
        Started by peakythomas, Today, 08:34 AM
        1 response
        5 views
        0 likes
        Last Post NinjaTrader_Tyler  
        Started by ttodua, Today, 09:06 AM
        1 response
        9 views
        1 like
        Last Post NinjaTrader_Melissa  
        Working...
        X