Gold MACD Trend EA
- Experts
- Jia Xi Quan
- Versione: 3.0
- Attivazioni: 5
-
# Gold MACD Trend EA v3.0 — MQL5 Market Listing (Small Account Focus)
## English Version | Main Selling Point: Built for Small Accounts
---
## Short Description (max 300 chars)
Start trading Gold with just $100. Smart risk management auto-sizes your lots — no blown accounts. MACD + EMA + ADX trend-following strategy. ATR-based dynamic SL/TP with trailing stop. No martingale. No grid. No DLL.
---
## Full Description
---
### 💰 Start Small. Trade Smart. Grow Steady.
**Most EAs require $1,000, $5,000, or even $10,000 to run safely.**
This one was **built from day one for $100 accounts.**
Gold MACD Trend EA automatically calculates the safest lot size for your balance, so you never risk more than you can afford — whether you have $100 or $10,000.
> **"I don't have $5,000 to start trading."**
> — You don't need it. This EA turns $100 into a growing account, one disciplined trade at a time.
---
### 🎯 Why Small Account Traders Love It
| Problem | How This EA Solves It |
|---------|-----------------------|
| "I blown my $100 account in one bad trade" | **2% max risk per trade** — even 50 consecutive losses won't wipe you out |
| "EA opened a huge lot and I got margin called" | **Dynamic lot sizing** — automatically scales down as balance drops |
| "I don't know what lot size to use" | **Fully automatic** — no manual calculation needed, ever |
| "My account stopped trading when balance got low" | **Low-balance protection** — EA pauses at $50 to prevent destruction |
| "Martingale EAs destroyed my small account" | **Zero martingale, zero grid** — one trade at a time, clean and simple |
---
### 🔧 How It Works — Simple, Proven Logic
This EA uses **3 confirmation filters** before opening any trade:
**BUY Signal:**
1. ✅ MACD histogram crosses above zero (momentum shifts bullish)
2. ✅ Price is above 50-period EMA (uptrend confirmed)
3. ✅ ADX > 20 (trend is strong enough)
**SELL Signal:**
1. ✅ MACD histogram crosses below zero (momentum shifts bearish)
2. ✅ Price is below 50-period EMA (downtrend confirmed)
3. ✅ ADX > 20 (trend is strong enough)
**Protection on every trade:**
- 🛑 **Stop Loss**: Dynamic, based on market volatility (ATR × 1.2)
- 🎯 **Take Profit**: Dynamic, scales with volatility (ATR × 1.5)
- 📈 **Trailing Stop**: Locks in profits automatically (activates at 1.0 × ATR, trails at 0.7 × ATR)
---
### 🛡️ Built-In Account Protection System
This is what makes it **different** from other EAs on the market:
```
┌─────────────────────────────────────────────┐
│ SMART MONEY MANAGEMENT │
│ │
│ Risk Per Trade: 2% of balance │
│ ├── $100 balance → risks $2 per trade │
│ ├── $200 balance → risks $4 per trade │
│ └── $50 balance → TRADING PAUSED │
│ │
│ Lot Calculation: Fully automatic │
│ ├── Adapts to your broker's lot step │
│ ├── Respects MinLot / MaxLot limits │
│ └── Hard cap: 5.0 lots max │
│ │
│ Trade Rules: │
│ ├── Only 1 trade open at a time │
│ ├── No martingale (no doubling after loss) │
│ ├── No grid (no averaging down) │
│ └── No hedge (no offsetting positions) │
└─────────────────────────────────────────────┘
```
**Key: The EA gets MORE conservative when you lose, not aggressive.**
---
### 📊 Feature Comparison
| Feature | This EA | Typical Market EAs |
|---------|---------|-------------------|
| Min deposit | **$100** | $500 ~ $5,000 |
| Money management | **Auto (2% risk)** | Fixed lot or none |
| Martingale | **Never** | Often yes |
| Grid trading | **Never** | Often yes |
| Max concurrent trades | **1** | 5~20+ |
| Trailing stop | **ATR-based** | Fixed pips |
| SL/TP adaptation | **Dynamic (ATR)** | Fixed pips |
| Low-balance protection | **Built-in** | Rarely |
| DLL required | **No** | Sometimes |
| Account safety rating | ⭐⭐⭐⭐⭐ | ⭐⭐ |
---
### 📈 Account Growth Example
Starting with $100, 2% risk per trade:
```
Trade Balance Risk/Trade Lot
───── ──────── ────────── ────
Start $100 $2.00 0.01
#1 Win $125 $2.50 0.01
#2 Win $150 $3.00 0.02
#5 Win $200 $4.00 0.02
#10 $300 $6.00 0.03
#20 $500 $10.00 0.05
The EA grows WITH your account.
Bigger balance → bigger lots → faster growth.
But risk ALWAYS stays at 2%.
```
---
### ⚙️ Input Parameters (All Fully Customizable)
**MACD Settings**
| Parameter | Default | Description |
|-----------|---------|-------------|
| InpMacdFast | 12 | MACD fast EMA period |
| InpMacdSlow | 26 | MACD slow EMA period |
| InpMacdSignal | 9 | MACD signal line period |
| InpTrendEma | 50 | Trend EMA period |
**ATR Stop Loss / Take Profit**
| Parameter | Default | Description |
|-----------|---------|-------------|
| InpAtrPeriod | 14 | ATR calculation period |
| InpSlAtrMult | 1.2 | Stop Loss = ATR × this value |
| InpTpAtrMult | 1.5 | Take Profit = ATR × this value |
**Trailing Stop**
| Parameter | Default | Description |
|-----------|---------|-------------|
| InpTrailTrigger | 1.0 | Start trailing after profit >= ATR × this |
| InpTrailDist | 0.7 | Trail stop distance = ATR × this |
**ADX Filter**
| Parameter | Default | Description |
|-----------|---------|-------------|
| InpUseAdx | true | Enable ADX filter |
| InpAdxPeriod | 14 | ADX period |
| InpAdxThresh | 20 | Minimum ADX value to allow entry |
**Money Management**
| Parameter | Default | Description |
|-----------|---------|-------------|
| InpRiskPct | 2.0 | Risk per trade (% of account balance) |
| InpMinBalance | 50.0 | Minimum balance to allow new orders |
| InpMaxLots | 5.0 | Maximum lot size cap |
**Trade Settings**
| Parameter | Default | Description |
|-----------|---------|-------------|
| InpMagic | 20260328 | EA Magic Number |
| InpSlippage | 30 | Max allowed slippage (points) |
| InpShowPanel | true | Show info panel on chart |
---
### 🚀 Quick Start Guide
1. Download the `.ex4` file
2. Copy to: `MetaTrader 4 / MQL4 / Experts /`
3. Restart MT4 or refresh Navigator
4. Attach EA to **XAUUSD H1** chart
5. Enable **"Allow live trading"**
6. That's it — the EA handles everything automatically
> 💡 **Tip**: Start with default settings on a demo account. Once you see consistent results, switch to live with $100.
---
### ❓ Frequently Asked Questions
**Q: Can I really start with just $100?**
A: Yes. With 0.01 micro lots and 2% risk, the EA is designed to trade safely on small accounts from day one.
**Q: Will the EA blow my account?**
A: No martingale, no grid, no hedging. Only 1 trade at a time. Maximum 2% risk per trade. It is mathematically very difficult to blow up with this system.
**Q: What if my balance drops?**
A: The EA automatically reduces lot size. At $50, trading pauses entirely to protect your remaining capital.
**Q: Does it work on other pairs besides Gold?**
A: Yes. The lot calculation uses MarketInfo() for tick value, so it adapts to any symbol. But default parameters are optimized for XAUUSD H1.
**Q: Can I run multiple pairs at the same time?**
A: Yes. Just set a unique InpMagic number for each chart.
**Q: No DLL? No external connections?**
A: 100% self-contained MQL4 code. Zero dependencies.
**Q: Is this a scalper?**
A: No. It trades on H1 with ATR-based stops. Designed for swing-style trend following on Gold.
---
### ⚠️ Risk Disclaimer
Trading forex and CFDs involves substantial risk of loss. Past performance (including backtests) is not indicative of future results. You should never trade with money you cannot afford to lose. This EA does not guarantee profits.
---
### 📝 Version History
**v3.0** — Complete rewrite with:
- Smart money management (2% risk auto-sizing)
- Account protection system (low-balance guard)
- ATR-based dynamic SL/TP and trailing stop
- ADX trend-strength filter
- OnTester() optimization metric
- Full broker compatibility (auto lot-step detection)
---
*Gold MACD Trend EA v3.0 | Built for Small Accounts | No Martingale | No Grid | No DLL*
*Copyright 2026, Gold Strategy Labs*
