Atlas TrendGuard
Donchian, EMA and ADX trend breakout with ATR exits/trailing.
USDJPY · H1 · Original trading hours
Source + EX5 + selected preset + checksums. Strategy Tester research build.

Atlas TrendGuard
Selected H1 USDJPY Donchian/EMA/ADX breakout variant. It is a separate variant, not a replacement for a library rule.
Selected public preset
RiskPercent 0.25; CampaignSession 0; CampaignSessionPolicy 1; CampaignBrokerWinterUTC 2; CampaignBrokerDST 1.
Rule and risk mechanics
Long: completed H1 close above the highest high of bars 2–21, above EMA(200), and ADX(14) ≥20; short mirrors it. ATR(14) stop 2 ATR, target 3R, then an original-risk 2 ATR trail after 1R, checked every 30 seconds. Risk is 0.25% of equity; source gates are 20 points spread, broker 07:00–20:00, Friday 16:00, and a persisted 1.5% daily brake.
Relationship to the strategy library
Related only by family: Donchian 20/10 Breakout is D1 close-based 20/10 with a different holding contract. Atlas is H1 with EMA/ADX, 3R and trailing. See the legacy EA map for mapping scope.
Bounded native functionality observation
The receipt recorded 12 entries and 12 exits: 9 stop-loss, 2 target, and 1 tester-forced close. The approved new diagnostic window is 2024-02-01 inclusive to 2024-03-01 exclusive, on USDJPY.TFQ1 H1, with Model 4, a USD 10,000 deposit and 1:100 leverage at broker UTC+2. It added no commission or delay; recorded native swap history is unverified. It is separate from older archived broker charts and reports. It is not a profitability, restart, or full-rule-coverage result.
Package documentation and download; exact selected preset and binary identity: selected preset SHA-256 10dee294d07e617271347dd088c2984223d6cd102c24469e315958ddc94ed3fd; package binary SHA-256 9c7f9765992faefe607b316f8c1a0762267b93fc1bf91721f3ceb7a020dab42d. Public functionality status: JSON evidence.
Selected configuration: rolling-year net EUR -136.26; full-period net EUR +2186.87. Negative confirmation is retained in the archive.
How this strategy works
- Use a completed H1 close beyond the previous 20-bar Donchian channel, in the EMA200 direction with ADX14 ≥ 20.
- Selected risk is 0.25%, initial stop 2 × ATR14 and fixed target 3R. ATR trailing is enabled, starts at 1R and checks every 30 seconds at a 2 × ATR distance.
- Entries use the original 07:00–20:00 broker-hour window, block late Friday from 16:00, and require spread ≤ 20 platform points.
- The daily equity brake is 1.5%; free-margin use and ownership checks can block a signal. All campaign downloads remain restricted to Strategy Tester.
The selected configuration uses USDJPY / H1, variant s0. All indicator and session values used by this build are listed in the preset editor.
Measured backtests


| Period / model | Net EUR | PF | Trades | Equity DD | Native report |
|---|---|---|---|---|---|
| Development 2019.01.01 → 2024.01.01 M1 OHLC screening | +1,752.07 | 1.21 | 671 | 5.75% | MT5 report |
| Validation 2024.01.01 → 2025.01.01 M1 OHLC screening | +628.76 | 1.43 | 137 | 2.36% | MT5 report |
| 12-month review 2025.09.01 → 2026.09.01 Real-tick mode + fallback | -136.26 | 0.92 | 119 | 4.37% | MT5 report |
| Long review 2019.01.01 → 2026.09.21 Real-tick mode + fallback | +2,186.87 | 1.16 | 1023 | 5.54% | MT5 report |
Adjust the strategy preset
MT5 also validates parameter combinations and may reject incompatible inputs. Session modes use local London, New York and Tokyo hours. Broker-time conversion uses the configured winter UTC offset and DST rule. A session filter limits eligible entries; it does not change the underlying strategy signal or create trades where none qualify. Policy 2 also closes before the chosen session ends.
Install and reproduce the archived broker test
- Download and extract the ZIP. Copy
AtlasFX_TrendGuard_Sessions.ex5intoMQL5/Experts/TradeForexin the MT5 data folder. Keep MQ5 and all MQH headers together if compiling. - Open Strategy Tester, select the EA, USDJPY and H1. The build rejects normal chart execution.
- Load the included
selected-test.setor a preset downloaded above. Symbol, chart timeframe, dates, deposit and tick model are tester settings outside the .set file. - For confirmation choose “Every tick based on real ticks”, EUR 10,000, 1:30 leverage and 100 ms delay. Use 2025.09.01–2026.09.01 or 2019.01.01–2026.09.21; retain the generated report and Journal.
- Allow MT5 to obtain the available broker history. Compare actual date coverage, costs, trade count and history quality; a later download or different broker server can change the result.
Read the general MT5 installation guide; this package’s tester-only restriction takes precedence over normal chart-activation steps.
Limits of the archived broker results
- Tested values are research settings, not a profitability claim.
- Broker history, spread, swaps and fills can change outcomes.
- These are retrospectively selected historical tests. Development, validation and review periods overlap previously inspected history; this is not a fresh independent holdout.
- The balance plots show realized outcomes. Equity drawdown includes floating positions and must not be inferred from the balance line alone.
- Available native ticks and fallback are accepted. Missing ticks, historical spread paths and cost assumptions limit confidence; profitable history does not guarantee future profitability.
- RiskPercent is an entry-sizing estimate, not a hard loss cap. Costs, gaps and slippage can exceed that estimate; some legacy sizing excludes transaction costs.
Additional cost stress adds 25% of the absolute commission and swap amounts: 12-month stressed net EUR -181.85; long-period stressed net EUR +1,769.96. This is not a full spread or slippage stress.
Files and reproducibility
Each ZIP includes MQ5 source, required headers, EX5, README, selected-test.set, selection.json and SHA256SUMS.txt. Compiled builds and measured results are unchanged by this documentation update.
ZIP SHA-25609b2c51f85ce91966a6a613f7ba8a3e87a66b4d777cd4fa0a3e68c4e03e0b3ce
Tested EX5 SHA-2569c7f9765992faefe607b316f8c1a0762267b93fc1bf91721f3ceb7a020dab42d
Selection criteria and all strategy categories · Frozen selection record
