• 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

Setting default strategy settings (Data series type = minute, value = 15)

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

    Setting default strategy settings (Data series type = minute, value = 15)

    Hello,

    I want to compile something, and when I click "Add Strategy" I'd like all of the initial values set by the source code. Something like this:

    MovingAvPeriods = 14

    //set the default to 15 minute bars
    DataSeries.Type = Minutes
    DataSeries.Value = 15

    //set the instrument default to $EURUSD
    DataSeries.Instrument = "$EURUSD"

    This is all pseudo code, how do I actually tell the system to setup my strategy like that?

    Thanks,

    Evan

    #2
    Hi Evan, once your paramters are all set from the UI, you could right click and 'set to default' - this way they would be saved to a default template that would be used whenever you readd your strategy.
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Can you elaborate on how to have the a default data series for new strategies?

      Comment


        #4
        Hello,

        Please see our Help Guide article on Understanding strategy default settings for more information

        http://www.ninjatrader.com/support/h...t_defaults.htm
        MatthewNinjaTrader Product Management

        Comment


          #5
          Holy #$%!, never even though about right clicking. Thanks.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by GATT1, Yesterday, 03:56 PM
          2 responses
          18 views
          0 likes
          Last Post GATT1
          by GATT1
           
          Started by rickyblah12, Today, 03:07 PM
          2 responses
          7 views
          0 likes
          Last Post rickyblah12  
          Started by itrader46, 10-03-2019, 06:18 AM
          35 responses
          186 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by aslane, Today, 03:09 PM
          1 response
          7 views
          0 likes
          Last Post rickyblah12  
          Started by stoner, Today, 02:36 PM
          1 response
          4 views
          0 likes
          Last Post NinjaTrader_Melissa  
          Working...
          X