Skip to content
72lab

Strategy Lab

Turn a trading idea into a rule: when to enter, when not to, when to exit and how much loss to accept. The rule runs once on each of 8 typical markets, then walk-forward analysis checks whether the settings only fit the past. Prices are simulated (not real history), and backtest results don't guarantee future returns.

Risk warning: forex, CFDs, options, futures and crypto assets usually involve leverage or high volatility, and you can lose more than you put in. This lesson only teaches the concepts; all numbers are for illustration and are not investment advice.

Start from a template

Entry

Fast MA10
Slow MA30

Filter (must also hold at entry)

Exit signal

Fast MA10
Slow MA30

Risk controls

Stop-loss6.0%
Take-profitNone
Trailing stopNone
Max holding timeNone

MA golden cross

  1. EntryBuy (go long) when MA10 crosses above MA30 (golden cross)
  2. ExitExit when MA10 crosses below MA30 (death cross)
  3. Risk controlsStop-loss 6%
Avg return
+19.7%
Profitable markets
5 / 8
Worst market
−8.6%
Avg max drawdown
8.0%
Avg trades
2.0
  • Price (no position)
  • In a trade that made money
  • In a trade that lost money
  • Entry point

Uptrend

1 trade
Strategy +62.2%Buy & hold +79.9%

Downtrend

1 trade
Strategy −1.8%Buy & hold −35.7%

Sideways range

4 trades
Strategy −8.6%Buy & hold +1.1%

Rally then fall

3 trades
Strategy −4.8%Buy & hold −9.9%

Dip then bounce

1 trade
Strategy +37.5%Buy & hold −3.1%

Range then breakout

1 trade
Strategy +48.1%Buy & hold +44.9%

Violent chop

2 trades
Strategy +20.0%Buy & hold +24.9%

Crash then rebound

3 trades
Strategy +5.2%Buy & hold −2.4%
What does this mean?

This rule is picky about markets: best in Uptrend, Range then breakout, worst in Rally then fall, Sideways range. In real trading you don't know which kind comes next, so keep each trade's risk under control.

Share a strategy card

The link contains the whole strategy; anyone who opens it sees the same blocks and backtest results.

Download card image
Want to backtest on real MT5 data and export an EA?

The EA Workshop has 35 indicator blocks, a strategy generator and robustness tests, and exports your strategies as MT4 / MT5 EAs.

Strategy Lab: build and backtest trading rules · 72lab