
🚀 CRYPTO TREND EA
BITCOIN COMET EA
BTCUSD-only · bidirectional trend-following
Proven by 8.0-yr live MT5 BT (2018-2025 / M1 every tick)
Cumulative
+1,370%
8.0 yr
PF
2.77
Max DD
7.1%
Trades
137
Sharpe 1.81
✅ Live "MT5 backtest" values, not Python BT
This EA's figures are live measurements from the MT5 Strategy Tester (BTCUSDm H4 / Model = every tick / initial $10,000 / 2018.01-2025.12).The development-time Python simulation value (+146%) contained a bug in the Donchian breakout detection (it compared the signal bar to itself, producing 0 trades live). We fixed that bug, re-verified live, and publish the finalized figures.
⚡ Minimum deposit: from 100k JPY (Standard or Micro account, either is fine)
You can operate from 100k JPY. If you want to run it more safely with a smaller amount, we recommend a Micro (cent) account (the real exposure of a 0.01 lot becomes about 1/100, making the same 100k JPY far lower-risk). Since BTC is highly volatile, running it on a Micro account is especially safe.
🚀 BITCOIN COMET EA
A BTCUSD-only bidirectional trend-follower. It confirms breakouts of the Donchian channel (20 bars) with an ATR×0.5 margin and trades only in the direction of the SMA200 slope. Profits are extended via an ATR×4 trailing stop. BTC tends to form sustained trends in both bull and bear markets, so it captures both directions. One risk per trade (clear stop-loss); lot is derived from tickValue.
Pair
BTCUSD
Timeframe
H4
Recommended Broker
Exness
Live BT Period
8.0 yr
STRATEGY
📊 Strategy Logic
1. Donchian Breakout
A closed bar breaks the high/low of the last 20 bars (H4) (buy: above the high / sell: below the low)
2. Breakout Confirmation Margin
Breakout width of ATR×0.5 or more = excludes false wick breakouts
3. Trend Strength Filter
Trade only with the SMA200 slope (up = buy only / down = sell only) → suppresses range whipsaws
4. ATR Trailing
Extends unrealized profit via an ATR×4 trailing stop. No fixed TP = captures big moves in full
5. Lot Management
Risk = balance × RiskPercent% / lot = Risk / SL distance. Default risk 2% (recommended)
REAL MT5 BACKTEST
📈 Live MT5 BT Measured (BTCUSDm H4 / every tick / $10,000)
| Metric | Measured (risk2 default) | Assessment |
|---|---|---|
| Verification Period | 2018.01 – 2025.12 (8.0yr) | Near BTC's entire history; passes all regimes |
| Net Profit / Cumulative | +$136,958 (+1,370%) | $10,000 → $146,958 |
| Profit Factor | 2.77 | Clears the flagship standard (PF≥1.5) |
| Max Balance DD | 7.09% | Clears the flagship standard (DD≤15%) |
| Trades / Win Rate | 137trades / 40.2% | Trend types have a low win rate, with big wins and small losses |
| Sharpe Ratio | 1.81 | Good |
OOS / ROBUSTNESS
⚙️ OOS Robustness & Risk Settings (live measured)
| Category | PF | Balance DD | Cumulative | Note |
|---|---|---|---|---|
| Default (risk2 / ATRMult4) | 2.77 | 7.1% | +1,370% | Recommended, best balance |
| OOS first half 2018-2021 | 2.93 | 6.2% | +255% | Not period-dependent |
| OOS second half 2022-2025 | 2.76 | 7.0% | +306% | Both halves PF≥1.78 |
| Aggressive version (pyramiding + risk3) | 1.54 | 23.3% | +2,527% | Separate file BTC_TREND_AGGRESSIVE / for advanced users |
Adopted ATRMult 5→4 in the 2026-06-05 PDCA (both OOS halves robust at PF 1.78-2.02 = not over-optimized). The aggressive version increases DD via pyramiding (DD 56% at risk10); operate only with surplus funds.
⚠️ Risk Warning
- The return depends on the 2018-2025 BTC bull market (about 40x). Future replication is not guaranteed
- BTC is a high-volatility asset that moves 5-10% per day. Win rate 36% = the type that takes many small stop-losses to capture a big win
- Cryptocurrencies carry regulatory risk (trading bans in various countries, etc.)
- The aggressive version (high risk) has DD 23-56%. Manage capital strictly and run one strategy per account
How the strategy works (entry, stop, target)
On BTCUSD H4, it follows confirmed Donchian-channel breakouts and rides medium-term trends with an ATR trailing stop — a pure trend-following system.
Run Mode (Defensive / Standard / Aggressive)
Every EA exposes a "RunMode" dropdown that switches aggressiveness across three levels. It only multiplies the lot (risk) — entry/exit logic, symbol and timeframe never change.
Defensive
×0.5Half of standard risk. Both max drawdown and expected return are roughly halved. For capital preservation or first-time automated trading.
Standard (recommended)
×1.0The backtest figures shown on this page use this setting. Start here.
Aggressive
×2.0Double the standard risk. Return and max drawdown roughly double, raising the risk of ruin. Use only with money you can afford to lose.
Approximations relative to Standard (Defensive ≈ 0.5x / Aggressive ≈ 2x). Drawdown does not scale linearly; in sharp markets Aggressive can exceed this estimate. Lots auto-adjust to balance when compounding is on.
All Parameters
All 53 inputs shown in MT5 (EA core + shared modules). Strategy-core values are pre-optimized — keep them at defaults; tune only the operational ones as needed.
| Parameter | Default | Description |
|---|---|---|
| General | ||
VersionCheck_Enable | true | Enable automatic update notifications. |
EA_Slug | bitcoin-comet | FXEA365 site EA identifier (do not change). |
RunMode | MODE_STANDARD | Run mode (Defensive x0.5 / Standard x1.0 / Aggressive x2.0). Switches the lot multiplier. |
| Economic Event Filter | ||
EconFilter_Enable | true | Avoid trading around high-impact economic events. |
EconFilter_AvoidNFP | true | Avoid NFP (1st Friday each month). |
EconFilter_AvoidFOMC | true | Avoid FOMC (US Federal Open Market Committee). |
EconFilter_AvoidCPI | true | Avoid CPI (US consumer price index). |
EconFilter_AvoidWeekend | true | Avoid weekend risk (late Fri / early Mon). |
EconFilter_AvoidHoursBefore | 2 | Avoid N hours before the release. |
EconFilter_AvoidHoursAfter | 1 | Avoid N hours after the release. |
EconFilter_ServerGMTOffset | 3 | Server-time GMT offset (summer=3 / winter=2). |
EconFilter_Verbose | false | Verbose filter logging. |
EconFilter_UseCalendar | true | Auto-fetch from MT5 economic calendar (falls back to NFP/CPI rules where unavailable). |
EconFilter_MinImportance | 2 | Min calendar importance (1=low+ / 2=medium+ / 3=high only). |
EconFilter_Currencies | USD | Calendar target currencies (CSV, e.g. USD,EUR,JPY). |
EconFilter_StopImportance | 3 | Fully stop new entries at this importance or above. |
EconFilter_StopBeforeMin | 120 | Stop: N minutes before release. |
EconFilter_StopAfterMin | 60 | Stop: N minutes after release. |
EconFilter_ReduceLotFactor | 0.5 | Lot factor on medium impact (reduce instead of stop). |
EconFilter_ReduceBeforeMin | 30 | Reduce lot: N minutes before. |
EconFilter_ReduceAfterMin | 15 | Reduce lot: N minutes after. |
| Safety Guard | ||
Guard_Enable | true | Enable the safety guard (forward only). |
Guard_EmergencyMargin | 120.0 | Close all if margin level falls below this % (0=off). |
Guard_DailyLossPct | 8.0 | Stop new entries for the day at this daily loss % (0=off). |
Guard_DailyLossClose | false | Also close open positions when the daily loss is hit. |
Guard_MaxConsecLoss | 0 | Stop new entries for the day after N consecutive losses (0=off). |
Guard_FridayClose | false | Close everything late Friday. |
Guard_FridayCloseHour | 20 | Friday close-all hour (server time). |
| News Protect | ||
Guard_NewsProtectMode | 0 | 0=off / 1=SL to break-even / 2=half close / 3=close all. |
Guard_NewsProtectMin | 15 | Run protection N minutes before high-impact events. |
| Dashboard / Notify | ||
Notify_Push | true | MT5 mobile push notifications (requires MetaQuotes ID). |
Notify_Email | false | Email notifications (requires MT5 email setup). |
Notify_WebhookURL | — | Generic webhook URL (Discord/Slack, etc.; empty=off). |
Notify_MarginAlert | 150.0 | Alert when margin level falls below this %. |
Notify_DailySummary | true | Send a daily summary at a set time. |
Notify_SummaryHour | 6 | Daily summary send hour (server time, 0-23). |
Dash_TradeCSV | true | Record all fills to CSV (MQL5/Files). |
Dash_PauseButton | true | Show a pause button on the chart. |
Notify_NewsPrewarnMin | 60 | Pre-warn N minutes before entries are halted (0=off). |
| Entry (Donchian break + confirmation) | ||
EntryChannel | 20 | v1.10 PDCA: 20→15 raised PF 1.65→1.87 / +74→+101%, both OOS halves improved; ETH H4 favors a shorter channel |
ATRPeriod | 14 | ATR期間(H4) |
ATRMult | 4.0 | Trailing width (ATR multiple). 6=optimal for ETH (robust PF 1.46-3.73 across both OOS halves) |
BreakMargin | 0.5 | Break confirmation margin (ATR multiple) |
| Trend-strength filter | ||
UseTrendFilter | true | Trade only with the SMA-slope direction |
TrendSMA | 200 | Uptrend SMA (buy only above it) |
TrendSlopeBars | 14 | Bars used to measure SMA slope |
| Risk Management | ||
RiskPercent | 2.0 | Risk per trade as a % of account balance.Def 1Std 2Agg 4 |
FixedBaseBalance | 0 | 0 = compounding (lot follows balance). >0 = use this fixed base (no compounding / daily-withdrawal mode). |
MaxLot | 5.0 | Hard cap on total lots (prevents runaway / oversized positions). |
TradeLong | true | |
TradeShort | true | |
| Behavior | ||
MagicNumber | 202622 | Unique ID so the EA never interferes with others (fixed per EA). |
Slippage | 50 | Allowed slippage (points). |
DetailedLog | true | Logs wait/skip reasons, entries and exits to the Journal (forward only). |
Defaults and descriptions follow the EA source. Lot inputs show the effective value after the run-mode multiplier (Defensive x0.5 / Standard x1.0 / Aggressive x2.0). See the bundled MANUAL.html for details.
📈MT5 Strategy Tester Report — BITCOIN COMET EA

📋 About this report
- Official MT5 Strategy Tester report (XMTrading-MT5 server)
- 5-10 years of real price data + every tick (99.9% accuracy) model
- Balance curve (blue) / Equity curve (green) shows floating losses too
- Past results do not guarantee future profits
Download (free)
STEP 1 Prepare your account
Using the EA requires an MT5 account opened through our referral link. If you already have an account, please create an additional account.
No account yet — open a new account via the links below
Adding an account — create an additional account in your member pageSee how →
Buy (paid, one-time license)
Buy BITCOIN COMET EA
Buy on the official MetaQuotes Market (MQL5 Market). Payment, licensing and automatic updates are all handled inside the MT5 app.
Buy on MQL5 Market (MT5) →Buy on MQL5 Market (MT4) →Buy on the official MetaQuotes Market — install directly in MT5 with automatic updates. No account registration needed.