Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

Metatrader 5 Indicator | Session High Low Alerts - Asia, London and New York session highs and lows with no…

Discover expert developed MetaTrader tools that can complement professional solutions.

What it does

For each enabled session the indicator tracks the highest high and lowest low between the session start and end. While the session is running the box grows with price; once it has finished, the high and low are fixed and extended to the end of that server day.

Image for Session High Low Alerts - Asia, London and New York session highs and lows with non-repainting break alerts

Experience adaptive trading with the Fluid Expert Advisor for MT4/MT5. Dynamic money management and trend detection. Click for info.

  • Three sessions: Asia, London, New York. Each can be switched off, has its own colour, and its own start/end in HH:MM . Sessions that cross midnight are supported.
  • Session hours are entered in GMT and shifted by Server time = GMT + N hours . To type the hours directly in server time, set the offset to 0.
  • Drawing style: a box over the session plus lines to the end of the day, or lines only. Optional fill and text labels. Objects are drawn only for the last N days (default 10).
  • Optional previous day and previous week high/low (server days; the week starts on Monday).

Alerts (no repainting)

  • An alert is raised when a closed bar's close is above a session high ("broken up") or below a session low ("broken down"), and only after that session has finished.
  • Only closed bars are evaluated, each bar once, so an alert never appears and then disappears.
  • One alert per level per day. History is not alerted when the indicator is attached or reloaded.
  • Channels: popup ( Alert ), push notification, sound file. Previous day / week levels are alerted only if you switch that on.

Buffers for Expert Advisors (iCustom)

Buffer Content
0 Asia high
1 Asia low
2 London high
3 London low
4 New York high
5 New York low
6 Previous day high
7 Previous day low
8 Previous week high
9 Previous week low

Session buffers (0-5) are EMPTY_VALUE while the session is running and before it. From the first bar that opens at or after the session end until the end of that server day they hold the session high / low, so reading shift 1 gives the level that is valid for the last closed bar. Buffers 6-9 hold the previous day / week extremes during the current day / week. All buffers are filled even if the corresponding drawing is switched off. The plots are DRAW_NONE , so the buffers do not draw anything on the chart; the values appear in the Data Window.

Example (EA side), reading the London high of the last closed bar:

int h = iCustom(_Symbol, PERIOD_M15, "SessionHighLow");
double v[1];
if(CopyBuffer(h, 2, 1, 1, v) == 1 && v[0] != EMPTY_VALUE)
   Print("London high: ", v[0]);

Passing only the indicator name uses the default inputs.

Inputs

  • Server time = GMT + this many hours (default 2).
  • For each session: enable, start, end (GMT), colour. Defaults: Asia 00:00-08:00, London 08:00-16:30, New York 13:30-20:00.
  • Previous day / week: show, colours.
  • Look: style (box + lines / lines), fill, labels, days to draw, line width.
  • Alerts: popup, push, sound and file name, also alert on previous day / week.

Notes

  • Timeframes above H1 are rejected with a message in the Experts tab. A bar belongs to a session when its open time is inside the session.
  • The server offset is fixed by you. If your broker changes its offset with daylight saving time, adjust the input (or the hours) when that happens; historical bars are not shifted automatically.
  • Days and weeks follow the broker server time.
  • Not financial advice; it only marks levels and reports breaks that already happened.

Testing

Checked in the Strategy Tester (EURUSD M15, September 2026, broker data) against an independent calculation from raw rates: the session levels and the previous day / week high and low matched on every bar compared, buffer values read live on each closed bar were identical to the final values (no repainting), and the session break alerts raised were exactly the ones expected from the raw data.

Complement community code with advanced automation from RobotFX.

79036

Best MetaTrader Indicators + Profitable Expert Advisors