Fractal7 Gold EA
- 专家
- 版本: 2.41
- 更新: 4 十月 2026
- 激活: 15
Fractal7 EA is a fully automated Expert Advisor for XAUUSD (Gold) on the H4 timeframe, built around B. W. fractal indicator applied across three timeframes simultaneously.
The strategy is simple but powerful: it only enters a trade when the Weekly (W1), Daily (D1), and 4-Hour (H4) trends are all aligned in the same direction. This triple confirmation filter eliminates low-quality signals and keeps the system in high-probability setups.
No martingale. No grid. No averaging. One trade at a time.
Launch discount.
The first 5 people will pay only USD 45.00.
After that, the price will return to USD 99.00.
How It Works
1 — Direction (Weekly W1)
The EA reads the Weekly fractal structure to determine the dominant trend. Only long trades are taken in a W1 uptrend; only short trades in a W1 downtrend.
2 — Opportunity (Daily D1)
Within the W1 trend, a D1 fractal breakout confirms the trade opportunity. The EA waits for the market to move in the direction of the higher timeframe bias.
3 — Entry Trigger (H4)
The actual entry is triggered by an H4 fractal breakout in the direction confirmed by both W1 and D1. Stop Loss is placed below/above the most recent H4 fractal with a configurable buffer.
Trade Management
The EA includes three intelligent management layers:
- Breakeven — moves Stop Loss to entry price (with optional profit lock) when the trade reaches a configurable % of the target distance (default: 30%)
- Fractal Trailing Stop — trails the Stop Loss to each new H4 fractal printed in the trade direction, locking in profits progressively
- TP Extension System — when the trade approaches the Take Profit level, instead of closing, it optionally extends the TP and adjusts the SL, allowing the trade to ride strong trends further
Key Features
✅ Multi-timeframe trend alignment (W1 + D1 + H4)
✅ Bill Williams fractal-based entries and trailing
✅ Breakeven with configurable profit protection %, trailing stop, and TP extension — all adjustable
✅ Fixed lot or % risk per trade
✅ No martingale, no grid, no hedging
✅ Works on any broker (ECN, Standard, Hedge/Netting accounts)
✅ Clean chart labels showing TP/SL/BE result on each closed trade
✅ Low trade frequency — only the best setups (approx. 1–2 trades/month)
✅ Bilingual interface: English / Portuguese (PT-BR) — switch at runtime
✅ Floating info panel with live entry checklist, account stats and ON/OFF button
✅ Recommended to run on a VPS for uninterrupted 24/5 execution
Backtest Performance — XAUUSD H4
Period: Jan 18, 2026 – Sep 29, 2026
Broker / Account: Hantec Markets (Demo)
Initial Deposit: $100,000 | Leverage: 1:100
History Quality: 100% real ticks (66,848,046 ticks processed)
Settings: 1% risk per trade · R:R 2.0 · Breakeven protection 2%
| Metric | Result |
|---|---|
| Net Profit | +$11,350.18 (+11.35%) |
| Profit Factor | 6.32 |
| Sharpe Ratio | 3.34 |
| Recovery Factor | 3.89 |
| Max Equity Drawdown | 2.61% |
| Max Balance Drawdown | 0.98% |
| Total Trades | 13 |
| Win Rate | 84.62% (11W / 2L) |
| Avg Win | $1,225.72 |
| Avg Loss | -$1,066.35 |
| Max Consecutive Wins | 6 |
| Max Consecutive Losses | 1 |
| Avg Hold Time | 42h 41m |
| Final Balance | $111,350.18 |
Note: 3 additional trades were closed by the Breakeven protection — counted as wins. Due to the system's selectivity, trade count is intentionally low. Each trade is high-conviction.
Backtest & Demo Tips
⚠ Before running a backtest, set MostrarPainel = false. The floating panel redraws on every tick and will slow the Strategy Tester significantly. Re-enable it for live/demo use.
✅ Use "Every tick based on real ticks" mode for accurate results.
✅ Test a minimum of 12 months to cover both trending and ranging conditions.
✅ Enable LogDetalhado = true on demo to see the full analysis in the Experts Journal.
✅ Start demo with 0.5–1% risk per trade and observe at least 4–6 trades before evaluating.
✅ Run on a VPS with latency below 10 ms to your broker for best execution.
✅ Match your broker's tick data — different brokers may give different historical quality.
Input Parameters
=== RISK MANAGEMENT ===
| Parameter | Default | Description |
|---|---|---|
| Use Percentage Risk | true | true = % of balance / false = fixed lot |
| Risk Percent | 1.0 | % of balance per trade (if enabled) |
| Fixed Lot | 0.01 | Fixed lot size (if % not enabled) |
=== TRADE PARAMETERS ===
| Parameter | Default | Description |
|---|---|---|
| RR Ratio | 2.0 | Risk:Reward ratio for Take Profit |
| Buffer Points | 220 | Extra buffer beyond fractal for SL placement |
| Stop Min (Points) | 500 | Minimum allowed stop size |
| Stop Max (Points) | 9750 | Maximum allowed stop size |
=== TRADE MANAGEMENT ===
| Parameter | Default | Description |
|---|---|---|
| Enable Breakeven | true | Move SL to entry when target % is reached |
| Breakeven % | 30 | % of TP distance to trigger breakeven |
| BE Protection % | 0 | % of TP distance to lock as profit at breakeven (0 = exact entry) |
| Enable Fractal Trailing | true | Trail SL to new fractals |
| Enable TP Extension | true | Extend TP when near target |
| Extension Trigger % | 95 | % of TP distance to trigger extension |
| Extension Additional % | 20 | How much to extend TP |
| Extension Protection % | 85 | SL protection level when extended |
=== DISPLAY ===
| Parameter | Default | Description |
|---|---|---|
| Language | LANG_EN | Interface language: English or Português PT-BR |
| Show Panel | true | Show floating info panel (set false for backtesting) |
| Detailed Logs | false | Log full analysis to Experts Journal |
| Alert on Trade | false | Pop-up alert when a trade is opened |
=== FRACTAL LOOKBACK ===
| Parameter | Default | Description |
|---|---|---|
| Lookback H4 | 40 | Bars to search for H4 fractals |
| Lookback D1 | 60 | Bars to search for D1 fractals |
| Lookback W1 | 140 | Bars to search for W1 fractals |
Requirements
- Symbol: XAUUSD (Gold)
- Timeframe: H4
- Platform: MetaTrader 5 only
- Minimum Deposit: $500 (recommended $1,000+)
- Broker: Any — ECN preferred for tighter spreads
- VPS: Strongly recommended for 24/5 uninterrupted execution
Notes
- The EA trades infrequently by design — quality over quantity (approx. 1–2 setups per month).
- If no trade opens for several weeks, check the floating panel's Entry Checklist — it shows live [OK]/[--] status for each filter.
- Spreads above 30 points on XAUUSD may slightly affect results.
- Works best in trending Gold market conditions.
💡 Recommended Risk Setting
For consistent long-term results, use between 0.5% and 1.0% risk per trade. This is the range used in our backtest (1% risk) and provides a healthy balance between growth and drawdown control.
- 0.5% — conservative, ideal for the first months on a new account or broker
- 1.0% — balanced, matches the backtest parameters shown above
- Above 1.5% — not recommended; drawdowns compound faster than the win rate compensates
Set Use Percentage Risk = true and RiskPercent = 1.0 (or 0.5 to start) in the EA inputs.
📥 Download the Free Demo Version
A fully functional demo version is available for download directly from this page. The demo runs on the Strategy Tester (backtest mode) so you can verify the results yourself before purchasing.
To get started:
- Click the "Free Demo" button at the top of this page
- Download and install the EA in your MetaTrader 5
- Open Strategy Tester → select XAUUSD → H4 → set Show Panel = false
- Choose "Every tick based on real ticks" for the most accurate simulation
- Run the test and compare your results with the backtest report above
The demo version is identical to the full version in Strategy Tester. No registration required.
Disclaimer
Past performance does not guarantee future results. All trading involves risk of capital loss. Backtest results are based on historical data and may not reflect live market execution. Automated systems can and do lose money. Always test on a demo account before trading live. Never risk capital you cannot afford to lose. The author assumes no liability for trading losses incurred through the use of this Expert Advisor.
