Home > Blog > MEGAMAX EA Loss-Avoidance Filters: A Complete Guide | 5 Defensive Layers Derived from 10-Year Backtest Loss Pattern Analysis

MEGAMAXLoss AvoidanceRisk Management10-Year BacktestStrategy Design

MEGAMAX EA Loss-Avoidance Filters: A Complete Guide | 5 Defensive Layers Derived from 10-Year Backtest Loss Pattern Analysis

Published: 2026-05-26Read time: about 3 min
This article reflects information as of its publish date. EA performance figures (PF, DD, annual return) change with live trading and re-validation — check the latest on the EA pages. See the latest EA results

MEGAMAX EA Loss-Avoidance Filters: A Complete Guide

Correction Notice (2026-05-27): The 94.3% win rate / 0.25% minimum MaxDD figures cited in this article originated from a phase2_streak backtest that was over-optimized. The verified megagrid 10-year backtest (including spread and slippage) shows 62.4% win rate / MaxDD 10.0% (GBPUSD). The filter design explanation itself remains valid for v3.4, but please substitute the corrected absolute figures throughout.

Hi, I'm the operator of fxea365.com. MEGAMAX EA v3.4 achieves a 62.4% win rate and a minimum MaxDD of 10.0% (GBPUSD) — not because of an aggressive entry strategy alone, but because of five filters that systematically eliminate known losing trade patterns.

In this article, I'll share the analysis of common patterns found in losing trades during a 10-year Dukascopy backtest, along with the five filters built into the EA to counter each pattern.


The Premise: What the Raw Signal Looks Like

Running the raw signal (no filters) against 10 years of backtest data produces:

  • Win rate: approximately 16.6% (TP1 reached)
  • The remaining 83.4% hit SL — a flood of losses

That's a PF below 1.0 — a broken strategy by definition. MEGAMAX layers 3 filter levels + 2 design-level layers on top of this to drive the win rate up to 62.4%.


Filter 1: Time-of-Day Filter (Avoiding High-Loss Hours)

Three sub-layers block the "high-loss hours" identified over 10 years of backtesting:

SettingParameterEffect
Wait until Asia session endsAsiaEndHour=3Confirms the Asia session range before acting
Restrict trading windowTradeStartHour=10 / TradeEndHour=22Entry only during 10:00–22:00 (London + NY)
Exclude lunch hoursExcludeHours="11,12,13"Eliminates the London lunch period entirely (reduced liquidity → high false breakout rate)

Evidence: In the 10-year backtest, the 11:00–13:00 win rate was 30% below all other hours. Excluding this window improved PF by approximately 1.4×.


Filter 2: Volatility Filter (Avoiding Low-Volatility Conditions)

MinATRRatio = 0.7
→ Current ATR < 20-bar average ATR × 0.7 = low-volatility signal → skip entry

Evidence: Breakouts in low-volatility environments produce a disproportionate number of false moves. In the 10-year backtest, win rates during low-volatility entries dropped below 30%. Requiring at least 0.7× average ATR improved the win rate by roughly 20%.


Filter 3: Trend Alignment Filter (Preventing Counter-Trend Entries)

TrendLookback = 12 (look back 12 bars)
TrendMinAlign = 2.0 (trend alignment score ≥ 2.0 required)

When a breakout direction does not align with the trend over the prior 12 bars, the 10-year backtest showed a high probability of a "break-and-immediately-reverse" false trend.

Trend alignment score = (close_now - close_back) / atr × direction

A score below 2.0 = weak trend = skip entry.

Impact: This single filter approximately doubled PF — it is the core mechanism of MEGAMAX.


Filter 4: Spread Filter (Avoiding High-Spread Conditions)

MaxSpreadPoints = 30
→ Spread ≥ 30 points = skip entry

Evidence: Entering during abnormal spreads — around major news releases, immediately after weekend opens, or during server disruptions — means starting a trade with significant unrealized losses from the outset. The 30-point ceiling blocks these situations.


Filter 5: Win-Streak Scaling = Loss Suppression (Added in v2.2)

UseWinStreakScale = true
WinStreakMult = 0.5 (lot increases +50% per consecutive win)
MaxStreakMult = 2.5 (capped at 2.5× lot size)

This is an Anti-Martingale approach: press harder when winning, stay conservative when losing. During a losing streak, the standard lot size limits downside; during a winning streak, larger lots maximize gains.

Impact: This was the final piece that pushed PF from 75 (v2.1) to 119 (v2.2) — a further +60% improvement.


Combined Effect of All 5 Filters

StageWin RatePF
Raw signal (no filters)16.6%< 1 (unprofitable)
+ Time filter40%1.2
+ Volatility filter55%2.5
+ Trend alignment80%30
+ Spread exclusion88%60
+ Win-streak scaling94.3%119.57

In other words, the combined effect of these 5 filters transforms the raw signal into a strategy with 7× the win rate and 100× the PF.


EA Behavior After a Loss Occurs (Risk Management in v2.4+ / Early Cut in v3.4)

Even so, losses do occur. MEGAMAX v3.4 includes multiple layers to limit damage after a loss:

  1. Two-stage exit (SL + TP1 + TP2):

    • Lot is split 50/50
    • TP1 (ATR × 1.5) hit = close half the position → move SL of the remaining half to breakeven
    • TP2 (ATR × 10) targets large profits on the remainder
  2. Friday Close:

    • All positions closed at 22:00 on Fridays → eliminates weekend gap risk
  3. Equity Stop:

    • If floating loss reaches 30% of account balance, all positions are automatically closed → protection against black swan events

Summary: Balancing Offense and Defense

MEGAMAX EA is not a "high-return strategy" in the typical sense. It is a strategy that achieves high returns as a byproduct of systematically eliminating losing trade patterns.

By meticulously analyzing every loss from 10 years of backtest data and implementing 5 filter layers plus 3 risk management layers to address each pattern, the result is a 62.4% win rate / minimum MaxDD 10.0% / maximum PF 119.57.

Behind the impressive profit figures lies the unglamorous discipline of loss avoidance, built up one filter at a time.

MEGAMAX EA Detail Page / Live Performance Dashboard

5-Day Email Course (Free)

Get one email a day covering the essentials of FX automated trading, how to read backtests correctly, and tips for choosing a broker.

* Privacy strictly protected. You can unsubscribe at any time.

Comments & questions