Dokumentation & Benutzerhandbücher

Lernen Sie die Grundlagen, oder verfeinern Sie Ihre Fähigkeiten mit Tutorials, die Sie inspirieren werden.

Zuletzt aktualisiert am 23. 4. 2026 von Kornel Mazur

Einfache Optimierung

Einfache Optimierung

Übersicht

Einfache Optimierung 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.

Beispiel:

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. Öffnen Sie die Optimierer Modul.
  2. Load the strategy (e.g., EMA_Cross) into the optimizer.
  3. The strategy will appear as the Ursprüngliche Strategie 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

Navigieren Sie zu Einstellungen → Parameter and choose how you want to define the parameter ranges.

Option 1: Parameters – Automatic Mode

  • StrategyQuant generates value ranges automatically using:
    • Wertverteilung (%)
    • Maximale Schritte
  • Suitable for quick setups with default distribution rules.

Option 2: Parameters – Manual Mode

  • Manually define:
    • Start, Stoppund Schritt for each parameter.
    • Original Value for baseline comparison.
  • Die Kombinationen insgesamt field shows the number of tests StrategyQuant will run.

You can limit testing via the Maximum Optimizations Umgebung.

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 Daten tab.
  • 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

Klicken Sie auf Start to begin. The optimizer evaluates each parameter combination and saves the results to the Datenbank.

Reviewing Results

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

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

Auswertung der Ergebnisse

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.

War dieser Artikel hilfreich? Der Artikel war nützlich Der Artikel war nicht nützlich

0 Kommentare
Älteste
Neueste Meistbewertet