Description
What this EA does
EA #006 — SMC turns selected Smart Money Concepts into explicit, configurable MT5 rules. It follows confirmed swing structure, creates an Order Block or Fair Value Gap zone after a directional break, and waits for a later closed-candle retest. You select the symbol, signal timeframe, filters, stops and risk. This is a mechanical research tool, not the full discretionary SMC methodology.
Read the illustrated SMC strategy: structure, OB/FVG and real MT5 examples →
Strategy logic
- Confirm structure. Strict swing highs/lows require InpSwingWing completed candles on both sides. Equal highs/lows do not establish a new pivot. A directional candle must close beyond the active level and meet the displacement-body/ATR threshold.
- Optional liquidity sweep. Require a prior reclaimed sweep within its allowed lifetime, or permit direct structure breaks. A same-candle sweep and break cannot qualify as a prior sweep.
- Create a zone. Order Block mode uses the full high/low range of a qualifying opposite candle. FVG mode uses a fresh three-candle gap meeting the minimum ATR size. Invalidated or already-touched gaps are rejected.
- Wait for rejection. A later candle must overlap the zone and close beyond its outer edge in the intended direction, with the matching candle body. Expiry, breached extremes and opposite structure invalidate pending setups.
- Execute once. A confirmed opportunity is consumed even when filters or the broker reject the attempt. Actual execution occurs on a subsequent available tick; the entry-delay limit rejects stale confirmations. One owned position/exposure per symbol and magic is allowed.
Filters, exits and risk
Optional higher-timeframe structure uses completed bars and confirmed swings. Neutral or unavailable structure blocks new entries; a later direction change does not close an existing position. The independent EMA filter compares the last closed higher-timeframe close with its EMA. When both are enabled, both must agree. Filter timeframes must exceed the signal timeframe.
Choose M30, H1, H4 or D1 through optimization IDs 0, 1, 2 and 3. Broker-server hours, direction switches, absolute spread and spread/initial-stop-distance filters restrict entries. Hours do not close positions at the end of the window.
A hard SL sits beyond the more distant zone/sweep structural anchor plus an ATR buffer. Fixed-RR mode places a broker TP at a chosen multiple of initial stop distance. ATR-trailing mode has no fixed TP and tightens stops using closed ATR; it can tighten before a trade becomes profitable. The EA uses current-equity percentage risk or fixed lots, volume/margin checks and broker tick/lot increments. Costs, gaps and slippage can exceed nominal risk.
Configurable parameters
| Group | Meaning |
|---|---|
| Structure and displacement | Swing confirmation strength, optional sweep depth/lifetime, directional break body divided by ATR. |
| Entry zone | OB or FVG model, zone lookback, retest expiry, minimum FVG width/ATR. |
| Higher-timeframe filters | Structure or EMA, separate M30/H1/H4/D1 selectors, structure-wing strength and EMA length. |
| Exits | SL buffer, fixed-RR target or ATR trailing. RR is inactive in trailing mode; TrailATR is inactive in fixed-RR mode. |
| Risk and execution | Equity-risk or fixed lots, cap, spread limits, deviation and maximum entry delay. Keep these fixed while comparing signal settings. |
| Visuals | CLEAN panel, active zones, optional diagnostic labels and actual execution markers/connectors. Display controls do not change signals. |
All 50 inputs are documented in the English manual. Source defaults use M15, sweep ON, OB, 0.5% equity risk and 2R. The supplied historical GOLD SET uses sweep OFF, M30 structure ON, 3% equity risk and 3R. Loading the example changes risk; review it before use.
Example historical backtest
One historical OB configuration; not a forecast or proof of all settings. GOLD.pro, M15, configured period 1 January 2025 to 1 October 2026; last deal 30 September. OANDA TMS Brokers S.A., OANDATMS-MT5 build 6230, USD account, $5,000 initial deposit, leverage 1:100. Reported history quality 99%, 41,074 bars and 145,069,618 ticks. The exported HTML does not explicitly identify the tester model selection; real-tick mode is not independently certified by the tick count or informational input text.
| Net profit / final balance | $10,646.60 / $15,646.60 |
|---|---|
| Profit factor / expected payoff | 1.27 / $47.96 |
| Trades / trade deals | 222 / 444 |
| Wins / losses | 70 (31.53%) / 152 (68.47%) |
| Equity relative drawdown | 36.25% ($2,402.01) |
| Equity maximal drawdown amount | $3,565.32 (19.09%) |
| Balance relative drawdown | 34.32% ($2,209.98) |
| Balance maximal drawdown amount | $2,779.46 (19.77%) |
| Maximum consecutive losses | 9 trades (-$2,138.81) |
Largest money drawdown and largest percentage drawdown occur at different levels. The example includes substantial losses. Report configuration: OB, sweep OFF, M30 structure ON (wing 3), EMA/hours OFF, 3% current-equity risk and 3R target. Spread assumption is not separately provided in the source report.
Every trade-deal balance was reconciled. Price profit totals $11,113.17, swap -$466.57 and commission $0.00; net change $10,646.60. Initial deposit plus net change equals final balance exactly. The modern balance view uses the initial balance and 222 original closing balances without smoothing. It is realized balance, not floating equity. Zero commission in this example does not imply zero costs at another broker.
Additional historical backtest — US100 M5
EA006 v1.05, US100.pro, M5, 1 January 2025 to 1 October 2026, last close 30 September 2026. OANDA TMS Brokers S.A., MT5 build 6230, USD account, initial deposit $5,000, leverage 1:100. OB, sweep OFF, H1 structure ON (wing 3), EMA/hours OFF, 3% equity risk and 3R target.
| Net profit / final balance | $7,978.69 / $12,978.69 |
|---|---|
| Profit factor / expected payoff | 1.55 / $87.68 |
| Trades / deals | 91 / 182 |
| Wins / losses | 32 (35.16%) / 59 (64.84%) |
| Equity relative drawdown | 25.09% ($1,769.86) |
| Equity maximal drawdown amount | $1,819.74 (15.63%) |
| Balance relative drawdown | 21.94% ($1,529.02) |
| Maximum consecutive losses | 7 trades (-$1,291.42) |
All 182 trade-deal balances reconcile exactly; 91 original closing balances are verified. Commission and swap are $0.00 in this report. History quality 100%, 122,942 bars and 323,352,053 ticks. The HTML does not explicitly identify the selected tester model or a separate spread assumption. This is a historical example, not a forecast. The supplied SET uses 3% risk; review it before use. Reproduce with optimization OFF.
Download original GOLD M15 and US100 M5 reports with images →
Real MT5 examples
The linked strategy preserves the supplied chart geometry and actual fills. A BUY on 15 January 2025 closes at SL for -$143.81 net. The following BUY on 16 January closes at TP for +$421.83 net. The SELL from 20–21 March closes at TP for +$456.30 net. A visible BUY zone can coexist with SELL-only higher-TF bias; a zone alone does not authorize an entry.
Customer package
The prepared release contains the author-supplied v1.05 EX5, GOLD M15 and US100 M5 example SETs with blank license fields, English manual, START_HERE installation instructions, changelog, checksums and the original report with its images. MQ5, customer keys and secrets are excluded. The package is delivered through protected WooCommerce downloads after purchase.
Installation and activation
- Download the protected package through your order or My Account after purchase.
- Copy EX5 to MT5 File → Open Data Folder → MQL5/Experts and refresh Navigator. Use a hedging account; netting is unsupported.
- Choose the broker symbol and signal timeframe; load SET with optimization OFF for reproduction and review risk, magic and filters.
- For demo/live, enter the legitimate EA006 key in InpLicenseKey, allow https://ea-lab.dev under Tools → Options → Expert Advisors → WebRequest, and enable Algo Trading.
- Check LICENSE ACTIVE and Experts/Journal. First validate on demo; an active license is not evidence of strategy profitability.
Tester/optimization bypass online licensing and do not consume account activations. The EA LAB license model permits two MT5 login/server combinations for each purchased EA. The EA blocks new entries after a license rejection while continuing management of owned positions. Network grace requires a previous valid confirmation of the same identity. Product-specific live activation and limit tests remain pending for this release.
Optimization suggestions
First reproduce the supplied report with optimization OFF. Compare small stages: structure/displacement and expiry; stops/RR; OB versus FVG separately; HTF structure; HTF EMA; then ATR-trailing as a separate exit family. Keep risk, symbol, costs and dates fixed. Do not optimize unused fields.
For either filter TF use Start 0 / Step 1 / Stop 3 and enable that filter. With M15 all four choices are valid. The supplied SET retains many optimization flags and limits StructureTF to 0..1; this is not a recommended all-at-once grid. Old native MT5 period IDs are incompatible with v1.05 filter selectors. Validate nearby settings, unseen dates and forward demo results.
Version and release status
v1.05 adds optimizable filter timeframe IDs 0..3. v1.03 added closed-bar HTF structure; v1.02 added permanent actual trade labels and connectors; v1.01 improved readability and hid ATR while retaining calculations. The author supplied EX5 and a matching-named v1.05 report. Independent compilation/binary provenance and the complete live-license test matrix have not been run in this environment. The supplied EX5 is distributed unchanged.
FAQ
Which accounts work?
MT5 hedging accounts only. Symbol contract details and broker costs must be tested independently.
Why does the EA show a setup without trading?
Check higher-TF bias, license, Algo Trading, hours, spread, entry delay, one-position rule, margin and zone expiry. Drawings can show an active zone even when a filter blocks it.
Does changing the chart timeframe change signals?
No. InpSignalTF controls the signal engine. Match the chart timeframe for setup drawings.
Can I use another EA’s key?
No. EA006 has its own product identity. A licensed tester does not prove demo/live activation.
Are cTrader or TradingView versions included?
No. Those platform controls request feasibility; only the MT5 EX5 is prepared.
Risk disclosure
Historical/backtested performance does not guarantee future results. Results vary with broker, spread, commission, symbol, settings and execution. You choose the configuration and remain responsible for your account. Trading can cause loss of some or all capital. This software is not financial advice, account management or a profit promise.




