GoldLadder Pro EMA
- Experts
-
Mohamed Hamdi Kaaniche
Transformo estratégias de trading complexas em software automatizado robusto. Minha especialidade é a criação de bots de trading proprietários (Expert Advisors) e indicadores técnicos personalizados que oferecem aos traders uma vantagem competitiva nos mercados dinâmicos de forex e criptomoedas - Versão: 2.6
- Ativações: 5
Product description
GoldLadder EMA Pro — Weekly EMA gold EA with hedge and 15-lot ladder
GoldLadder EMA Pro is an Expert Advisor for XAUUSD that follows the weekly EMA trend. When a weekly candle opens above the EMA, the EA buys; when it opens below, it sells. The first position opens at Lot 1, and four pending orders are placed immediately in the same direction at the same lot and the same take-profit distance.
If the market moves against the first position by a configurable gap (default 200 pips), the EA opens a hedge in the opposite direction with an equal lot, closes the four pending orders, and waits until the end of the week (Friday, configurable server time). At that moment it opens the next lot in the ladder according to the current EMA direction and places four new pending orders.
When the total floating profit of all open trades reaches the target you set, the EA closes everything and immediately starts a new cycle at the next lot in the ladder — it does not wait for the next week. The lot ladder supports 15 levels.
Key benefits
-
Trend-following on gold. Built for XAUUSD, using the weekly EMA as the directional filter.
-
Structured entries. One market order plus four pendings at fixed TP distance — no random scaling.
-
Built-in hedge. A configurable pip gap triggers an opposite hedge with equal lot, protecting the account from deep adverse moves.
-
Weekly rhythm. End-of-week switch keeps the strategy aligned with the weekly candle, using broker server time (not the PC clock).
-
Runtime-adjustable target. Change the profit target while trades are open — the new value is used on the next tick.
-
15-lot progression. From Lot 1 to Lot 15, fully configurable.
-
Broker-agnostic. Adapts automatically to 3, 4 and 5-digit quotes.
-
Clean compile. 0 errors, 0 warnings. Tested on EURUSD H1 and XAUUSD.
How it works (short version)
-
Weekly candle opens above EMA → Buy. Below → Sell.
-
Lot 1 opens. Four pendings follow at the same TP.
-
If price moves against Lot 1 by the gap → hedge opens, pendings close, EA waits for Friday.
-
Friday EOW → next lot opens per EMA direction, four new pendings.
-
When floating total ≥ target → all trades close, EA re-arms at the next lot immediately.
Recommended use
-
Symbol: XAUUSD (majors supported with re-optimization)
-
Timeframe: H1
-
Minimum deposit: $500 (adjust to your lot settings)
-
Leverage: 1:100 or higher
-
Account type: ECN or Raw preferred (low spread)
-
VPS recommended for uninterrupted EOW timing
Risk notice
Trading gold carries significant risk. Past performance does not guarantee future results. Test on a demo account first and use risk capital only. The hedge and lot ladder can increase exposure — review settings before going live.
Inputs
| Parameter | Default | Description |
|---|---|---|
| EMA_Period | 20 | Period of the weekly EMA used as the trend filter. |
| EMA_Shift | 0 | Bar shift on the weekly chart for the EMA comparison. |
| Lot1 … Lot15 | 0.10 … 1.50 | Lot size for each ladder level. The EA advances through these after each full cycle. |
| PendingCount | 4 | Number of pending orders placed after each market entry. |
| TP_Pips | 15.0 | Take-profit distance in pips for the market order and each pending. |
| PendingStep_Pips | 15.0 | Spacing in pips between consecutive pending orders. |
| Gap_Pips | 200.0 | Adverse move (in pips) that triggers the hedge. |
| EOW_DayOfWeek | 5 | Day of week for the end-of-week trigger (5 = Friday). |
| EOW_Hour | 22 | Hour (server time) of the EOW trigger. |
| EOW_Minute | 0 | Minute of the EOW trigger. |
| TargetProfit | 50.0 | Floating profit target in account currency. When reached, all trades close. |
| TargetProfitMax | 100000.0 | Upper bound accepted for the runtime target input. |
| Magic | 20241026 | Unique identifier for this EA's orders. Change if running multiple instances. |
| SlippagePoints | 30 | Maximum allowed slippage in points on order execution. |
| ShowDashboard | true | Show or hide the on-chart dashboard. |
