Skip to content
All library documents

Session Range Boxes and Liquidity Sweep Signals

Article MQL5 code base

Summary

The indicator maps Asian, London, and New York session highs and lows, then flags a liquidity sweep when price moves beyond a completed session boundary and closes back within it. High sweeps are marked as bearish signals and low sweeps as bullish signals. Completed session levels can remain on the chart until swept, closed through, or replaced by the next session.

The document describes configurable GMT session times, broker offset handling, alerts, and options for limiting signals to the first sweep or canceling a level after a breakout close. It says signals appear only after bars close and therefore do not repaint. Expert Advisors can access high and low sweep events through separate indicator buffers. The guidance is descriptive rather than performance evidence: it gives no backtest or profitability results, and notes that chart alignment can depend on the broker’s GMT offset. It suggests H1 or lower timeframes, with M5 to M30 presented as clearest for viewing session ranges.

Key ideas

  • A sweep is identified when price crosses a completed session high or low and closes back inside the boundary.
  • High sweeps receive bearish markers, while low sweeps receive bullish markers.
  • Session levels can be extended until swept, closed through, or superseded by the next session.
  • Signals are confirmed on closed bars, and separate buffers expose high and low sweeps to Expert Advisors.
  • Broker GMT offsets and daylight saving changes can affect where session boxes appear.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.