Liquidity Sweep Rejection
- Göstergeler
- Sürüm: 1.0
Overview
Liquidity Sweep Rejection (USDJPY) is a free MetaTrader 5 indicator that detects liquidity sweeps on USDJPY and gives a BUY or SELL signal only after price has been rejected back from the swept level. This is a lightweight edition designed for a single instrument, USDJPY, with most settings fixed so it is ready to use straight away.
The idea behind the indicator is simple. Price often pushes just beyond an obvious H1 swing high or swing low, where many traders keep their stop losses, and then turns back once those orders have been filled. The indicator marks these levels automatically, waits for price to sweep one of them, and gives a signal only when an M15 candle closes back inside the range. Every signal is calculated on a closed candle, so a signal that has appeared on the chart does not repaint or disappear later.
How a signal is formed
The indicator first maps liquidity on the H1 timeframe. It looks for swing highs and swing lows using a pivot of three candles on each side, and keeps up to three active levels above and below price. These are the levels where stop orders are most likely to be resting.
A sweep happens when M15 price trades beyond one of these levels. If price moves above an H1 high, the bias switches to SELLS ONLY; if it moves below an H1 low, the bias switches to BUYS ONLY. The indicator then waits for a rejection. For a SELL, a bearish M15 candle must close back below the swept high within six candles of the sweep. When the sweep and the rejection happen in the same candle, the upper wick must make up at least 30% of that candle's range. A BUY works the same way in reverse: a low is swept and a bullish candle closes back above it.
Once a rejection is confirmed, the entry is taken at the close of the rejection candle. The stop is placed at the tip of the sweep wick plus 0.1 × ATR, and the target is calculated from the risk using a reward-to-risk ratio of 2.0 by default. Stop and target distances are shown in pips, where one USDJPY pip equals 0.01.
Two filters remove weaker setups. If price stays beyond the level for more than six candles, the move is treated as a genuine breakout and no signal is given. Signals are also skipped when the stop distance would be larger than 3 × ATR. Only one trade is tracked at a time.
What you see on the chart
Unswept H1 swing highs are drawn as dotted lines labelled HIGH, and unswept swing lows as dotted lines labelled LOW. When a level is swept and price is rejected, the line is marked as rejected and the tip of the sweep wick is labelled SWEEP. If price breaks through and stays beyond a level, the line turns grey and is marked as a BREAK, so you can see at a glance which levels failed.
Each signal is shown with a BUY ENTRY or SELL ENTRY arrow, together with a STOP box between the entry and the stop loss and a TARGET box between the entry and the take profit. Both boxes display their distance in pips. When the trade is resolved, a TARGET HIT or STOP HIT label shows the outcome.
An information panel in the top-right corner shows the current bias, the details of any active trade, the last signal, and a summary of the history on the chart: number of signals, targets hit, stops hit, win rate and net result in R. The panel also turns red if the indicator is attached to the wrong symbol or to a timeframe that is not below H1.
ettings and recommended use
Attach the indicator to a USDJPY M15 chart. If your broker uses a different symbol name, such as USDJPYmicro or USDJPY.m, enter the exact name from Market Watch in the symbol input; if you leave it empty, the indicator detects any symbol containing USDJPY. You can also set the reward-to-risk ratio (default 2.0), the transparency of the boxes, popup alerts, and push notifications to the MetaTrader 5 mobile app. Push notifications require your MetaQuotes ID to be entered under Tools → Options → Notifications. The remaining parameters, including the H1 direction timeframe, the pivot size, the 30% wick rule and the 3 × ATR stop limit, are fixed in this edition.
Treat each signal as a setup to review rather than an automatic order. Wait for the M15 candle to close, check the stop distance in pips, and size your position so that a stop-out costs no more than a small, fixed share of your account. Place the stop loss and take profit at the levels shown by the boxes, and avoid trading around major USD and JPY news such as NFP, CPI, FOMC and Bank of Japan decisions, when spreads widen and price can gap. With the default ratio of 2.0, a win rate above roughly 33% is needed to break even before spread and commission, so the history panel is a useful guide when you evaluate the indicator. We recommend testing it on a demo account or in the Strategy Tester in visual mode before using it on a live account.
Limitations and risk notice
This is a counter-trend approach: signals enter against the most recent move, so in strong trending conditions many sweeps turn into breakouts or reach the stop. The statistics in the panel are estimates based only on the data loaded on the chart. They do not include spread, commission or slippage, and when the stop and the target are both reached within the same candle, the trade is counted as a loss. Past results shown by the indicator do not guarantee future performance.
Liquidity Sweep Rejection is an indicator, not an Expert Advisor; it does not open or close trades. It is a technical analysis tool and does not constitute financial advice. Trading leveraged instruments such as forex carries a high level of risk and may not be suitable for every investor.
