# DivergenceEA

A multi-timeframe Expert Advisor combining higher-timeframe trend filtering, RSI divergence detection, and EMA pullback confirmation.

Canonical: https://prismaticalgos.com/compendium/algo/11808-divergenceea
Record ID: 11808
Catalog rank: 864 (reading order, not performance)
Snapshot: 2026-10-31 15:46 UTC
Family: Mean Reversion & Counter-Trend (B)
Source: https://github.com/Shifrozy/divergance_ea_mt5
Evidence label (unverified): source_code

## 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: Not specified
- timeframes: D1, H4
- sessions: Not specified
- market_regime: any

## Indicators

- EMA: {"period": 50}; applied to: close
- EMA: {"period": 9}; applied to: close
- RSI: {}; applied to: close
- MACD: {}; applied to: close

## Recorded long-entry rules

- D1 + H4 Trend Alignment (both up)
- Price above 50 EMA on entry TF
- Price pulls back to 9 EMA
- Divergence Confirmation (hidden or regular) using RSI pivot analysis
- MACD Filter (optional) - Histogram confirms momentum direction

## Recorded short-entry rules

- D1 + H4 Trend Alignment (both down)
- Price below 50 EMA on entry TF
- Price pulls back to 9 EMA
- Divergence Confirmation (hidden or regular) using RSI pivot analysis
- MACD Filter (optional) - Histogram confirms momentum direction

## Recorded exit rules

- Not specified.

## Recorded filters

- Max spread filter
- Magic number for multi-EA setups

## Risk controls

- Stop loss: Adjustable Stop Loss
- Take profit: Adjustable Take Profit
- Position sizing: Fixed lot or risk-percentage sizing
