06Advanced

Intro to Algo Trading

Turn rules into Expert Advisors, backtest them on real data, and read the results honestly.

5 lessons · ~34 min

In short

Algorithmic Trading is Fundezy's advanced course on turning rules into code: five lessons, about 34 minutes, each with a scored quiz. Lesson one covers what an Expert Advisor is and its three-event lifecycle — OnInit, OnTick, OnDeinit. Lesson two builds a complete moving-average crossover EA line by line, including the warm-up guard that prevents the classic undefined-indicator bug. Lesson three teaches you to read a backtest report honestly: net profit, drawdown, profit factor, trade count — and why a result built on fewer than 30 trades is noise. Lesson four covers optimization and overfitting: parameter sweeps, why the best-looking result is usually the most fragile, and the out-of-sample check that catches it. Lesson five takes a passing strategy toward live execution with a six-point deployment checklist. Outcomes: write and run your own EA, interpret a backtest report with healthy suspicion, and know when a result deserves confidence.

  1. What Is an Expert Advisor?

    OnInit, OnTick, OnDeinit — the lifecycle of algorithmic strategies.

    6 min
  2. Your First EA: MA Crossover

    Line by line through the platform’s example EA — including the warm-up bug.

    8 min
  3. Backtesting on Real Data

    Run your EA over years of real market history — and read the report honestly.

    7 min
  4. Optimization and the Overfitting Trap

    The optimizer finds your best parameters — on the past. Handle with care.

    7 min
  5. From Backtest to Live (Simulated) Trading

    Deploying your EA to the simulated market — and keeping expectations calibrated.

    6 min