Watch how to download trading robots for free
Find us on Telegram!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Indicators

PantosAlgo Session Boxes (Asia / London / New York) - indicator for MetaTrader 5

Panteleimon Prantsidis
Panteleimon Prantsidis
  • Trader & AI-assisted EA / Indicator Developer at  PantosAlgo
  • Greece
  • 4
Trader for 7+ years (gold & forex) who builds trading tools with the help of AI.
Views:
25
Published:
MQL5 Freelance Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

Description

PantosAlgo Session Boxes draws the high/low range of the three main trading sessions (Asia, London and New York) directly on the chart. Each session is shown as a colored rectangle from the session open to the session close, with the session name above it.

The idea is simple: most intraday price action is built around session ranges. The Asian session often forms a tight range, London frequently breaks it, and New York either continues the move or reverses it. Having the boxes on the chart lets you see this structure immediately, without drawing anything by hand.

PantosAlgo Session Boxes on XAUUSD H1

How to read the boxes

  • Box top / bottom - the highest high and lowest low of the session.
  • Asia range breakout - a candle closing outside the Asia box during London can signal the direction of the day.
  • Liquidity sweeps - price briefly taking out a previous session high or low and returning inside the box.
  • Retests - previous session highs and lows often act as support and resistance later in the day.
  • Overlap - the London / New York overlap is usually the most volatile part of the day.

Input parameters

  • InpDaysBack - number of days to draw (default 10).
  • InpAsiaStart / InpAsiaEnd - Asia session time, broker server time, format HH:MM (default 00:00 - 08:00).
  • InpLondonStart / InpLondonEnd - London session time (default 08:00 - 16:00).
  • InpNYStart / InpNYEnd - New York session time (default 13:00 - 21:00).
  • InpAsiaColor / InpLondonColor / InpNYColor - box color of each session.
  • InpFill - draw filled boxes (true) or outlines only (false).
  • InpShowLabels - show the session name above each box.

Notes

  • All times are in your broker's server time. Check the server time in Market Watch and adjust the inputs if your broker uses a different offset.
  • If a session end time is earlier than its start time, the session is treated as crossing midnight.
  • The indicator works on M1 to H1. On higher timeframes nothing is drawn, because the session ranges cannot be measured accurately.
  • The current session box is updated live every few seconds and on every new bar.
  • Objects are drawn in the background, are not selectable, and are removed when the indicator is deleted from the chart.
  • The indicator does not repaint closed sessions and does not use any buffers, so it is light on resources.

Recommended use: XAUUSD, major forex pairs and indices on M5 - M30, together with your own entry rules. The indicator does not generate trade signals by itself; it only shows the session structure.

Smart Trade Assistant - MTF Trend Scanner with One-Click Risk Trading Smart Trade Assistant - MTF Trend Scanner with One-Click Risk Trading

Scans the trend on M5, M15, H1, H4 and D1, shows market bias, volatility, session and previous-day levels in one clean panel, and opens trades with one click using a risk-based lot, ATR stop loss and R:R take profit.

Risk and Lot Size Calculator Risk and Lot Size Calculator

Drag Entry, Stop Loss and Take Profit lines on the chart and instantly see the correct lot size for your risk, reward-to-risk, money at risk, potential profit and margin.

Accelerator Oscillator (AC) Accelerator Oscillator (AC)

The Acceleration/Deceleration Indicator (AC) measures acceleration and deceleration of the current driving force.

MACD Signals MACD Signals

Indicator edition for new platform.