TheMegathronScalper
- Indicatori
- Celal Engin Baka
- Versione: 2.2
- Aggiornato: 2 aprile 2026
- Attivazioni: 5
## TheMegathron Scalper — Triple-Confirmed Entry Signals for Gold
**Three independent filters. One signal. No repainting.**
TheMegathron Scalper is a professional-grade entry indicator for MetaTrader 5,
purpose-built for XAUUSD scalping and intraday trading. Three separate confirmation
layers — each targeting a different class of false signal — must agree before a
single arrow appears on your chart.
Tested on XAUUSD M1/M5 data from 2023 to 2026. Default parameters work
out of the box. No configuration required to get started.
---
### How It Works
#### Layer 1 — Volatility-Adaptive Trailing Stop
The first layer tracks momentum using a dynamic trailing stop that adjusts
automatically to current market volatility. The stop can only move in one
direction — it never retraces. A signal fires **only when price makes a
decisive cross**, confirming a genuine momentum shift rather than a
noise-driven fluctuation.
This single mechanic filters out the vast majority of whipsaw entries seen
in standard crossover-based systems.
#### Layer 2 — Trend Bias Filter
A medium-term trend line is computed bar-by-bar without any external
indicator dependency, ensuring consistent results across all brokers and
data feeds.
The rule is simple:
- **BUY signals** are only shown when price is in a bullish position relative to the trend.
- **SELL signals** are only shown when price is in a bearish position relative to the trend.
In practice this eliminates the majority of counter-trend entries that occur
during the sideways consolidation phases common in gold intraday trading.
#### Layer 3 — Multi-Timeframe Confirmation
Before displaying a signal, the indicator independently evaluates trend direction
on two configurable higher timeframes (default: M5 and M15 when trading M1).
All three timeframes must agree on direction for the signal to be shown.
When a flip occurs on the current timeframe but the higher timeframes disagree,
the signal is silently suppressed. A yellow **⚠** warning marker is placed on the
chart and a separate alert fires — useful as a "move stop to breakeven" notification
for any open position.
This layer alone eliminates entries against the dominant trend structure, the single
most common cause of avoidable losses in scalping.
---
### Features
- Volatility-adaptive trailing stop with configurable sensitivity
- Independent trend bias filter — no external indicator required
- Multi-timeframe direction confirmation (fully configurable TF pairs)
- Automatic SL and TP levels drawn at every signal bar (ATR-based, 2:1 default)
- Signal history panel: last N signals with entry, SL, TP, and time — **draggable**
- Alert system: popup, sound, push notification, email — per channel on/off
- MTF block alert: separate sound file and ⚠ chart marker on blocked signals
- Live dashboard: per-TF direction + 4-factor bias score (STRONG BUY to MIXED)
- Performance limiter: `Max Bars To Show` caps drawn objects, old ones auto-purged
- **EA compatible:** all signal data readable via `iCustom()` buffer access
(see included Buffer Integration Guide)
---
### Recommended Settings for XAUUSD
| Parameter | Value | Notes |
|----------------|-------|--------------------------------------------|
| ATR Period | 14 | Standard volatility measurement window |
| ATR Mult | 2.5 | Tested optimal for gold — do not go below 1.5 |
| LR Period | 50 | Captures medium-term directional bias |
| SL Multiplier | 1.0 | Stop = 1× ATR below/above entry |
| TP Multiplier | 2.0 | Target = 2× ATR — 2:1 risk-reward ratio |
| MTF TF1 | M5 | Primary higher-TF confirmation |
| MTF TF2 | M15 | Secondary higher-TF confirmation |
| Max Bars | 500 | Reduce to 200 on slower machines |
> During scheduled high-impact news events (FOMC, NFP, CPI) consider raising
> ATR Mult to 3.0 to accommodate the initial volatility spike.
---
### Timeframe Guide
| Timeframe | Profile |
|-----------|-------------------------------------|
| M1 | Scalping — highest frequency |
| M5 | **Recommended** — primary TF |
| M15 | Intraday swing — fewer, cleaner |
---
### EA Integration
Every signal produced by TheMegathron Scalper is available to your Expert Advisor
through standard `iCustom()` buffer calls — no additional code inside the indicator
is required. All three confirmation layers are applied internally, so the signal
buffers only contain entries that have already passed every filter.
A complete buffer index table and a ready-to-use EA integration example are included
as a separate PDF/MD file with your purchase.
---
### Important Notes
- This is an **indicator**, not an EA. It does not place or manage trades.
- Signals are generated on **bar close** — never trade the currently forming bar.
- The indicator does **not repaint**. Once a bar closes, its signal state is final.
- Optimized for XAUUSD. Other symbols may require ATR multiplier adjustment.
- Past signal performance does not guarantee future results.
---
### About TheMegathron
Independent trader and MQL5 developer. All indicators are hand-coded, personally
traded, and stress-tested before release. Source logic is original and verifiable
bar by bar.
---
*Version 1.00 | Platform: MetaTrader 5 | Symbol: XAUUSD | Tested: 2023–2026*
*Copyright © TheMegathron. All rights reserved.*
