Gold trending miner
- Uzman Danışmanlar
- Quoc Huy Do
- Sürüm: 1.0
- Etkinleştirmeler: 12
# GoldTrendingMiner — MQL5 Market Description
## Product Name
GoldTrendingMiner
## Short Description (max 63 chars)
Smart Gold EA with Zone Breakout + Multi-Trend State Machine
---
## Full Description
**GoldTrendingMiner** is a professional-grade Expert Advisor designed exclusively for XAUUSD (Gold). It combines **Zone Breakout** technology with a **multi-layered trend detection system** (Macro + Micro) to adapt its behavior based on real-time market conditions — Uptrend, Sideways, or Downtrend.
Unlike simple EAs that use a single fixed strategy, GoldTrendingMiner identifies the current market state and applies the optimal trading approach for each scenario: aggressive breakouts in uptrends, selective swing trades in sideways markets, and tightly controlled counter-trend entries in downtrends.
**🏆 KEY FEATURES**
⭐ Accumulation Zone Detection — Automatically identifies price consolidation zones on H1 and trades the breakout with volume confirmation
⭐ 3-EMA State Machine (D1) — Real-time market state detection using EMA 20/50/100 with hysteresis logic to prevent false signals
⭐ Macro Trend Filter (Weekly EMA200) — Bear Hibernate mode automatically stops trading and closes losing positions when the macro trend turns bearish
⭐ Smart Partial Close — Two-stage take profit: close 50% at TP#1, 30% at TP#2, trail the rest
⭐ Adaptive Trailing Stop — Starts only after profit reaches N×SL, then protects a percentage of accumulated gains
⭐ R:R Based Management — All TP/SL levels are defined as multiples of SL distance for consistent risk management
⭐ D1 Engulfing Pattern Gate — In downtrend, requires D1-level engulfing candle + confirmation candle before entry
⭐ Sell Exhaustion Filter — Proprietary filter that measures selling pressure decay before allowing counter-trend BUY entries
⭐ Trap Zone Trading — RSI-based entries during extreme bearish conditions (Weekly death cross)
⭐ Swing Hold Module — Long-term position holding with separate parameters per market state
⭐ Compound Growth — Automatically scales lot size as account equity grows
⭐ Multi-Broker Compatible — Works on Standard, Micro, and Cent accounts (tested on Exness, XM)
**🛡️ RISK MANAGEMENT**
✅ No Martingale
✅ No Grid
✅ No Averaging
✅ Hard Stop Loss on every trade
✅ Dynamic lot reduction in downtrend (configurable %)
✅ Maximum position quota per market state
✅ Bear Hibernate: auto-close losing positions when macro trend breaks down
**📊 5 BUILT-IN STRATEGIES**
1. **Uptrend Breakout** — Full lot, wide TP (3×SL), standard trailing
2. **Downtrend SELL** — Reduced lot (50%), requires D1 bearish engulfing confirmation
3. **Counter-Trend BUY** — Minimal lot, tight TP, early partial close + exhaustion filter required
4. **Swing Hold** — Long-term positions following Weekly EMA trend, separate params per state (UT/SW/DT)
5. **Trap Zone** — RSI-driven entries during Weekly death cross periods
**⚙️ RECOMMENDED SETTINGS**
— Symbol: XAUUSD (Gold)
— Chart Timeframe: H1
— Minimum Deposit: $1,500 for 0.01 lot (Standard account). Accounts below this threshold have insufficient margin to withstand normal Gold volatility and WILL be at high risk of margin call. Cent accounts: $15+
— Broker: Any MT5 broker, ECN/Raw spread recommended
— Account Type: Hedge
— Leverage: 1:300 or higher recommended
**� WHEN SHOULD YOU RUN THIS EA? — READ CAREFULLY**
This EA performs BEST in clear UPTREND conditions. Before activating, check these conditions:
✅ BEST CONDITIONS TO RUN (High Confidence):
— Gold price is ABOVE the Weekly EMA200 (strong macro uptrend)
— Daily EMAs are aligned: EMA20 > EMA50 > EMA100 (confirmed micro uptrend)
— Weekly candle is making higher highs and higher lows
— No major economic event within the next 2 hours (FOMC, NFP, CPI)
— Spread is normal
⚠️ PROCEED WITH CAUTION:
— Gold price above Weekly EMA200 but Daily EMAs are tangled (Sideways state)
— The EA will automatically reduce trading frequency in this state
— Expected: fewer trades, smaller profits, but capital preservation
❌ HIGH RISK — CONSIDER TURNING OFF:
— Gold price is BELOW the Weekly EMA200 (Bear Hibernate activates automatically)
— Major geopolitical/economic uncertainty (war, banking crisis, rate shock)
— Your account is below $1,500 on Standard or $15 on Cent
— Spread is abnormally wide (> 50 points)
💡 PRACTICAL RULE OF THUMB:
Open a Weekly XAUUSD chart. Draw Weekly EMA200. If price is clearly ABOVE it with room to breathe → IDEAL. If price is sitting right on it or below → WAIT.
The EA has built-in protection (Bear Hibernate, lot reduction, quota limits), but the BEST results come from running it during confirmed uptrends. Think of this EA as a Gold miner — it works best when the gold vein is rich (uptrend), not when the mine is flooding (downtrend).
**�📋 INPUTS OVERVIEW**
All parameters are fully customizable and organized in clearly labeled groups:
• Group 1: General — Magic, Lot, Compound Growth
• Group 2: Zone Detection — Zone size, candle count, volume filter
• Group 3: Trend System — Macro (W1 EMA200) + Micro (D1 3-EMA state machine)
• Group 4: Uptrend Breakout — SL/TP/Trailing/Partial Close
• Group 5: Downtrend Breakout — Pattern Gate + SHORT params + BUY CT params
• Group 6-7: Swing Hold — General + State-specific (UT/SW/DT)
• Group 8: Trap Zone — RSI thresholds + lot/SL/TP
• Group 9: Sell Exhaustion Filter — Density/Force thresholds
**💬 SUPPORT**
After purchasing, please send me a message for:
— Recommended preset files (.set) for different risk profiles
— Detailed PDF user guide with examples
— Optimization tips for your specific broker
**⚠️ DISCLAIMER**
Past performance is not indicative of future results. Trading forex and CFDs involves significant risk. Please use proper risk management and trade only with capital you can afford to lose.
---
## Tags (comma separated)
gold, xauusd, breakout, zone, trend, swing, trailing, partial close, smart money, accumulation, ema, rsi, counter-trend, risk management, compound
---
## Screenshots Needed
1. Backtest equity curve (3-5 year Gold)
2. Input parameters panel
3. Chart showing zone detection + breakout entry
4. Trade management (partial close + trailing visualization)
5. Market state transitions example
