{
  "id": 1418,
  "rank": 1159,
  "name": "Take Profit based on current profit",
  "aka": [
    "EA Perceptron",
    "EA SwingBot reference"
  ],
  "family": "A",
  "subtype": "A4",
  "one_liner": "Closes orders when the current profit reaches a set threshold.",
  "market_regime": "any",
  "timeframes": [
    "null"
  ],
  "symbols": [
    "null"
  ],
  "sessions": [
    "null"
  ],
  "indicators": [],
  "entry_long": [
    "null"
  ],
  "entry_short": [
    "null"
  ],
  "exit_rules": [
    "If the current profit of an order with the same magic number is greater than or equal to the set ProfittoMinimo, close the order."
  ],
  "filters": [
    "null"
  ],
  "stop_loss": "null",
  "take_profit": "null",
  "position_size": "null",
  "evidence_type": "source_code",
  "completeness": 50.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/1418-take-profit-based-on-current-profit",
  "snapshot": "2026-10-31 15:46 UTC",
  "source_url": "https://www.mql5.com/en/code/47010",
  "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."
}
