Skip to content

Recipes

Task-oriented walkthroughs. Each page is one problem and one copy-paste-able solution.

  • EMA crossover strategy


    The "hello world" of trend-following — fast EMA crosses slow EMA, with a bracket.

    Build it

  • Add a stop-loss


    Every flavor of stop: fixed-price, ATR-based, trailing. When to use which.

    Add a stop-loss

  • Run a parameter sweep


    Grid-search over EMA periods, plot the heatmap, pick the winner.

    Sweep parameters

  • Debug a strategy that isn't firing


    Six things that go wrong, in order of how often they happen, with fixes.

    Debug it

  • Deploy live on Exness (MT5)


    Docker stack, VNC login, profile config, first paper trade — end-to-end.

    Deploy live

Need something else?

These recipes cover the highest-frequency questions. For more depth:

Missing a recipe you'd find useful? Open an issue — that's how the next batch gets prioritised.