# MegaTrader

Automated trading of DIVERG divergence signals with a sideways-market filter, deposit-based risk management, ATR-based SL/TP and a trailing stop.

Canonical: https://prismaticalgos.com/compendium/algo/7320-megatrader
Record ID: 7320
Catalog rank: 699 (reading order, not performance)
Snapshot: 2026-10-31 15:46 UTC
Family: Mean Reversion & Counter-Trend (B)
Source: https://www.mql5.com/en/market/product/191632
Evidence label (unverified): forward_results

## Scope and limitations

These are machine-extracted research records, not verified trading systems. Catalog rank measures specification detail and claimed evidence, not profitability. The catalog extraction pipeline did not independently backtest these records. Its separate selected testing ledger does not validate the wider corpus. Rules, labels and parameters can be incomplete or wrong; consult the original source and its reuse terms.

No endorsement, ownership claim or source-code reuse permission is implied.

## Extraction warnings

No automated warnings recorded; this is not validation.

## Recorded profile

- symbols: EURUSD
- timeframes: H1
- sessions: Not specified
- market_regime: sideways

## Indicators

- EMA: {"period": 150}; applied to: close
- ADX: {"period": 14}; applied to: close
- RSI: {"period": 9}; applied to: close
- Stochastic: {"period": 9}; applied to: close
- Pin bar: {}; applied to: candle
- Engulfing: {}; applied to: candle
- PPR: {}; applied to: candle

## Recorded long-entry rules

- RSI(9) and Stochastic divergence
- Pin bar, engulfing, PPR
- Increased volume

## Recorded short-entry rules

- Not specified.

## Recorded exit rules

- First target (1.0 ATR) reached, SL moves to breakeven (+5 points)
- Trailing stop after +0.5 ATR profit

## Recorded filters

- EMA slope filter
- ADX filter
- Max spread filter
- Position limit filter

## Risk controls

- Stop loss: low/high ± max(10 points, ATR(14) × InpSLATRMult)
- Take profit: entry ± 2.0 × ATR(14)
- Position sizing: Lot size is calculated so that the SL loss equals a set % of the account balance
