Session Levels
- Indicatori
-
Allan Aparece Ninal
Sviluppo indicatori ed Expert Advisor per MetaTrader 5.
Come lavoro:
- Ogni indicatore viene controllato contro il repainting: i segnali vengono decisi solo su barre chiuse, e un test su ogni tick conferma che non cambiano in seguito. - Versione: 1.3
- Aggiornato: 28 novembre 2026
Session Levels is a free MetaTrader 5 indicator. It draws the Asia, London and New York sessions and the London and New York killzones. It also draws the previous day and week high and low, and today's open. A small panel shows the time where you live and the next killzone in your time. It alerts you when a closed bar breaks a level.
It places no trades. It shows levels, not entries, and alerts use closed bars only.
Standalone: everything is built in. You do not need to buy or install any other product named on this page.
Quick start
- Attach it to an M1 to H4 chart. The session boxes and levels are drawn for the last 5 days.
- Leave Broker server clock on Auto; the indicator detects your broker's time and daylight saving. Session times are in New York time. Each killzone is in New York or London time.
- Read the time panel in the lower-left corner. It takes your time zone from your computer.
- Choose which alerts you want (previous day high and low, Asia high and low, fakeouts) and the delivery: pop-up and push are on; sound and e-mail are off.
What you see on the chart
- Three session boxes (Asia, London, New York). The box edges are the session high and low. The current session grows live and its label says "forming".
- Previous day and week high and low, as horizontal lines with price labels on the current day.
- Today's open as a line.
- Killzones (new in 1.3): the London killzone runs 07:00 to 10:00 London time, and the New York killzone 07:00 to 10:00 New York time. Both are filled boxes with a label under them. The session boxes around them are outlined. An Asia killzone and a London close killzone are there to switch on.
- A 50% midline in every session and killzone box.
- The Asia high and low run on as lines after Asia closes, to the end of the trading day. London and New York can do the same, and each session's open can run on as a line.
- A time panel: your time, New York and London time, the killzone now and the next one in your time.
- Colours that follow the chart. On a dark or a light chart the boxes and lines pick a matching set. Any colour can still be set by hand.
- Fakeout marker: an arrow and the label "Fakeout" on a bar that breaks the overnight range and closes back inside.
- Alerts by pop-up, sound, push or e-mail when a closed bar breaks a level.
How the signals are built
Session times are entered in New York time. The indicator converts each bar from your broker's clock, including daylight saving, so the boxes sit on the same hours on any broker.
Alerts use closed bars only. They fire on a close above the previous day high or below the previous day low. After the Asia session they also fire on a close above the Asia high or below the Asia low. Each kind fires at most once per trading day. Nothing is sent while the history loads.
Sessions and the open work on M1 to H4. Above H4 the indicator draws only the previous day and week levels.
Killzones and your time
A killzone is a short window that many traders watch. The defaults are common ones. You can change every start and end time.
| Killzone | Default times | On by default |
|---|---|---|
| Asia | 20:00 to 00:00 New York time | no |
| London | 07:00 to 10:00 London time | yes |
| New York | 07:00 to 10:00 New York time | yes |
| London close | 15:00 to 17:00 London time | no |
How the time is worked out. The broker's clock is turned into UTC with the broker's offset. Auto reads that offset as the server time minus UTC, and it knows New York close and European server clocks. New York time then follows the US daylight-saving rules. London time follows the UK rules. Your time comes from your computer's clock, or from an offset you type in.
So the London killzone moves on the chart for about three weeks a year, when only one of the two countries is on summer time. It stays at 07:00 in London.
Killzones are drawn on M1 to H1. Box labels show the start in your time.
Fakeout marker
The indicator can mark a fakeout of the overnight range. The range is the high and low from 17:00 to 02:00 New York time (22:00 to 07:00 UK).
From 02:00 to 11:00 it watches the first bar that trades beyond one side of the range. If that bar or the next one closes back inside the range, the closing bar gets an arrow and the label "Fakeout". Above the high is bearish and below the low is bullish. Each side is marked once per day.
Marks use closed bars only and never move. The range is separate from the Asia box, which keeps its own times. The marker works on M1 to H1. An optional filter keeps only bearish fakeouts after lower daily highs and lows, and only bullish ones after higher highs and lows.
Test result: trading this fakeout toward the other side of the range was tested on all 37 RoboForex symbols, 2020 to 2026. Data from July 2023 was held out. It did not pass on any symbol, including EURUSD, GBPUSD and XAUUSD. So the marker is a chart note and an alert, not a trade signal.
Who it is for
For traders who mark session ranges and daily or weekly levels by hand and want them drawn automatically, on any symbol.
Not for you if you want buy and sell signals or an automatic trading system.
Inputs
| Input | Default |
|---|---|
| Days to draw | 5 – how many days get boxes and lines. |
| Show Asia / London / New York | on – draw each session, with its own colour. |
| Session start and end (HH:MM, New York time) | Asia 19:00 to 04:00, London 03:00 to 12:00, New York 08:00 to 17:00. |
| Label each box | on – box text. |
| Fill the session boxes | off – sessions are outlined and the killzones filled. Where two filled boxes overlap, the chart mixes their colours, so only one kind is filled. On turns it around. |
| Previous day, previous week, today's open | on – show each level. |
| Price labels, Line width | on, 1 – level labels and line width. |
| Broker server clock | Auto – Auto, New York close, EET, or fixed offset. |
| Broker offset from UTC, hours | 0 – used only with the fixed offset. |
| Alert kinds | all on – previous day high, previous day low, Asia high, Asia low. |
| Mark fakeouts of the overnight range, Draw the marker | on – the arrow and the label "Fakeout". |
| Range start and end, Fakeout window start and end (HH:MM, New York time) | Range 17:00 to 02:00, window 02:00 to 11:00. |
| Bars to close back inside | 2 – the break bar or the next one. 1 means the break bar only; the maximum is 5. |
| Daily-structure filter | off – when on, only fakeouts that agree with the daily swing highs and lows. |
| Alert on a fakeout | on. |
| Pop-up | on; Sound – off (file alert.wav); Push – on; E-mail – off. |
| Debug log for bug reports | false – Prints lines that start with "DBG" in the Experts tab, for bug reports. |
| Draw killzones | on – all killzones on M1 to H1. |
| Asia, London, New York, London close killzone | London and New York on. Each has a start and end (HH:MM), the city its times are in, and a colour. |
| 50% midline | on – in each session and killzone box. |
| Session open lines | off – each session's open, to the end of the trading day. |
| Asia / London / New York high and low run on | Asia on, London and New York off. |
| Time panel, Panel corner | on, lower left. |
| Your time zone from this computer | on. When off, your offset from UTC in hours (5.5 for India, for example). |
| Box labels show the start in your time | on. |
| Colours | None – follow the chart. Pick a colour to set it by hand. |
Alerts and Expert Advisor use
An alert reads, for example, "Session Levels EURUSD M15: closed above previous day high 1.0850". For push alerts, set your MetaQuotes ID under Tools, Options, Notifications.
You can read twelve buffers with iCustom. They hold the previous day high and low, the previous week high and low, and the Asia high and low so far. The seventh is a signal value: +1 for a close above the previous day high, -1 below the low, +2 above the Asia high, -2 below the Asia low. The eighth is the fakeout marker: -1 bearish, +1 bullish, +2 both on one bar, empty otherwise. Buffers nine to twelve are the killzone of the bar (1 Asia, 2 London, 3 New York, 4 London close), its high and low so far, and its open.
How it was checked
- Code check, values: the levels, Asia range and signals were compared with an independent Python calculation. The test used EURUSD, GBPJPY, XAUUSD and BTCUSD at M15, H1 and H4 (24 files, all matched).
- Code check, repaint: an every-tick run on EURUSD H1 used 10.4 million ticks, 4,644 closed bars and 345 signals. 0 signals changed after their bar closed, and 0 appeared on the live bar.
- Code check, fakeout marker: the fakeout marks and the seven older buffers matched an independent Python calculation. It covered EURUSD, GBPUSD and XAUUSD at M15, H1 and H4 in four settings (36 files, all matched). The default setting gave 7,428 marks on H1 and 108 on M15. An every-tick run on EURUSD M15 (10.4 million ticks, 18,573 closed bars, 543 signal and fakeout values) changed 0 values after the bar closed.
- Code check, killzones (1.3): the four killzone buffers matched an independent Python calculation. It covered EURUSD, GBPUSD, XAUUSD and BTCUSD at M15, H1 and H4, with the default killzones and with all four on (24 files, 132,345 killzones, all matched). That includes 10,836 killzones in the 144 weeks since 2010 when only the US or only the UK was on summer time. An every-tick run on EURUSD H1 (10.4 million ticks) changed 0 killzone values after a bar closed.
- Strategy Tester runs on EURUSD, XAUUSD and GBPUSD finished with no errors. The chart screenshots are real MetaTrader 5 charts.
Questions
- Does it repaint? The box of the session in progress grows as price moves. Alerts and signal values use closed bars and do not change.
- Is a fakeout a trade signal? No. The test found no edge on any of 37 symbols, so treat it as a marker and an alert.
- Why does the London killzone shift by an hour on the chart in March and in October or November? The US and the UK change their clocks on different dates. The killzone stays at 07:00 London time.
- Do I need to set my broker's time zone? No, Auto detects it. In the Strategy Tester Auto assumes a New York close server, so choose the clock yourself there.
- Does it work in the Strategy Tester? Yes, in visual mode, on any symbol. Without visual mode it skips the drawing and runs fast.
- Does it work on gold and crypto? Yes, on any symbol the broker offers.
- Will I get alerts on my phone? Yes, push is on by default. Set your MetaQuotes ID.
Works well with
These are workflow suggestions. I have not found that any pair gives better trading results. You do not need any of them.
| Product | How to use them together | Why |
|---|---|---|
| SMC Zones | Add it to the same chart. | It draws order blocks, fair value gaps and structure breaks as context. It describes past bars. |
| Prior Day Breakout | Run the EA on the same symbol. | The EA trades a close beyond the previous-day high or low, the levels this indicator draws. The indicator uses New York time and the EA uses the server day, so they match on a New York-close broker. |
| Risk Position Tool | Pick the trade from the chart, then drag the entry and stop lines. The tool gives the lot for your risk. | It separates where you enter from how much you risk. The tool places no orders. |
| Squeeze Momentum Signals | Add it to the same chart. | It shows when volatility is compressed and when it releases, with a momentum histogram. |
| WaveTrend Signals | Add it to the same chart. | It marks WT1 and WT2 crosses in the overbought and oversold zones, another view of momentum. |
Related products
- Session Levels MT4: the same indicator for MetaTrader 4.
- SMC Zones — order blocks, fair value gaps and BOS / CHoCH lines on the same chart.
- Prior Day Breakout — an Expert Advisor that trades the break of the previous-day high or low. It computes the levels itself.
- All my products on MQL5
Custom work
Want an EA that trades this indicator, a custom version of it, or a new indicator or EA of your own? Order it through MQL5 Freelance and choose me as the developer: order through Freelance. Send your requirements, rules and the flow or algorithm you want. The whole order, payment and delivery stay inside MQL5 Freelance.
Found a problem?
- In the inputs, set "Debug log for bug reports" to true.
- Repeat what went wrong.
- Open the Experts tab in the Toolbox. Copy the lines that start with "DBG" and paste them in a comment on this page, with the symbol and timeframe.
- Set the debug log back to false.
The debug lines never contain your account number, name, server, balance or equity.
If it helps your trading, a short review on this page helps other traders find it.
Questions: use the comments on this page or send me a message on MQL5.
The defaults are a starting point. An indicator does not predict price, and trading carries a risk of loss.
