Extracted algorithm research record
Moving Average Pullback Trend Follower MT4
Trend-following EA that enters on pullbacks to a moving average, using fully closed bars and trailing stops.
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
- HIGH WIN RATE: claimed 87.9%. Attainable, but nearly always by banking many small wins against rare large losses - check the payoff ratio and the worst single trade before trusting it.
- HIGH PROFIT FACTOR: claimed 4.8. Treat as an in-sample or curve-fitted figure until reproduced out of sample.
- THIN SAMPLE: 33 trades - below the ~100 needed before a win rate or profit factor carries much information.
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 timeframes
- H4
- Recorded sessions
- Skip entries on bars that close at NY 4:00 and 20:00
- Recorded regime
- trending
Recorded indicators & parameters
| Indicator | Parameters | Applied to |
|---|---|---|
| Moving Average | {"period": 200} | close |
Extracted strategy rules
Recorded long-entry rules
- MA on the most recently closed bar is rising over a configurable lookback period
- That closed bar's body stays above the MA and its low touched the MA
- Entry at market immediately after the bar closes
Recorded short-entry rules
- Mirror image of the long entry conditions
Recorded exit rules
- Trailing stop. Initial stop loss (StopPips) is set on every entry. Once floating profit reaches TriggerPips, the stop trails the price at a distance of TrailPips and only moves in the favorable direction. There is no fixed take-profit.
Recorded filters
- Session filter skips entries on bars that close at NY 4:00 and 20:00
- Gap guard (MaxGapPips) avoids unfavorable entries after large price gaps
- Stop loss
- Initial stop loss (StopPips) is set on every entry
- Take profit
- No fixed take-profit, trailing stop only
- Position sizing
- Lot size is automatically normalized to your broker's min/max lot and lot step
Questions about this record
What entry rules are recorded for Moving Average Pullback Trend Follower MT4?
Long: MA on the most recently closed bar is rising over a configurable lookback period That closed bar's body stays above the MA and its low touched the MA Entry at market immediately after the bar closes Short: Mirror image of the long entry conditions These are unverified extracted rules.
Which markets and timeframes are recorded?
Markets: USDJPY, EURJPY. Timeframes: H4. These are source-recorded labels, not verified execution behavior.