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 CaptainJack, 05-29-2026, 05:09 AM
          0 responses
          214 views
          0 likes
          Last Post CaptainJack  
          Started by CaptainJack, 05-29-2026, 12:02 AM
          0 responses
          130 views
          0 likes
          Last Post CaptainJack  
          Started by charlesugo_1, 05-26-2026, 05:03 PM
          0 responses
          147 views
          0 likes
          Last Post charlesugo_1  
          Started by DannyP96, 05-18-2026, 02:38 PM
          1 response
          230 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by CarlTrading, 05-11-2026, 05:56 AM
          0 responses
          192 views
          0 likes
          Last Post CarlTrading  
          Working...
          X