Skip to content
All library documents

Marking a Selected Trading Session on a Price Chart

Article MQL5 code base

Summary

The document describes a chart indicator that colors the background during a chosen intraday period. Its inputs let a user name the session, set its start hour and minute, specify its duration in minutes, and choose the highlight color. The supplied defaults label the session as Asian, start it at a particular morning hour, assign a duration, and use a pale color; these are configurable settings rather than evidence that the selected period is suitable for a particular market.

The indicator is a visual aid for identifying a time window on a price chart. The document does not explain how to derive a trading signal from the highlighted period, which instruments or time zones it supports, or how daylight-saving changes are handled. It also gives no backtest, performance evidence, or strategy rules. Its practical contribution is limited to displaying a selected session interval for discretionary inspection or use alongside other analysis.

Key ideas

  • The indicator highlights a user-defined time window on a price chart with a background color.
  • Inputs configure a session label, start time, duration, and display color.
  • The stated default session settings are examples and do not establish a trading edge.
  • The document gives no signal rules, market coverage details, or performance evidence.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.