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 | Multi-Session Range Boxes with Spread, StopsLevel and ATR HUD | Source Code Included

Explore the latest free tools from the MQL5 community. Here's a new indicator, expert advisor, or script for MetaTrader.

Overview

Session_Liquidity_Boxes_HUD plots clean, non-repainting intraday range boxes for the Tokyo/Asia, London, and New York trading sessions directly on the price chart while exposing running session High and Low series via indicator buffers for Expert Advisor integration.

Image for Multi-Session Range Boxes with Spread, StopsLevel and ATR HUD

Key Features

  • Three Configurable Intraday Sessions: Independent enable toggles, server-time start/end hours (supporting overnight wraparound), and custom fill colors for Asia, London, and New York sessions.
  • EA-Ready Indicator Buffers: Buffer 0 ( Session High ) and Buffer 1 ( Session Low ) expose the active session boundaries to iCustom / CopyBuffer with explicit chronological indexing and EMPTY_VALUE outside active hours.
  • Instance-Isolated Chart Objects: Uses a unique per-instance object prefix so multiple indicator instances or other chart tools never collide on recalculation or removal.
  • Live Broker-Safety & Volatility HUD: Displays current symbol SYMBOL_SPREAD , SYMBOL_TRADE_STOPS_LEVEL , and ATR(14) in points so discretionary traders and algo developers can verify stop-placement clearance at a glance.

Input Parameters

  • InpShowAsia / InpAsiaStartHour / InpAsiaEndHour — Toggle and server-time window for the Tokyo/Asia session (default 00:00–08:00 ).
  • InpShowLondon / InpLondonStartHour / InpLondonEndHour — Toggle and server-time window for the London session (default 08:00–14:00 ).
  • InpShowNY / InpNYStartHour / InpNYEndHour — Toggle and server-time window for the New York session (default 14:00–21:00 ).
  • InpMaxDays — Historical lookback in calendar days (default 7 ) to keep chart rendering fast.
  • InpATRPeriod / InpShowHUD — ATR period and toggle for the top-left Spread / StopsLevel / ATR readout.

Trade the powerful Traders Dynamic Index strategy automatically with this dedicated TDI Expert Advisor. More details.

Build better strategies with RobotFX professional tools – check them out.

79456

Best MetaTrader Indicators + Profitable Expert Advisors