Documentación y guías del usuario

Aprenda los conceptos básicos o perfeccione sus habilidades con tutoriales diseñados para inspirarle.

Última actualización el 23 de abril de 2026 por Kornel Mazur

Optimización simple

Optimización simple

Visión general

Optimización simple in StrategyQuant X allows you to test a trading strategy across a range of input parameters to identify which combinations produce the best historical

performance. This is one of the foundational methods used in algo strategy development.

What Is Optimization?

Optimization involves adjusting strategy parameters—such as indicator periods, entry / exit logic, and execution filters—to improve a target metric like Net Profit, Return/Drawdown (R/DD) ratio, or Sharpe Ratio.

Ejemplo:

A basic moving average crossover strategy:

  • Long Entry: EMA(10) crosses above EMA(20)
  • But would performance improve with EMA(9) and EMA(40) instead?

Simple Optimization answers that question by systematically testing all specified combinations.

Step-by-Step: Performing a Simple Optimization

Step 1: Load a Strategy for Optimization

  1. Abra el Optimizador módulo.
  2. Load the strategy (e.g., EMA_Cross) into the optimizer.
  3. The strategy will appear as the Estrategia original in the optimization databank.

Configure Variable Parameters

  • If the strategy uses different values for long and short positions and you want them to be the same, enable:
    • Symmetric variables for Long / Short

This consolidates long and short parameters into shared variables for unified optimization.

Step 2: Set Optimization Values

Vaya a Configuración → Parámetros and choose how you want to define the parameter ranges.

Option 1: Parameters – Automatic Mode

  • StrategyQuant generates value ranges automatically using:
    • Distribución de valores (%)
    • Pasos máximos
  • Suitable for quick setups with default distribution rules.

Option 2: Parameters – Manual Mode

  • Manually define:
    • Inicio, Stopy Paso for each parameter.
    • Original Value for baseline comparison.
  • En Combinaciones totales field shows the number of tests StrategyQuant will run.

You can limit testing via the Maximum Optimizations ajuste.

Optimization of Strategy Options

In addition to standard strategy variables, StrategyQuant can also optimize:

  • Trade frequency
  • Time range for trades
  • Indicator shift values
  • Other system-level options

Step 3: Select Testing Data

  • Go to the Datos ficha.
  • Choose your symbol and timeframe (e.g., EURUSD on H1).

Step 4: Configure Result Storage

Define maximum strategies for storage, and if you wish to save the original strategy.

Step 5: Run the Optimization

Haga clic en Inicio to begin. The optimizer evaluates each parameter combination and saves the results to the Banco de datos.

Reviewing Results

  • Use column sorting (e.g., Net Profit) to identify top-performing combinations.
  • Ejemplo:
  • EMAPeriod = 9 and EMAPeriod2 = 40 might produce the best profit.

⚠ Nota: An exclamation mark (!) next to a strategy indicates abnormal behavior—manual inspection is advised.

Interpretación de los resultados

While optimization identifies high-performing parameter sets, it's essential to be cautious:

  • Curve Fitting Risk:
  • Overfitting parameters to past data can lead to poor real-world performance.

Two Common Approaches

  1. Avoid Optimization
  2. Rely only on robust logic that works across a wide range of parameters.
  3. Use Reoptimization
  4. Regularly reoptimize parameters to adapt to evolving market conditions.

StrategyQuant offers tools like Walk-Forward Optimization and Walk-Forward Matrix to evaluate whether reoptimization improves performance and how frequently it should be done.

¿Le ha resultado útil este artículo? El artículo era útil El artículo no era útil

0 Comentarios
Más antiguo
Más reciente Más votados