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.

    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

        MatthewNinjaTrader Product Management

        Comment


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

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by cmoran13, 04-16-2026, 01:02 PM
          0 responses
          36 views
          0 likes
          Last Post cmoran13  
          Started by PaulMohn, 04-10-2026, 11:11 AM
          0 responses
          23 views
          0 likes
          Last Post PaulMohn  
          Started by CarlTrading, 03-31-2026, 09:41 PM
          1 response
          162 views
          1 like
          Last Post NinjaTrader_ChelseaB  
          Started by CarlTrading, 04-01-2026, 02:41 AM
          0 responses
          96 views
          1 like
          Last Post CarlTrading  
          Started by CaptainJack, 03-31-2026, 11:44 PM
          0 responses
          152 views
          2 likes
          Last Post CaptainJack  
          Working...
          X