Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Overriding User Parameters

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

    Overriding User Parameters

    Hi,

    I have a strategy that has a large number of user set parameters. I was thinking about adding something to OnStartUp() that might help simplify matters.

    For example, IF the instrument and periodicity are such and such, THEN set variables to something.

    However, the variables are the user parameters. Would setting the variables in OnStartUp() "override" what the user has set in the strategy setup window?

    #2
    Hello,

    Yes, the variables set conditionally in OnStartUp would over ride any settings that the user set from the setup window.
    MatthewNinjaTrader Product Management

    Comment


      #3
      Absolutely great news! Thanks Matthew.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      649 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      370 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      109 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      574 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      576 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X