• 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 tilleulne, Today, 01:58 AM
          0 responses
          1 view
          0 likes
          Last Post tilleulne  
          Started by Ivantr, Yesterday, 05:24 PM
          1 response
          10 views
          0 likes
          Last Post NinjaTrader_Marco  
          Started by ralett, Yesterday, 06:20 PM
          3 responses
          27 views
          0 likes
          Last Post ralett
          by ralett
           
          Started by trader252, Yesterday, 08:38 PM
          1 response
          5 views
          0 likes
          Last Post NinjaTrader_ChrisSch  
          Started by grizzlytrader, Yesterday, 06:24 AM
          1 response
          24 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Working...
          X