{
  "id": 6588,
  "rank": 866,
  "name": "MACD Sample",
  "aka": [],
  "family": "K",
  "subtype": "K1",
  "one_liner": "Trades using the MACD indicator with input parameters for trade volume, take profit, trailing stop, MACD levels, and trend period.",
  "market_regime": "any",
  "timeframes": [
    "any"
  ],
  "symbols": [
    "any"
  ],
  "sessions": [
    "any"
  ],
  "indicators": [
    {
      "name": "MACD",
      "params": {
        "fast_period": 12,
        "slow_period": 26,
        "signal_period": 9,
        "source": "close"
      },
      "applied_to": "close"
    },
    {
      "name": "EMA",
      "params": {
        "period": 26,
        "source": "close"
      },
      "applied_to": "close"
    }
  ],
  "entry_long": [
    "m_macd_current > m_macd_previous + m_macd_open_level * m_adjusted_point"
  ],
  "entry_short": [
    "m_macd_current < m_macd_previous - m_macd_open_level * m_adjusted_point"
  ],
  "exit_rules": [
    "m_macd_current < m_macd_previous - m_macd_close_level * m_adjusted_point",
    "Stop Loss is set to m_traling_stop * m_adjusted_point",
    "Take Profit is set to m_take_profit * m_adjusted_point"
  ],
  "filters": [],
  "stop_loss": "Set to m_traling_stop * m_adjusted_point",
  "take_profit": "Set to m_take_profit * m_adjusted_point",
  "position_size": "InpLots",
  "evidence_type": "source_code",
  "completeness": 50.0,
  "signal_warnings": null,
  "claim_warnings": null,
  "opacity_warnings": null,
  "build_warnings": null,
  "canonical": "https://prismaticalgos.com/compendium/algo/6588-macd-sample",
  "snapshot": "2026-10-31 15:46 UTC",
  "source_url": "https://www.mql5.com/en/code/2154",
  "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."
}
