MPGoldScalp
- Utilities
- Version: 1.40
- Activations: 5
GOLD SCALPING — PROFESSIONAL ANALYSIS SYSTEM
Gold does not forgive chaos. Analyze systematically.
Most indicators show only part of the market picture. MPGoldScalp combines structure, momentum, trend, demand/supply zones and key levels in one analytical tool for GOLD / XAUUSD scalping. It is not another BUY / SELL arrow indicator; the optional trade module is disabled by default.
Three timeframes, one system
- M15 — structure and the main zones
- M5 — momentum and potential entries
- M30 — higher-timeframe context and confirmation
Inside
- automatic demand and supply zones
- TREND and COUNTER scenarios
- Entry / SL / TP1 / TP2 calculation
- H1 key levels, pivots, multi-day extremes
- news filter (USD / XAU)
- scenario lock: no signal flicker
- panel with direction, strength and levels
- optional trade module
Not a universal indicator — a specialized tool for gold. Build a system, analyse structure, control risk.
The program does not guarantee profit and is not a trading recommendation. All levels are reference points.
MPGoldScalp_EN — Manual1. Requirements
MetaTrader 5 build 3000+ (tested on 6230). Gold symbol (GOLD, XAUUSD). M15 chart. History: about 300 bars of M15 / M5 / M30 / H1.
2. Installation
- Copy into MQL5\ :
- Experts\MPGoldScalp_EN.mq5
- Include\MTA_EN\ (8 .mqh files)
- MetaEditor (F4) -> open the .mq5 -> F7. Expected: 0 errors, 0 warnings.
- Navigator > Expert Advisors > MPGoldScalp_EN > drag onto a gold M15 chart.
- Allow algo trading only if you need the trade module.
Compiled-only option: copy Experts\MPGoldScalp_EN.ex5 ; include files are not needed to run.
3. Inputs (11 groups, 47 parameters)
| Group | Defaults and purpose |
|---|---|
| Gold profile: M15 | SMA 20/50, RSI 14, swing 12, ATR 14 — structure |
| Gold: M5 | 120 bars, SMA 20, RSI 7 — entry impulse |
| Gold: M30 | 120 bars, SMA 20, RSI 14, zone depth 90 — context |
| Layer weights | 0.45 / 0.25 / 0.30, sum must be > 0 |
| Scenarios | show counter-trend scenario |
| News filter | on, 30 min before / after USD-XAU events |
| Scalp targets | RR1 1.0, RR2 1.5, max spread 40 pips, session 07-20 GMT |
| H1 levels | pivot 3, depth 240, 3 levels per side, 5 days |
| Scenario lock | hold 30 min, check every 5 s |
| Appearance | panel, zones, plan, arrow, font 9, zone width 140/12 |
| Trading | allow = false, magic 20261105, deviation 30, lot 0.01, risk 1%, TP1, GTC, stop offset 0.10 ATR, confirm |
4. Panel
- direction and score 0-100; arrows show agreement of M15 / M5 / M30
- demand (green) and supply (red) zones, ENTRY / SL / TP1 / TP2 lines
- warnings: wide spread, session closed, news window, not enough history
The score is recalculated only on a closed M15 bar.
5. Scenario lock
The profile is calculated once and frozen: zones, plan and panel stay until the entry is reached and TP1 or the stop hits, or InpHoldMin minutes pass. State is checked every InpRefreshSec seconds.
6. Trade module
Check order: permissions -> symbol trade mode -> news window -> plan (entry, SL, TP) -> volume and step -> broker stop level -> free margin -> confirmation -> OrderSend.
- no stop loss in the plan — no order is sent
- volume and prices are normalised by symbol properties
- default InpAllowTrading = false : the module only prepares the order
Real account: every order carries risk. Test on a demo account first.
7. Troubleshooting
| Symptom | Fix |
|---|---|
| cannot open MTAGoldChart.mqh | Include\MTA_EN not copied (8 files) |
| "not enough history" | wait 1-2 min, scroll the chart back |
| empty panel | attach to a gold symbol on M15, wait for a bar close |
| trading disabled | InpAllowTrading , AutoTrading button, account permissions |
| no plan BUY / SELL | no valid entry/stop for that side yet |
| SL closer than stops level | broker minimum stop distance |
