Gold Pyramid EA boboji
- Эксперты
- Версия: 6.0
- Активации: 10
Gold Pyramid EA boboji — Adaptive Regime Detection + Inverted Pyramid Position Building for Gold
boboji is a fully automated Expert Advisor engineered exclusively for XAUUSD (Gold). Its philosophy in one sentence: quick in-and-out in ranging markets, let profits run in trending markets.
Most EAs only make money in one type of market: trend-followers get chopped to pieces in ranges; grid systems get wiped out by a single trend. boboji uses a multi-dimensional ADX engine to detect market regime and switches automatically between two completely different position management logics — this is what fundamentally sets it apart.
Core Mechanisms
1. ADX Market Regime Engine (Range / Trend / Transition) - ADX ≤ 20 → ranging market: mean-reversion entries near Bollinger bands, fast 1.5×ATR take-profit, never gamble on direction - ADX ≥ 25 → trending market: the inverted pyramid engine activates, letting one correct entry amplify itself - Transition zone → no trades, filtering out the most dangerous fake-breakout territory at the source
2. Inverted Pyramid Engine (Trend Mode) - After the first position moves into profit, additional layers are added at ATR-based steps, each layer’s lot size multiplied (default 1.5×) — the stronger the trend, the heavier the position - Exclusive “new-extreme add rule”: adds are only allowed after price makes a new high/low relative to the last add — no suicidal re-chasing after a top-layer stop-out - Add lot sizes are anchored to the first position, cutting the runaway “floating profit → equity → lot size” feedback loop
3. Pullback Entry + Structure Stop (V6 Core Upgrade) - No chasing: after a signal fires, the EA waits for a 0.5×ATR pullback before entering — drastically reducing entries at spike tops - Signals are split into a Direction group (state) + Trigger group (event) for dual confirmation, eliminating fake confluence from correlated indicators - Stops are placed beyond the most recent swing high/low (structure stop); if the distance is unreasonable, the trade is simply skipped — no trade is better than a bad trade - Trend entries require a rising ADX — no positions in exhausted trends
4. Group Floating-Profit Drawdown Exit (Peak Lock-In) - Monitors the entire position group’s floating P/L peak in real time; when the giveback exceeds the configured percentage, the whole group is closed — profits are banked, not donated back
5. Multi-Layer Risk Control - Breakeven stop: moves to breakeven + offset after 1×ATR profit - Chandelier trailing stop: wide ATR trailing in trends, tightened in ranges - Daily loss circuit breaker: closes everything and halts trading for the day at the configured equity loss threshold - Spread filter, per-direction total lot cap
Key Input Parameters
| Parameter | Description | Default |
| InpLotPer1000 | Lots per 1000 equity (auto sizing) | 0.01 |
| InpADXTrendLevel / InpADXRangeLevel | Trend / range ADX thresholds | 25 / 20 |
| InpUsePullbackEntry | Enable pullback entry | true |
| InpUseStructureSL | Enable structure stop-loss | true |
| InpInitialSL_ATR | Initial stop (×ATR) | 2.0 |
| InpAddStep_ATR | Pyramid step (×ATR) | 0.2 |
| InpAddLotMultiplier | Lot multiplier per layer | 1.5 |
| InpMaxAddPositions | Max pyramid layers | 10 |
| InpGroupTrailActPct / BackPct | Profit-lock activation / giveback % | 2% / 10% |
| InpDailyMaxLossPct | Daily loss circuit breaker (% of equity) | 25% |
| InpMaxTotalLots | Max total lots per direction (0 = unlimited) | 0 |
Requirements
• Symbol: XAUUSD (Gold) only
• Timeframe: M5 recommended (M1/M15 possible with your own backtested settings)
• Account type: Hedging account required — on netting accounts, pyramid layers merge and the strategy cannot function
• Leverage: 1:100+ recommended; aggressive settings require 1:500
• VPS: low-latency VPS strongly recommended
Risk Warning
This EA uses a position-building (pyramiding) strategy and is an aggressive trading system. Past backtest performance does not guarantee future results. Extreme gold market conditions can cause significant drawdowns. Always run on a demo or small live account for at least one month to verify the settings match your broker’s environment (spread, leverage, slippage) before committing real capital. Configure the daily circuit breaker and lot caps according to your own risk tolerance.
