Trading Session Time
Shades custom trading session times on the chart
- Version
- 1.05
- Published
- 11/19/2026
- File size
- 58 KB
Open source, Apache License 2.0, by EarnForex. See licences
Version history
- 1.05Current11/19/2026 · 58 KB
Compiled from EarnForex/Trading-Session-Time commit 81febd2
How to read it
Set Start Time and End Time in HHMM format, for example 0800 to 1700, and that window is highlighted on each selected weekday.
Use it to see when price usually moves most, such as the London or New York open. Enable ShowRange to print the session's range in points.
Parameters
| Name | Default | Description |
|---|---|---|
| TimeLineStart | 0000 | Start time, HHMM (server time) |
| TimeLineEnd | End time, HHMM (optional) | |
| ShowMonday … ShowSunday | จ.–ศ. เปิด | Weekdays to show |
| DrawCandles | false | Colour the candles in the window instead of drawing a box |
| ShowRange | false | Show the session range in points |
| SessionLabel | Label for the session | |
| NotifyOnSessionStart / NotifyOnSessionEnd | false | Notify at session start or end |
| IndicatorName | MQLTA-TST | Short name; must differ between instances on one chart |
Defaults are the values shipped with the EA, not a recommendation. Results depend on the market and on each account. Past results do not guarantee future results. Trading carries a high risk of loss.
How to install
- Download the .ex5 file.
- In MT5, choose File > Open Data Folder.
- Copy the file into the MQL5\Indicators folder.
- Right-click Indicators in the Navigator window and choose Refresh (or restart MT5).
- Drag the indicator onto a chart, adjust the Inputs if you like, then click OK.
Description
Highlights a chosen time window on the chart as vertical lines, a rectangle or coloured candles, on selected weekdays, with alerts at session start or end.
Banners from the Exness partner programme

FXIDTH is an independent IB partner of Exness. This channel is not owned or operated by Exness.*Spreads may fluctuate and widen due to factors including market volatility, news events, market open/close, and others.*Processing times may vary depending on the chosen payment method.

