Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy Optimizer

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

    Strategy Optimizer

    I've read through the docs on the Strategy Optimizer and and wonder how to add my custom set of strategy parameters to the strategy.

    RE: https://ninjatrader.com/support/help...a_strategy.htm

    For instance, I'd like to be able to optimize the length supplied to a moving average relative to price to see which works best with the particular strategy.

    Please advise.

    - chasebank

    #2
    Hello chasebank,

    Thanks for your post and welcome to the NinjaTrader forums!

    To optimize a parameter you would need to create it as a user input to the strategy.

    You can certainly create an input for the moving average period that you can then run in the optimizer.

    In your Ninjatrader is an example of a strategy that uses two moving averages and it has two inputs for the periods of the moving averages. The strategy is called SampleMACrossover that you can test as well as review the code of.
    Paul H.NinjaTrader Customer Service

    Comment


      #3
      Thanks, Paul. I'll have a look this morning.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by gbourque, Today, 06:39 AM
      2 responses
      4 views
      0 likes
      Last Post gbourque  
      Started by cre8able, Yesterday, 07:24 PM
      1 response
      13 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by cocoescala, 10-12-2018, 11:02 PM
      6 responses
      939 views
      0 likes
      Last Post Jquiroz1975  
      Started by cmtjoancolmenero, Yesterday, 03:58 PM
      1 response
      17 views
      0 likes
      Last Post NinjaTrader_Gaby  
      Started by benmarkal, Yesterday, 12:52 PM
      3 responses
      23 views
      0 likes
      Last Post NinjaTrader_Gaby  
      Working...
      X