Bowline Gold Structure EA
- Uzmanlar
- Sürüm: 1.0
- Etkinleştirmeler: 5
Bowline Gold Structure EA trades gold (XAUUSD) with a fixed 8-step routine: higher-timeframe market structure, order blocks and fair value gaps, momentum and volatility filters, a written trade plan with three targets, risk-based sizing and a clear invalidation level. If any step fails, or the nearest opposing liquidity is less than 2.5 times the risk away, it does not trade. It is a patient system: about two trades per month in the tests below.
No grid, no martingale, no averaging, no pending orders, no DLL, no web requests, no data collection. One position at a time. Every order carries a stop-loss and a take-profit. Works on hedging and netting accounts.
Please read the results and limits below before you buy. The samples are small (20-40 positions per window), the win rate is only about 25-42%, and losing streaks of several trades are normal for this design. Past results do not predict future results.
How it trades
- Structure (H4, closed bars). Fractal swing highs and lows. A close beyond the last swing high is a bullish break of structure (BOS); the low the move started from becomes the protected low. A close below the protected low is a change of character (CHoCH) and flips the bias. Mirror rules for shorts.
- Zones (M15). In the bias direction it looks for order blocks (last opposite candle before a displacement candle of at least 1 ATR) and fair value gaps formed in the current leg. Only the first touch of an untouched zone counts, and the touching candle must close back in the bias direction.
- Momentum and volatility. H4 EMA50 must be on the right side of EMA200 and H4 RSI on the right side of 50. M15 ATR must be between 0.5x and 2.5x its 100-bar average. The confirmation candle needs at least average tick volume.
- Macro. Not modelled. The EA cannot see DXY, US yields or real rates. It only avoids late Friday and wide spreads. Check the news calendar yourself.
- Plan. Stop beyond the zone plus 0.3 ATR. TP2 is the nearest untaken swing high/low (resting liquidity); the trade is skipped if TP2 is less than 2.5R away. TP1 at 2.5R closes 40% and moves the stop to break-even; TP2 closes another 30% and moves the stop to TP1; TP3 (next liquidity, or TP2 + 1R) is the broker take-profit.
- Size. 1% of equity per trade. If 1% is below the minimum lot, it uses the minimum lot only if that risks no more than 5% of equity; otherwise it skips and prints why. Lots are capped to the broker maximum, SYMBOL_VOLUME_LIMIT and free margin.
- Invalidation. An H4 close through the protected level closes the trade.
- Panel. The chart shows the current bias, levels, plan or "NO TRADE" with the reason, and a rough bullish / bearish / no-trade split. Those percentages are a simple score, not calibrated probabilities.
Backtest results (real ticks, JustMarkets demo data, XAUUSD.m M15, 1% risk, default inputs)
Defaults were chosen from 10 variants using 16 Nov 2025 - 16 Jul 2026 only. The held-out months 17 Jul - 14 Nov 2026 were run once with those defaults, without retuning.
| Run | Net profit (USD) | Profit factor | Max equity drawdown | Positions (win %) |
|---|---|---|---|---|
| Tuning 8 months, USD 10,000 | +1145.85 | 1.74 | 510.09 (4.53%) | 26 (42.3%) |
| Held-out 4 months, USD 10,000 | +701.30 | 1.57 | 838.49 (7.27%) | 20 (40.0%) |
| Tuning 8 months, USD 1,000 | +238.17 | 1.98 | 113.13 (9.90%) | 26 (26.9%) |
| Held-out 4 months, USD 1,000 | +42.61 | 1.25 | 98.86 (9.39%) | 20 (25.0%) |
| Full period, USD 10,000, netting account | +1898.23 | 1.65 | 895.98 (7.00%) | 46 (41.3%) |
On USD 1,000 most trades use the 0.01 minimum lot, so the risk per trade is uneven and partial closes are often not possible (0.01 lot cannot be split). Results on other brokers, other spreads and live execution will differ.
Other symbols (technical checks only, 1-minute OHLC, netting)
| Chart, deposit | Net | PF | Positions | Trade errors |
|---|---|---|---|---|
| EURUSD H1, USD 1,000 | -25.11 | 0.89 | 32 | 0 |
| GBPUSD M30, USD 1,000 | -26.15 | 0.85 | 26 | 0 |
| XAUUSD D1 chart, USD 1,000 | +386.73 | 1.98 | 46 | 0 |
The EA is designed for gold. EURUSD and GBPUSD results are not evidence of an edge there.
Recommended use
- Symbol: XAUUSD (any suffix). Attach to any chart timeframe; the EA reads H4 and M15 itself (M15 chart recommended).
- Deposit: USD 1,000 or more. With less, the minimum lot often exceeds the risk limits and the EA skips trades.
- Run it on a demo account first. Use a VPS if you want it to run around the clock.
Main inputs
- HTF (H4), EntryTF (M15), SwingLen (3), ZoneMode (order blocks + FVG), MinRR (2.5), TP1_R (2.5), TP1ClosePct (40), TP2ClosePct (30)
- RiskPercent (1.0), MaxMinLotRiskPct (5.0), MaxLot (50), MaxTradesPerDay (2), MaxSpreadATR (0.25)
- RequireHHHL and RequireDiscount (both off by default: in testing they removed most trades), CloseOnCHoCH (on), ShowPanel (on), MagicNumber (26120401)
Risk disclosure
Trading gold with leverage can lose more than you expect, quickly. This EA can and does have losing streaks. The backtests use one broker's data and a short history and include no commission. They are simulations, not a guarantee of results. Only trade money you can afford to lose.
