EA Santai Gold
- Experts
- SAPARUDIN -
- Versione: 1.0
- Attivazioni: 20
EA SANTAI GOLD — Smart Grid Martingale Expert Advisor
Overview
EA SANTAI GOLD is a fully automated Expert Advisor for MetaTrader 5, combining a smart grid system with martingale lot sizing, candle-based trend filtering, and a comprehensive set of risk management tools. Designed for traders who want a disciplined, automated approach with full control over daily risk and profit targets.
Key Features
🕯️ Candle Direction Filter
- Entries are filtered using N consecutive closed candles on a selected timeframe
- If the last N candles are all bullish (close > open) → BUY signal
- If the last N candles are all bearish (close < open) → SELL signal
- Fully configurable: choose your timeframe and candle count
📐 Smart Grid System
- Opens a series of orders at calculated distances
- Fixed Distance: constant gap between all orders
- Dynamic Distance: distance starts at a defined value and multiplies by a factor from a specified order number onward
- Grid continues seamlessly across trend reversals — when trend returns, the grid resumes with the correct next lot
📈 Martingale Lot Sizing
- Lot size grows as InitialLot × Multiplier^n
- Precise accumulation: with small multipliers (e.g. 1.2), lot only increases when the raw accumulated value genuinely reaches the next broker step — no premature rounding
- Autolot option: lot calculated automatically based on free margin
🧮 Average Price TP (BEP-Based)
- Take Profit is calculated from the volume-weighted average price of all open positions
- All positions in the same direction share the same TP level, which updates automatically as new orders are added
- Supports both Real and Virtual TP modes
🛡️ BEP-Based SL & Trailing Stop
- Stop Loss is measured from the Break Even Price (BEP) — the average open price of all positions
- Trailing Stop activates when price moves beyond BEP + TrailStart and trails with a configurable distance
- Trail SL cannot go below BEP, ensuring a break-even floor
🔀 Hedge Mode
- Hedge ON: opens BUY and SELL simultaneously when signals appear in both directions
- Hedge OFF: only one direction active at a time — no new opposing orders while a series is open; resumes the correct direction when the existing series closes
Risk Management
| Feature | Description |
|---|---|
| Cut Loss | Closes all positions when floating loss exceeds a % of current balance |
| Daily Profit Target | EA turns off for the day when today's realized + floating P/L reaches the target |
| Daily Loss Target | EA turns off for the day when today's loss reaches the limit |
| Daily Close All | Automatically closes all positions at a configured daily time |
| Friday Close | Closes all positions before the weekend at a configurable time |
| Max Spread Filter | Blocks new orders when spread is too wide |
| Trading Hours | Restricts order opening to defined start/end hours |
| News Filter | Integrates with the MQL5 built-in Economic Calendar — pauses trading before and after high/medium/low impact news events, with configurable pause durations per impact level and optional currency filtering |
Requirements
- Platform: MetaTrader 5
- Internet connection: required for news filter (MQL5 Economic Calendar)
- Account type: works on Hedging accounts (for hedge mode) and Netting accounts
- Symbols: any symbol (Forex, metals, indices, crypto)
Recommended Settings
| Setting | Recommended |
|---|---|
| Symbol | XAUUSD |
| TF Indikator | M12 or M15 |
| Candle Count | 2–3 |
| Initial Lot | 0.01 |
| Lot Multiplier | 1.2 – 2.0 |
| Dynamic Distance Start | 300 |
| Distance Multiplier | 1.2 |
| Daily Profit Target | 2–5% of balance |
| Daily Loss Target | 1–3% of balance |
| Cut Loss % | 20% |
Version History
| Version | Notes |
|---|---|
| GOLD | Full release — candle filter, BEP-based SL/Trail, overlap system, daily target, monthly panel, news filter, account protection |
EA SANTAI GOLD — Trade smart, trade safe.

