Extracted algorithm research record
Gold Apex EA MT4
A trend-following expert advisor that uses ATR-based stop loss and trailing lock for gold trading.
Source & extraction context
Evidence label: backtest_shown (source claim, not independent verification). Recorded completeness: 80.0/100. Neither is a performance result.
Names identify source records. Inclusion is not an endorsement or a claim of authorship, ownership or reuse permission. Check the source license before reusing any implementation.
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 market & execution profile
- Recorded markets
- XAUUSD
- Recorded timeframes
- M1
- Recorded sessions
- Not specified
- Recorded regime
- trending
Recorded indicators & parameters
| Indicator | Parameters | Applied to |
|---|---|---|
| ATR | {"period": 14} | close |
| EMA | {"period": 45} | close |
| EMA | {"period": 17} | close |
| ADX | {"period": 22} | close |
Extracted strategy rules
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
- Stop loss
- 16×ATR from execution
- Take profit
- dynamic ratchet trailing lock
- Position sizing
- InpRiskPercent of account balance
Questions about this record
What entry rules are recorded for Gold Apex EA MT4?
Long: price crosses above InpEmaFast and InpAdxThreshold is met Short: price crosses below InpEmaFast and InpAdxThreshold is met These are unverified extracted rules.
Which markets and timeframes are recorded?
Markets: XAUUSD. Timeframes: M1. These are source-recorded labels, not verified execution behavior.