{
  "id": 3339,
  "rank": 2839,
  "name": "EMA+PSAR+MACD",
  "aka": [
    "EMA+PSAR+MACD Bot"
  ],
  "family": "A",
  "subtype": "A6",
  "one_liner": "A trading bot using MACD, PSAR, and EMA indicators for entering long and short positions.",
  "market_regime": "trending|volatile",
  "timeframes": [
    "M15",
    "H1",
    "H4",
    "D1"
  ],
  "symbols": [
    "EURUSD",
    "GBPUSD",
    "USDJPY"
  ],
  "sessions": [
    "24/7"
  ],
  "indicators": [
    {
      "name": "MACD",
      "params": {
        "fast_period": 12,
        "slow_period": 26,
        "signal_period": 9
      },
      "applied_to": "close"
    },
    {
      "name": "PSAR",
      "params": {
        "acceleration": 0.02,
        "maximum": 0.02,
        "step": 0.2
      },
      "applied_to": "close"
    },
    {
      "name": "EMA",
      "params": {
        "period": 9
      },
      "applied_to": "close"
    },
    {
      "name": "EMA",
      "params": {
        "period": 26
      },
      "applied_to": "close"
    }
  ],
  "entry_long": [
    "MyMACD crosses over MySignalLine",
    "LongSAR is true",
    "EMA9 crosses over EMA26",
    "Not on market"
  ],
  "entry_short": [
    "MyMACD crosses under MySignalLine",
    "ShortSAR is true",
    "EMA9 crosses under EMA26",
    "Not on market"
  ],
  "exit_rules": [
    "Trailing stop on long position",
    "Trailing stop on short position"
  ],
  "filters": [
    "none"
  ],
  "stop_loss": "Trailing stop based on EMA26",
  "take_profit": "Double the stop loss",
  "position_size": "1 contract",
  "evidence_type": "source_code",
  "completeness": 80.0,
  "signal_warnings": null,
  "claim_warnings": null,
  "opacity_warnings": null,
  "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."
  ],
  "canonical": "https://prismaticalgos.com/compendium/algo/3339-ema-psar-macd",
  "snapshot": "2026-10-31 15:46 UTC",
  "source_url": "https://www.prorealcode.com/topic/pls-code-emapsarmacd/",
  "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."
}
