Liquidity Sweep Levels
- Indicatori
-
Muhammad Muqeem Korejo
Hi, I'm Muhammad Muqeem Korejo, an MQL4/MQL5 developer from Pakistan with 1.5 years of trading experience.
I build and fix trading tools for MetaTrader 4 and MetaTrader 5:
• Expert Advisors (EAs) built from your strategy rules
• Custom indicators, alerts and on-chart panels - Versione: 1.0
Many traders place their stop orders just above an old high or just below an old low. Liquidity Sweep Levels draws these price levels on the chart. It also shows when a candle moves through one of them and then closes back on the other side. Traders call this a liquidity sweep.
Levels
The indicator draws the high and low of the previous day, the high and low of the previous week, and the high and low of the Asian, London and New York sessions. It also marks equal highs and equal lows: two swing points at almost the same price, with no trading beyond them in between. Each type of level can be switched off in the settings.
A new day, week or session replaces the older level of the same type. Equal levels stay active for the number of days you choose.
How a sweep is found
A sweep of a high is a candle whose high goes above the level and whose close is back below it. A sweep of a low works the same way in the other direction. If the candle closes beyond the level, the level is marked as broken and no signal is given.
The check is made only when the candle has closed. The arrow is placed on that candle and is not moved or removed later, so the signals you see on history are the same signals you would have seen live.
Time zones
Session times can be entered in New York, London, universal or broker time. Summer time is taken into account, so the sessions stay at the same local hours all year. The time zone of the broker is found automatically, or you can enter it yourself. The small panel on the chart shows which time zone is in use.
On the chart
Active levels are solid lines. Swept levels stay on the chart as dotted lines for the number of days you choose. Levels at almost the same price share one label. The panel shows the next level above and below the price with its distance, and the last sweep. The indicator removes only its own objects, so your own drawings are not touched.
Alerts
When a candle closes with a sweep, the indicator can send a pop-up, a sound, a push notification or an e-mail, with one alert per candle at most. Alerts for equal highs and lows can be switched on separately, because they happen more often.
An Expert Advisor can also read the sweeps, the swept level prices and the level types from the indicator buffers.
Settings
- Levels: previous day, previous week, sessions, equal highs and lows.
- Sessions: the time zone of the session times and the times of the three sessions.
- Broker time zone: automatic or manual.
- Equal highs and lows: swing size, price tolerance and how far back to look.
- Sweeps: minimum wick beyond the level and how long an equal level stays active.
- Display: days of levels on the chart, swept levels, names, panel, colours and the number of candles to calculate.
- Alerts: pop-up, sound, push notification, e-mail and alerts for equal levels.
Good to know
Session levels need a chart from one minute to one hour. Daily levels need a chart below the daily chart, and weekly levels a chart below the weekly chart. In the Strategy Tester the broker time zone cannot be found automatically, so please set it by hand if your broker does not use New York time plus 7 hours.
The indicator does not trade and does not predict price. It marks levels and shows what price did at them.
