# Simple MACD Cross Autotrader

Detects MACD zero-line crosses and places pending orders around fractal structures.

Canonical: https://prismaticalgos.com/compendium/algo/11745-simple-macd-cross-autotrader
Record ID: 11745
Catalog rank: 1004 (reading order, not performance)
Snapshot: 2026-10-31 15:46 UTC
Family: Trend Following & Directional (A)
Source: https://github.com/danielworthy/Simple-MACD-Cross-Autotrader
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

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: H4, D1
- sessions: Not specified
- market_regime: trending|null

## Indicators

- MACD: {"fast_period": 12, "signal_period": 9, "slow_period": 26}; applied to: close

## Recorded long-entry rules

- MACD cross above zero line
- most relevant fractal before the cross

## Recorded short-entry rules

- MACD cross below zero line
- most relevant fractal before the cross

## Recorded exit rules

- Not specified.

## Recorded filters

- fractal-based pending orders

## Risk controls

- Stop loss: configurable in code
- Take profit: null
- Position sizing: null
