EA-29115 · Hedging

CoupleHedgeEA v3.0

A multi-currency couple hedging EA that uses 3-5 currencies to form 3-30 pair groups, opening correlated hedge positions (plus/minus suites) on each group. It manages positions with configurable step progressions (statical/geometrical/exponential), multiple close-in-profit modes (side-by-side, both-sides, hybrid), and includes session control, spread filtering, and auto lot sizing.

Open the interactive view (equity curve, symbol switch)

Key facts

CategoryHedging
RiskHigh risk
Blow-up riskHigh
Rating★★☆☆☆
TypeTrading EA
TimeframesM15, H1, H4, D1
IndicatorsNone - Pure hedging based on currency correlation
AuthorCopyright 2012-2020, Nikolaos Pantzos

Backtest results (H1, about 1 year)

SymbolP&LAnnualMax DDTradesWin rateSharpeRecoveryLosing streakPer tradeStatus
EURUSD0.00%0.00%0.00%0—————Not convertible yet
GBPUSD0.00%0.00%0.00%0—————Not convertible yet
USDJPY0.00%0.00%0.00%0—————Not convertible yet
XAUUSD0.00%0.00%0.00%0—————Not convertible yet

Why this EA never traded: no entry rule survived the conversion.

Converted from MQL5 to Python and run with the same rules for every EA. Positions use MT5 lot sizes (100,000 units per FX lot, 100 oz per gold lot) with 1:100 leverage, one order at a time, and a stop-out below 10% of the starting balance. Sharpe is computed from the equity curve. Results marked as unreliable are shown for completeness only.

Blow-up risk: High

  • Opens a grid of orders at fixed price steps
  • Has no stop loss or trailing stop

High: stopped out in our backtest, or martingale/grid sizing without a stop loss. Elevated: martingale or grid sizing with a stop loss, or several positions at once without a stop loss. What the label means and what we found →

Strategy analysis

The strategy concept is based on correlation hedging between currency pairs, combining 3-5 currencies into multiple pair groups (couples), each containing two pairs. Entry conditions open positions simultaneously on both pairs in a group — if the two pairs share the same base or quote currency, one buys and one sells; otherwise both trade in the same direction, forming Plus andMinus hedging suites. Exit conditions support five profit-close modes (side-by-side, both-sides, hybrid 1, hybrid 2, and hybrid 1+2) along with configurable loss-close modes (whole side, partial side, or no loss close). Position sizing uses progressive scaling with three step progression modes (statical, geometrical, exponential) and four lot progression modes (static, geometrical, exponential, decreasing lot), adding positions at set step intervals when in loss. Money management offers auto lot sizing with a risk factor, maximum lot size limits, maximum order count limits, spread filtering, and session control (waiting after Monday open, stopping before Friday close) to manage overall risk exposure.

Strengths

  • Multi-currency hedging design leverages currency correlations to diversify directional risk
  • Flexible step and lot progression modes (statical/geometrical/exponential) adapt to different volatility environments
  • Session control (Monday open wait, Friday close stop) and spread filtering reduce low-liquidity period risks
  • Supports up to 5 currencies forming 30 hedge groups, offering rich combination flexibility
  • Dual close mechanism for both profit and loss with multiple hybrid close modes available

Weaknesses

  • Geometrical/exponential step progression causes position size and risk to escalate rapidly during sustained losses, exhibiting implicit martingale characteristics
  • Heavy use of global variables and fixed-size arrays results in poor maintainability and limited extensibility
  • Default configuration does not close in loss (Not_Close_In_Loss), potentially allowing floating losses to grow indefinitely
  • Currency pair combination logic is hardcoded and cannot dynamically adapt to different broker symbol lists
  • No stop-loss mechanism — relies entirely on hedging combinations and profit/loss targets for risk control, risking account blow-up in extreme markets

Possible improvements

  • Add hard stop-loss mechanism with maximum floating loss limit per hedge group to prevent account blow-up in extreme markets
  • Refactor hardcoded currency pair combination logic into a dynamic generation algorithm for better maintainability and extensibility
  • Implement new bar detection to avoid executing full logic on every tick, reducing CPU and server load

Risk assessment

Overall risk: High risk

  • Geometrical/exponential step progression causes exponential position growth during consecutive losses, creating implicit martingale risk
  • Default no-loss-close setting allows floating losses to grow indefinitely until margin call
  • No hard stop-loss — relies entirely on hedge pair profits for closure, which fails in extreme trending markets
  • No new bar check mechanism may lead to over-trading in high-frequency tick environments

Evaluation scores

Code quality2.0
Strategy logic3.0
Risk management2.0
Robustness2.0
Innovation3.0
Documentation2.0
Overall2.3

Parameters

ParameterDefaultDescription
TypeOfOperationNormal_OperationOperation mode: Standby/Normal/Stop after profit close/Close all immediately
CurrenciesTradeEUR/GBP/USDCurrency list for pair construction (3-8, separated by /)
NoOfGroupToSkip31,32,33,34Ring group numbers to skip (comma-separated)
SideOpenOrdersOpen_Plus_And_MinusOpen direction: Long only/Short only/Both
OpenOrdersInLossOpen_With_Manual_StepLoss add-on mode: No add/Manual step/Auto step
StepOpenNextOrders100.0Next add-on step value (amount or lots)
StepOrdersProgressGeometrical_StepStep progression type: Static/Geometric/Exponential
MinutesForNextOrder5Minimum interval between add-on orders (minutes)
MaximumGroups0Max simultaneous open ring groups (0=unlimited)
TypeCloseInProfitSide_By_SideProfit close type: Per-order/Basket
TargetCloseProfit100.0Profit close target value
DelayCloseProfit1Profit close delay (ticks)
TypeCloseInLossNot_Close_In_LossLoss close type: Full/Partial/No loss close
TargetCloseLoss1000.0Loss close target value
DelayCloseLoss1Loss close delay (ticks)
AutoLotSizefalseEnable auto lot size
RiskFactor1.0Auto lot risk factor
ManualLotSize0.01Manual lot size
LotOrdersProgressGeometrical_LotLot progression type: Static/Geometric/Exponential/Decreasing
UseFairLotSizefalseUse fair lot size per pair
MaximumLotSize0.0Maximum lot size limit (0=unlimited)
ControlSessiontrueEnable trading session control
WaitAfterOpen120Wait time after Monday open (minutes)
StopBeforeClose60Stop time before Friday close (minutes)
MaxSpread0.0Maximum acceptable spread (0=no check)
MaximumOrders0Maximum total open orders (0=unlimited)
MaxSlippage3Maximum acceptable slippage
SymbolPrefixNONESymbol name prefix
SymbolSuffixAUTOSymbol name suffix (AUTO=auto-detect)
MagicNumber0Magic number to filter orders, 0 for all

Similar Hedging EAs

Backtests are historical simulations and do not guarantee future results. Not financial advice.

Get the weekly Arena report

One email a week: ranking changes, new signals and new research. No spam; unsubscribe any time.