Overview: There are many EAs that loose consistently. Will they be profitable if the trades are simply reversed?
Use this tool to find the answer in real time on live or demo account!
MirrorHedgeEA watches the account for trades placed by another Expert Advisor (or manual trading). It copies them according to magic-number rules. It handles market positions, pending orders, SL/TP changes, partial closes, and closures. Every mirror trade is tagged with its own magic number and comment, so mirrored results are easy to separate from the originals in the History tab.
Copying happens inside a single account at a single broker. There is no cross-account or cross-server communication.
The EA can run on any chart - e.g. it will still mirror positions for XAUUSD if placed on EURUSD chart:
Features
Inverse mode (on by default):
Input parameters
| Parameter | Default | Description |
|---|---|---|
| Source magic pattern(s) | 1001 | Comma-separated magic patterns to copy |
| Magic match rule | Starts with | Starts with / Contains / Exact |
| Mirror magic suffix | 321 | Mirror magic = source magic + suffix |
| Mirror comment suffix | _mirror | Mirror comment = source comment + suffix (31-character limit) |
| Inverse direction | true | Buy↔Sell, TP↔SL |
| Lot size mode | Same as source | Same / Fixed / % of source |
| Fixed lot / Lot percent | 0.01 / 100 | Used by the matching lot mode |
| Mirror pending orders | true | Copy pending orders |
| Mirror SL/TP | true | Copy SL/TP and their changes |
| Sync partial closes | true | Same and % modes only |
| Mirror existing trades | true | Copy trades already open at EA start |
| Max slippage / Sync interval | 20 pts / 100 ms | Execution and polling settings |
| Panel settings | – | Show, position, width, font size, max rows |
Setup
Why this is useful for testing a reversed strategy
A common idea is: "This strategy loses in backtests, so the opposite must win." Inverting a backtest on paper is simply the source P/L with the sign flipped, and that is usually wrong.
Run this EA on a demo or small live account next to the original strategy. Both run against the same live ticks and the same execution, so the mirror's results include all of these effects. In the History tab you can filter the mirror's trades by their magic and evaluate the inverse on its own. The panel's source/mirror/net P/L shows the combined effect at a glance.
Because the mirror is a hedge, the source and mirror positions offset each other on the account. Net equity moves roughly by the negative of the trading costs. This makes the EA a measurement tool, not a profit strategy. If the mirror shows a real edge after costs over a meaningful sample, you can consider running the inverse on its own, in an account that doesn't include the source.
Limitations
Arixis Backtest Robustness Analyzer
A free open-source MT5 utility for analyzing historical trading performance beyond Profit Factor.
ATS Liquidity City - liquidity pools and sweeps, drawn as a neon city
Shows where stops are likely resting and which ones were just taken. Liquidity pools = confirmed swing highs and lows that price has not traded through yet, equal highs/lows (a bigger pool) and yesterday's high and low. When a bar trades beyond a pool it is marked as swept, and as "grabbed & rejected" if the same bar closes back inside. Non-repainting: a swing is used only after N closed bars on each side. The panel is a neon city drawn on a CCanvas: the price is a flying car, sell stops are towers below it, buy stops floating platforms above it, yesterday's levels golden billboards, a searchlight sweeps the sky and a ticker runs today's catch. Two buffers give the nearest active pool above and below for use in an Expert Advisor. Indicator only: it never trades.
Alpha Engine: Intrinsic-Time Coastline Trader
A port of the Olsen group's Alpha Engine: eight limit-order agents trade intrinsic-time directional changes on a hedging account. They add on overshoots and trim at a profit on reversals.
Prop Firm Risk Calculator - Position Size and Loss Limits
Calculates position size and daily / max loss limits for prop firm accounts and shows them in a panel on the chart.