# 200 EMA & MACD Indicator

Generates buy and sell signals based on MACD crossovers and 200 EMA levels.

Canonical: https://prismaticalgos.com/compendium/algo/2265-200-ema-macd-indicator
Record ID: 2265
Catalog rank: 2335 (reading order, not performance)
Snapshot: 2026-10-31 15:46 UTC
Family: Trend Following & Directional (A)
Source: https://www.prorealcode.com/topic/200-ema-macd-indicator/
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: any
- timeframes: M15, H1, D1
- sessions: any
- market_regime: any

## Indicators

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

## Recorded long-entry rules

- MyMACD Crosses Over MySLine AND MyMACD < 0 AND MySLine < 0
- Close > EMA200

## Recorded short-entry rules

- MyMACD Crosses Under MySLine AND MyMACD > 0 AND MySLine > 0
- Close < EMA200

## Recorded exit rules

- if long and (low < NearestLevel or high > TP) then
- if short and (high > NearestLevel or low < TP) then

## Recorded filters

- Not specified.

## Risk controls

- Stop loss: based on the most recent swing low and/or the 200 period Exponential Moving Average whichever is nearest the price when the trade is taken
- Take profit: based on either Option 1 an adjustable Risk/Reward ratio (Trailing Stop loss to be at 0) or Option 2 an adjustable Trailing Stop loss percentage (risk /reward ratio to be at 0)
- Position sizing: Not specified
