Overview
Trades the NY cash open on DAX40 / DE40. Tracks the first 30 minutes of the NY session (13:00–13:30 UTC) as an opening range, then enters on breakout with an EMA trend filter. Positions are sized to risk a fixed % of equity per trade with ATR-scaled stops. One to two trades per session, cleared before the NY cash close. Designed to pass strict trailing-drawdown rulebooks like FTMO.
Backtest report
Every number below comes from the test-period slice only. No in-sample optimization numbers are published.
- Period
- 2023-04-01 → 2026-04-01
- Bars tested
- 217,440
- Train / test split
- 70% / 30% (out-of-sample metrics)
- Trades
- 211
- Avg trades / day
- 0.80
- Sharpe ratio
- 1.41
- Recovery factor
- 2.30
- Best month
- +4.80%
- Worst month
- -3.10%
Risk & reward calculator
Dial your account size, firm, and per-trade risk to see what this strategy actually looks like on your capital. Pulls the target and drawdown values straight from each firm's encoded rulebook.
High Stakes Challenge · Stage 1 · target 8% · daily DD 5% · overall 10%
These are expected-value projectionsfrom the walk-forward backtest — not guarantees. Real P&L varies with spread, slippage, volatility regimes, and broker execution. Use them to size position risk, not as a yield promise.
Firm compatibility
Every encoded rulebook run against this strategy. Click through to a firm for full rule detail.
Clean pass. Session fits inside The5ers' 24/5 window. No news trading, no HFT, no martingale. Max DD well under the 10% overall cap.
Clean pass. Under 5% daily DD and 10% overall DD. Below the scalping threshold — trades last 30+ min.
Clean pass. Within 1-step evaluation DD limits with margin to spare.
Strategy averages 0.8 trades/day — may not hit FundedNext's 5 min trading days in a tight evaluation window. Run for ≥14 calendar days.
Clean pass on Alpha Capital's 1-step evaluation.
Download this bot
Parameters bake into the generated .cs file. Drop into cAlgo, compile, attach.
How to install
Start-to-finish setup in cTrader. Takes about 3 minutes the first time; under a minute once you've done it before. No coding required.
Step 1Download the bot file
Use the download panel above. You'll get a file named
de40_orb_v2_bot.cswith your parameters baked in.de40_orb_v2_bot.csReadyStep 2Open cTrader → Automate
In the cTrader desktop app, click the Automate tab in the top ribbon. The left panel shows your cBots and Indicators. Right-click an empty area in the cBots list → New → cBot.
TradeAutomate ←AnalyzeCommunitycBots▸Right-click → New → cBotStep 3Paste the code
Name your new cBot (any name works — e.g.
de40_orb_v2). cTrader opens the code editor with a blank template. Select all (⌘A / Ctrl+A) and replace with the contents of de40_orb_v2_bot.cs.1usingcAlgo.API;2usingcAlgo.API.Indicators;3// ... (your bot)Step 4Build (F9)
Press F9 or click the Build button. The output panel at the bottom should show Build succeeded. If you see red errors, the most common cause is an older cTrader version — update to the latest stable release and try again.
✓ Build succeeded.0 errors · 0 warnings · 1.2sStep 5Attach to a chart & configure
Open a chart for DE40 on the M5 timeframe. In the Automate panel, expand your new cBot → Add new instance. A settings dialog opens — the parameters match the ones you configured on the download page. Leave them as-is or fine-tune.
SymbolDE40TimeframeM5Session (UTC)13:00–17:00Risk per trade0.50%Step 6Start
Click Start on the new instance. The status dot turns green. The bot now monitors the chart and will act on the next qualifying signal.
Instance runningDE40 · M5
Troubleshooting
First time running a cBot on a prop-firm account? Always paper-test on a demo account first. Most firms offer free demo environments — use them to confirm the bot behaves the same on their symbol feed before committing an evaluation fee.
Known risks
- DE40 has wide spreads outside the main session — do not run this 24/5.
- News events in the 13:00–14:30 UTC window (US CPI, FOMC, NFP) will violate any firm that bans news trading. Disable the bot on those days.
- EMA trend filter lags on fast reversals — expect drawdown during regime changes.
- Backtest assumed 1-pip spread and $7/lot commission. Your broker's actual costs will affect live performance.
Notes
Original v1 used a 60-min opening range; v2 shortened to 30 minutes after parameter stability analysis showed the 30-minute window was more robust across train/test splits. If your firm has explicit news-blackout rules (most do), pair this with a news-filter indicator.