Chapter 01 — What Is Market Heist
Market Heist EA is not your conventional automated trading system. It was engineered from a single conviction — that the market always moves in zones, and every zone has a breaking point. The system was built to exploit that breaking point with calculated precision.
It operates silently on your chart, watching price with precision, waiting for the exact moment the market shows its hand. It does not chase price. It does not react to noise. It waits.
What separates Market Heist EA from everything else on the market is not just the logic — it is the structure of the recovery. When price moves against the initial position, the system does not panic, it does not close at a loss. It opens the next phase of the operation.
Chapter 02 — The Logic Behind The Operation
The entry logic is built on two structural layers. The first layer reads short-term momentum exhaustion, identifying precise moments where the market has overextended and is beginning to reverse. The second layer confirms that the reversal is aligned with the dominant market direction. Only when both conditions are satisfied does the EA place an entry.
Entries fire on the open of the candle following the signal. This eliminates repaints and ensures every entry reflects confirmed, closed price data.
The Zone Recovery System
The true power of Market Heist EA lies in its Zone Recovery engine. Unlike martingale systems that blindly stack trades in the same direction, Zone Recovery operates with a calculated alternation strategy.
Here is how the operation unfolds:
| Step | Action | Direction | Lot Size |
|---|---|---|---|
| Entry | Signal detected. Trade placed on next candle open. | BUY | 0.01 |
| Level 1 | Price drops Zone Distance pips against the BUY. | SELL | 0.02 |
| Level 2 | Price rises Zone Distance pips against the SELL. | BUY | 0.04 |
| Level 3 | Price drops Zone Distance pips against the BUY. | SELL | 0.08 |
| Exit | Combined floating P&L reaches the net profit target. | ALL CLOSED | Operation complete. |
Each recovery trade opens in the opposite direction to the previous trade at a larger lot size. This means a move in either direction can eventually swing the total floating profit into positive territory. When the net profit across all open positions reaches the configured target, every position is closed simultaneously.
Zone Recovery is a powerful system but it requires sufficient account balance to sustain multiple levels.
Always configure your lot size and zone distance relative to your account size. Refer to the set files post for recommended configurations per instrument and risk profile.
Chapter 03 — Installation
- Purchase and download MarketHeistEA.ex5 from the MQL5 Market.
- Open your MetaTrader 5 terminal. In the top menu select File then Open Data Folder.
- Navigate to MQL5 / Experts and place the MarketHeistEA.ex5 file inside that folder.
- Place the Market Heist.ico file inside MQL5 / Images.
- Restart MetaTrader 5 or right-click the Experts folder in the Navigator panel and select Refresh.
- Drag Market Heist EA onto your chart. A startup message will appear. The operation has begun.
Chapter 04 — Input Parameters
Every parameter is organised into clearly labelled groups within the EA inputs panel.
General Settings
| Parameter | Default | Description |
|---|---|---|
| EA_Comment | MarketHeistEA | Comment label attached to all trades opened by this EA. |
| EA_Link | mql5.com/... | The official product page link for reference. |
| MagicNumber | 112233 | Unique identifier for this EA's trades. Change this if running multiple instances on the same account. |
| EnableAlerts | true | Enables pop-up alerts when zone recovery levels fire and when the profit target is reached. |
Lot and Zone Recovery
| Parameter | Default | Description |
|---|---|---|
| InitialLot | 0.01 | The lot size of the first trade. Automatically validated against the symbol minimum and maximum lot constraints. |
| MartingaleMultiplier | 2.0 | The lot multiplication factor applied at each zone recovery level. |
| ZoneDistance_Pips | 50 | The pip distance price must move against the last opened position before the next recovery trade fires. This is the heartbeat of the zone system. |
| MaxZoneLevels | 20 | The maximum number of zone recovery trades the EA is permitted to open. Acts as a hard safety cap. |
| NetProfit_Target | 5.0 | The combined floating profit in account currency at which all positions are closed simultaneously. This is the only exit mechanism. |
Entry Signal
| Parameter | Default | Description |
|---|---|---|
| RSI_Period | 2 | The period of the momentum oscillator used for entry detection. |
| RSI_Price | PRICE_CLOSE | The price type applied to the oscillator calculation. |
| RSI_Timeframe | PERIOD_M5 | The timeframe on which the entry signal is evaluated. Can differ from the chart timeframe. |
| RSI_OverboughtLevel | 95 | A cross below this level triggers a SELL entry on the next candle open. |
| RSI_OversoldLevel | 5 | A cross above this level triggers a BUY entry on the next candle open. |
Trend Filter
| Parameter | Default | Description |
|---|---|---|
| EMA_Period | 200 | The period of the long-term trend filter. Acts as the directional compass of the operation. |
| EMA_Price | PRICE_CLOSE | The price type used for the trend filter calculation. |
| EMA_Method | MODE_EMA | The smoothing method applied to the trend filter. |
| EMA_Timeframe | PERIOD_M5 | The timeframe on which the trend filter is evaluated. |
| RequireEMATrend | true | When enabled, BUY entries only fire above the trend filter and SELL entries only fire below it. |
Session Filter
| Parameter | Default | Description |
|---|---|---|
| UseSessionFilter | true | When enabled, new entries are only allowed during the configured session hours. Zone recovery continues outside session hours if positions are already open. |
| SessionStartHour | 7 | The server-time hour at which the session opens. |
| SessionEndHour | 18 | The server-time hour at which the session closes. |
Dashboard
| Parameter | Default | Description |
|---|---|---|
| ShowDashboard | true | Enables or disables the live HUD panel on the chart. |
| Dashboard_X | 20 | The horizontal pixel position of the dashboard from the left edge of the chart. |
| Dashboard_Y | 40 | The vertical pixel position of the dashboard from the top edge of the chart. |
| Dashboard_Scale | 1.0 | Controls the size of the entire dashboard including all text, rows, buttons, and spacing. Accepts values between 0.5 and 3.0. |
Chapter 05 — The HUD Dashboard
Market Heist EA ships with a live on-chart intelligence panel built entirely from a custom canvas rendering engine. It is not a generic MT5 dialog. Every pixel is drawn programmatically, giving it a visual identity that stands apart from any other EA on the market.
The panel updates once per second and reflects live account and position data at all times.
Status Indicators
| Status | Meaning |
|---|---|
| SCANNING | No positions open. The EA is watching the market for a valid signal. |
| SIGNAL PENDING | A signal has been detected on the last closed candle. The entry fires on the next candle open. |
| IN TRADE | One position is open. No recovery levels are active. |
| IN RECOVERY | Multiple positions are open. The zone recovery engine is active. |
| PAUSED | The EA is paused. No new entries or recovery trades will fire. |
Display Fields
| Field | Description |
|---|---|
| Floating P&L | Live combined profit and loss across all open positions including swap and commission. Green when positive, red when negative. |
| Progress Bar | Visual indicator showing how close the floating P&L is to the configured net profit target. |
| Zone Level | Current number of open positions versus the maximum zone levels configured. Colour shifts from green to yellow to red as depth increases. |
| Pips Against | Number of pips price has moved against the most recently opened position. |
| To Next Zone | Remaining pip distance before the next recovery trade fires. Turns red within 5 pips of the trigger threshold. |
| Current Lot | Lot size of the most recently opened position in the active operation. |
| Next Lot | Projected lot size of the next recovery trade should the zone distance be reached. |
| Equity / Free Margin | Live account equity and available margin displayed at the bottom of the panel. |
Interactive Buttons
PAUSE / RESUME — Suspends all new entries and zone recovery trades without closing any open positions. The EA continues monitoring floating P&L and will close all positions automatically when the profit target is reached. Press again to resume full operation.
CLOSE ALL — Immediately closes every open position managed by this EA on the current symbol.
This action is irreversible. Use with full awareness of your current floating position.
Resizing The Dashboard
The dashboard was built with a unified scale system. Every dimension, font size, row height, padding, and button responds proportionally to the Dashboard_Scale input.
| Scale Value | Result |
|---|---|
| 0.5 | Minimum size. Very compact panel tucked into the corner. |
| 0.75 | Compact view. Recommended for smaller screens. |
| 1.0 | Native size. Default rendering. |
| 1.5 | Enlarged. Comfortable for standard monitors. |
| 2.0 | Large display. Ideal for multi-screen setups. |
| 3.0 | Maximum size. |
Chapter 06 — Risk and Account Management
Market Heist EA is a zone recovery system. Zone recovery is a compounding lot strategy. As recovery levels increase, the required margin grows. Understanding this is not optional — it is essential.
Never run this EA on an account balance you cannot afford to sustain through multiple zone recovery levels.
Refer to the set files post for recommended account sizes and lot configurations per instrument and risk profile.
The EA includes a built-in margin check before every single trade. If the account does not have sufficient free margin, the EA will log the shortfall and skip the trade rather than sending an invalid order to the broker. A 60-second cooldown prevents repeated failed attempts from flooding the journal.
The symbol minimum and maximum lot size are fetched automatically at startup. If your configured initial lot falls below the symbol minimum, the EA adjusts upward and logs the correction. If it exceeds the maximum, the EA will refuse to initialise and alert you immediately.
Chapter 07 — Frequently Asked Questions
Does the EA work on any pair?
Market Heist EA is designed to work across Forex pairs, cryptocurrency pairs, and indices. Optimal performance is instrument-specific. Refer to the set files post for recommended configurations per category.
Can I run it on multiple charts simultaneously?
Yes. Ensure each instance has a unique MagicNumber to prevent the EA from interfering with trades opened by another instance.
Why does the entry fire on the next candle?
The entry signal is detected on the close of a completed candle. The trade is placed at the open of the following candle. This ensures the signal is fully confirmed and cannot be repainted by subsequent price action.
What happens if the EA is paused and the profit target is hit?
The profit target check runs on every tick regardless of the pause state. If the combined floating P&L reaches the target while paused, all positions will still be closed automatically.
Does the EA use a stop loss?
No broker-side stop loss is applied to any position. The exit mechanism is entirely profit-target driven. The zone recovery system is designed to bring all positions into collective profit.
Will the dashboard appear in the strategy tester?
The dashboard renders correctly in the MetaTrader 5 visual strategy tester. Indicators are suppressed during testing for a cleaner tester view.
The heist is always in progress. You just have to let it run.


