Within the Settings panel of the Strategy Analyzer window, under Backtest type select Optimization. Once Optimization is selected, additional settings will appear.
Under Strategy parameters, the available inputs for the selected strategy can be found.
Configure the necessary strategy parameters for your optimization.
Set the number of best results to keep.
The Optimize on setting provides an extensive list of items to base the optimization results on.
Once all settings are configured as desired, click Run to perform the optimization.
Viewing Optimization ResultsOnce the optimization is complete, the results can be found in the Performance Results panel on the left-hand side of the Strategy Analyzer window. In the top left-hand section, each test performed during the optimization will appear. The Parameters column displays which values were used for the inputs of each test. To view the detailed performance results of each test, select the desired test from the top and the results will appear in the lower left-hand section. The type of report displayed will depend on the style selected in the Display drop-down menu.Regardless of the strategy or optimization results, traders should be aware of the risks involved and manage exposure to unpredictable markets.Backtesting and optimizing are crucial steps in ensuring your automated strategy is ready for live markets. The NinjaTrader platform is always FREE for backtesting, advanced charting and trade simulation. Get started with our award-winning trading platform!
Check more- https://ninjatrader.com/blog/get-the-most-out-of-your-trading-strategies-with-optimization/