SweepHunter Pro
- Experts
-
Alex Amuyunzu Raymond
I’m an experienced MQL5 developer and software engineer specializing in building robust, high-performance algorithmic trading systems for MetaTrader 5. My work goes beyond standard EA development — I design intelligent, scalable solutions that combine market logic, automation, and external - Versão: 1.5
- Ativações: 5
SweepHunter Pro: Hunt the Fake Breakout. Trade the Real Move.
Most breakouts fail. Price pushes through an obvious high or low, collects the stops sitting behind it, then snaps back the other way. SweepHunter Pro is built to trade that moment. It identifies where liquidity is resting, waits for the sweep to happen, confirms the reversal on closed bars, and enters in the direction of higher timeframe bias with a stop beyond the manipulation and a minimum 1:3 reward-to-risk.
It is a rules-based engine, not an indicator wrapped in an EA, and every decision it makes is visible on your chart.
HOW IT THINKS
Every setup must pass the same chain of checks before a trade is placed:
- Higher timeframe bias. The previous completed D1 candle sets direction. A close above the prior high is bullish and a close below the prior low is bearish. A wick above the prior high that closes back inside is read as bearish, and a wick below the prior low that closes back inside is read as bullish. Inside and outside candles are neutral, and neutral means no trade. An optional weekly filter blocks trades against W1 bias, and an optional Dow-theory market profile filter checks trend versus range on a timeframe of your choice.
- A real key level. The EA builds a live map of previous day, week and month highs and lows, the Monday range, the Asian range, old swing highs and lows, and equal highs and lows. Each can be switched on or off.
- A genuine sweep. A closed bar must trade beyond the level and close back inside it. The EA also checks for the pre-manipulation liquidity that was taken and that the sweep happened inside a defined manipulation time window.
- Entry only where the open rule allows. Buys are taken only below the open of the active candle and sells only above it, within a limited number of minutes after that open.
If any required element is missing, the setup is skipped and counted, so you can see exactly why the EA did not trade.
FOUR ENTRY MODELS, EACH SWITCHABLE
- Model A, Monday Range. The Monday candle is treated as a range. When Tuesday sweeps Monday’s high or low and closes back inside, the EA trades the reversal. A Wednesday continuation option trades the retest when the Monday range was broken by closes instead. Targets are the 50% level and the opposite end of the range, or a fixed 1:3.
- Model B, Asian Range. The Asian session range is marked automatically. When the London window sweeps the Asian high or low and rejects, the EA trades back through the range.
- Model C, Order Block Trigger. The EA waits for a thick candle (body size measured against ATR) that takes an old high or low, then for a close beyond that candle’s open as the trigger. No trigger, no entry. Optional confirmations are fair value gap, break of structure and SMT divergence against a correlated symbol. Default high-probability windows are 03:00 to 05:00 and 09:00 to 11:00 New York time.
- Model D, A Quick Buck. After an hourly candle taps a key level and closes back on the correct side, the next candle is traded: buys below its open and sells above its open, in the direction of bias.
All models share one state machine: consolidation at a level, expansion through it, retracement into the entry zone, then expansion to the target. The dashboard shows which stage each model is in.
RISK CONTROL IS THE CORE, NOT AN ADD-ON
- Every order is sent with a stop loss and take profit. No martingale, no grid, no averaging down.
- Fixed percentage risk per trade, 0.5% by default, calculated from the actual stop distance and the broker’s tick value.
- Risk halves after every three consecutive losses, up to a configurable number of tiers, and resets after a win or after a set number of wins. This is the opposite of martingale: it shrinks exposure when conditions are against it.
- Minimum reward-to-risk of 1:3 is enforced against the final target and against the nearest opposing key level. If the path to target is blocked, the trade is skipped.
- The stop sits beyond the sweep extreme plus a buffer based on ATR and spread. Setups with stops that are too tight or too wide are rejected.
- Spread filters, a daily loss limit, caps on trades per day, per week and concurrent positions, an optional monthly target pause, and an optional news filter using the MQL5 economic calendar (live trading only).
- Margin is checked before every order, including a maximum share of free margin per trade and a minimum margin level after entry. Orders are also validated with the broker’s order check before being sent.
TWO EXIT MODES
- Fixed RR: a single take profit at 1:3 or higher. The stop is never moved and the whole idea plays out.
- Range Targets: a partial close at the 50% level of the range, with the remainder running to the opposite end. Moving to breakeven after the partial is optional and off by default.
TIME ENGINE
All sessions are defined in New York time and converted to your broker’s server time automatically, including daylight saving changes. You can set entry sessions, trading days, week of the month, and optional timing filters for the daily, weekly and monthly extremes. Entries only occur near the open of the new candle, not at the end of old ones.
BUILT TO BE READ, NOT GUESSED
The on-chart panel shows higher timeframe bias, active key levels, the Monday and Asian ranges, the stage of every model, the New York session and manipulation window status, trades taken, live P/L, the risk tier in use, win/loss streak, spread and ATR, and a running count of rules that blocked trades. Press D on the chart to show or hide it. The EA also draws the Monday and Asian ranges with their 50% lines, marks each sweep with an arrow, and plots entry, stop and target lines on every trade.
JOURNAL FOR SERIOUS REVIEW
Every closed trade is written to a CSV file with model, bias, key level source, reaction shape, session, entry, stop, target, exit, planned and actual RR, and maximum favourable and adverse excursion measured in R. A second file records how many times each rule blocked a trade. You see not just what happened, but what price did after entry.
COMPATIBILITY
- MetaTrader 5, hedging and netting accounts, any broker.
- Forex, gold and indices, with automatic presets for XAUUSD, US30-type indices and forex pairs. Multi-symbol operation through a symbol list.
- Logic runs on closed bars of the Entry timeframe (M15 by default), so the chart timeframe is irrelevant and there is no repainting.
- Recommended: low-spread account, VPS for continuous operation.
TESTING NOTES
Use “Every tick based on real ticks” for accuracy. Set the broker GMT offset and DST option to match your tester server. The news filter does not run in the tester because the calendar is unavailable there.
IMPORTANT
Trading leveraged products carries a high level of risk. Past results, including backtests, do not guarantee future performance. SweepHunter Pro applies strict rules, but it cannot remove market risk. Test on a demo account and size risk to what you can afford to lose.
