# Gold Apex EA MT4

A trend-following expert advisor that uses ATR-based stop loss and trailing lock for gold trading.

Canonical: https://prismaticalgos.com/compendium/algo/7949-gold-apex-ea-mt4
Record ID: 7949
Catalog rank: 577 (reading order, not performance)
Snapshot: 2026-10-31 15:46 UTC
Family: Trend Following & Directional (A)
Source: https://www.mql5.com/en/market/product/192995
Evidence label (unverified): backtest_shown

## 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

Claim warnings: IMPLAUSIBLE PROFIT FACTOR: claimed 11.63. Over any real sample this is far outside what retail FX sustains.; VERY THIN SAMPLE: 29 trades. Performance figures over so few trades are indistinguishable from luck.
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.

## Recorded profile

- symbols: XAUUSD
- timeframes: M1
- sessions: Not specified
- market_regime: trending

## Indicators

- ATR: {"period": 14}; applied to: close
- EMA: {"period": 45}; applied to: close
- EMA: {"period": 17}; applied to: close
- ADX: {"period": 22}; applied to: close

## Recorded long-entry rules

- price crosses above InpEmaFast and InpAdxThreshold is met

## Recorded short-entry rules

- price crosses below InpEmaFast and InpAdxThreshold is met

## Recorded exit rules

- trailing lock activated once trade achieves >= 8×ATR in profit

## Recorded filters

- spread exceeds ATR × 3
- broker spread exceeds 35 points
- news filter

## Risk controls

- Stop loss: 16×ATR from execution
- Take profit: dynamic ratchet trailing lock
- Position sizing: InpRiskPercent of account balance
