# MACD CCI Trend Filter EA

Automates trading decisions using MACD crossover, CCI confirmation, and SMA trend filtering.

Canonical: https://prismaticalgos.com/compendium/algo/11336-macd-cci-trend-filter-ea
Record ID: 11336
Catalog rank: 2619 (reading order, not performance)
Snapshot: 2026-10-31 15:46 UTC
Family: Mean Reversion & Counter-Trend (B)
Source: https://github.com/LeylaKhojasteh/EA-MACD-CCI-Trend-Filter-MT4
Evidence label (unverified): backtest_shown

## 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

Build warnings: MT4_ONLY: the captured source is MQL4 / written for MetaTrader 4. It needs porting (order functions, indicator handles) before it runs on MT5.

## Recorded profile

- symbols: Not specified
- timeframes: Not specified
- sessions: Not specified
- market_regime: any

## Indicators

- MACD: {"fast_period": 12, "signal_period": 9, "slow_period": 26}; applied to: close
- CCI: {"period": 20}; applied to: close
- SMA: {"period": 50}; applied to: close

## Recorded long-entry rules

- MACD main line crosses above the signal line
- CCI > 100
- Price is above the selected SMA trend filter

## Recorded short-entry rules

- MACD main line crosses below the signal line
- CCI < -100
- Price is below the selected SMA trend filter

## Recorded exit rules

- MACD crossover generates an opposite signal

## Recorded filters

- Not specified.

## Risk controls

- Stop loss: null
- Take profit: null
- Position sizing: Configurable lot size
