
Certain settings will disable the optimization procedure, such as disabling the backtesting window or using autopilot.
Procedure

The overall profit or loss achieved (higher is better).
Optimizing the Sensitivity setting using a large range of values and/or using a large backtest window can increase computation time, potentially returning time-out errors.
Results from the optimizer can vary from the backtest results returned by the strategy, this is due to the difference between how the Tradingview backtesting engine opens positions compared to the internal engine used to perform optimization within the script. Using different signal algorithms for long/short entry rules can return very different results from the optimizer compared to backtesting results.Take profits and/or stop losses orders are taken into account by the internal engine if these are enabled, however, there can still exist a great degree of disparity between results from the backtest and results returned by the optimizer.
Warmup Period
The warmup period allows the script to compute the signal algorithms n bars prior to the backtesting window, where n is the selected warmup period. This allows to backtest signals that are closer to the ones returned by the Signals & Overlays® toolkit, returning more accurate optimized settings as a result.Optimization Dashboard

Simple

Display
