# Simple MACD Strategy

Enters long when both MACD line and histogram are positive, exits on histogram negative or stop loss hit.

Canonical: https://prismaticalgos.com/compendium/algo/3473-simple-macd-strategy
Record ID: 3473
Catalog rank: 1694 (reading order, not performance)
Snapshot: 2026-10-31 15:46 UTC
Family: Unclassified (?)
Source: https://www.prorealcode.com/topic/sistema-muy-sencillo-de-macd/
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: Not specified
- sessions: Not specified
- market_regime: any

## Indicators

- MACD: {"fast_period": 10, "signal_period": 7, "slow_period": 20}; applied to: close

## Recorded long-entry rules

- Mimacd > 0 and MiHisto > 0

## Recorded short-entry rules

- Not specified.

## Recorded exit rules

- MiHisto crosses under 0
- close <= stopPrice

## Recorded filters

- Not specified.

## Risk controls

- Stop loss: 1% below the low of the bar when stoploss is active
- Take profit: null
- Position sizing: contratos = capital/close
