Skip to main content
Cart Log in Sign up
Indicator

Trading Session Time: mark sessions on the chart

Marks any time window on the chart as a vertical line, a shaded box or coloured candles, and can alert you when the session starts and ends.

Platform

License

Price

≈

Version

You own this product. Go to My products
Get the demo

  • Automatic, instant delivery once payment confirms
  • Free updates for every future version
  • 12 months of technical support
  • Refunds under a transparent policy
  • Pay with USDT, BTC, ETH and more
  • Free: no payment, download it right now

Risk warning: Trading financial markets carries a risk of losing capital, and past performance does not guarantee future results. Terms & conditions

Product type
Indicator
Platforms
MT4 · MT5
Market / symbol
Gold, FX majors, FX minors, Indices, Crypto, Oil
Experience level
Beginner
Delivery
File download from your dashboard
Last update
November 30, 2026
Broker
Any broker

Overview

Trading Session Time marks a time window you define on the chart: the London session, the New York open or whatever hours you trade. You give it a start and an end time and it shows that window on past days and today.

Each instance of the indicator shows one session. For several sessions you add it to the chart several times with different names and colours.

  • Three display modes: a vertical line at the start, a box from the session high to low, or coloured session candles
  • Choose which weekdays are shown
  • Write the session name and its range in points above it
  • Draw lines for sessions on coming days
  • Start and end alerts in the terminal, on your phone, by email or by sound

The indicator gives no buy or sell signals. Its job is to keep the important hours in view so you can compare how price behaves in each session.

Source and licence

This tool is the open-source project Trading Session Time by EarnForex.com, released under the Apache 2.0 licence. The source code is included in the download unchanged, with the licence text next to it. TradeKit provides the description, install guide and support. Original repository: github.com/EarnForex/Trading-Session-Time

Strategy logic

Display mode

  • If TimeLineEnd is empty, a vertical line is drawn at the start time.
  • If you give an end time, a box is drawn from start to end, as tall as the highest and lowest price in that window.
  • If DrawCandles is on, the candles inside the window are coloured.

Times

  • Times are in broker server time (chart time), not your local time.
  • If the end time is earlier than the start, the session runs into the next day, for example 2200 to 0600.
  • Only the enabled weekdays are drawn, looking back up to BarsToScan bars.

Label and alerts

  • With ShowRange the session’s high-to-low distance in points is added to the label and, for the current session, updated as price moves.
  • An alert fires when the first candle at or past the start or end time opens, so its precision depends on the chart timeframe.

Specifications

Requirements

  • MetaTrader 4 or 5
  • A timeframe below daily; hourly windows mean nothing on D1 and above
  • Knowing the offset between your broker’s server time and the session you want
  • No cTrader version
Platforms
MT4MT5
Delivery
Use case
Scalping، News trading، Swing
Market
Gold، FX majors، FX minors، Indices، Crypto، Oil
Experience level
Beginner

Compatible brokers

Which brokers this product works with, and which it works best with.

Works with every broker

No broker restriction: it works with any broker that offers the product's platform.

The broker choice is yours; TradeKit is not a broker. Check account terms before depositing. All brokers

Input parameters

Input parameters
ParameterDefaultDescription
IndicatorNameName of this instance; give each one a different name when you add several sessions to a chart MQLTA-TST Name of this instance; give each one a different name when you add several sessions to a chart
TimeLineStartSession start in server time, HHMM (24-hour) 0000 Session start in server time, HHMM (24-hour)
TimeLineEndSession end; if left empty only a vertical start line is drawn Session end; if left empty only a vertical start line is drawn
DrawCandlesColour the candles inside the session instead of drawing a line or box false Colour the candles inside the session instead of drawing a line or box
ShowMondayShow the session on Mondays; each weekday has its own input (Saturday and Sunday off by default) true Show the session on Mondays; each weekday has its own input (Saturday and Sunday off by default)
BarsToScanMaximum number of past bars to scan (0 means no limit) 1000 Maximum number of past bars to scan (0 means no limit)
ShowFutureSessionAlso draw lines for sessions on coming days true Also draw lines for sessions on coming days
SessionLabelText written above the session, such as London Text written above the session, such as London
ShowRangeShow the session’s high-to-low range in points false Show the session’s high-to-low range in points
NotifyOnSessionStartAlert when the session starts false Alert when the session starts
NotifyOnSessionEndAlert when the session ends false Alert when the session ends
AreaFillColorFill colour of the session box; the outline uses AreaBorderColor clrSlateGray Fill colour of the session box; the outline uses AreaBorderColor

Install guide

  1. Unzip the download. It contains an MQL4 or MQL5 folder.
  2. In MetaTrader choose File › Open Data Folder and copy the folder’s contents into the folder of the same name.
  3. Restart the terminal or right-click in Navigator and choose Refresh. MetaTrader compiles the source on its own.
  4. Under Indicators drag “MQLTA MT4 Trading Session Time” (or MT5) onto a chart.
  5. Enter the start and end in server time. For a second session add the indicator again with a different IndicatorName and colour.

Changelog

  1. v1.05 MT4 New November 30, 2026
    • Published on TradeKit
  2. v1.05 MT5 November 30, 2026
    • Published on TradeKit

Buyer reviews

No reviews yet.

Only verified buyers can review. Reviews are moderated before publishing.

Only verified buyers can review. Reviews are moderated before publishing.

Sign in to write a review

FAQ

Are London and New York built in?
No. The indicator has no preset sessions. You enter the start and end yourself in broker server time.
How do I show several sessions at once?
Add the indicator to the chart several times and give each instance its own IndicatorName. With identical names the instances delete each other’s objects.
Do I need to do anything when daylight saving changes?
The indicator does not detect clock changes. If the offset between server time and your market shifts, correct the times by hand.
How do I change the candle colours in DrawCandles mode?
MT4 has two inputs, CandleColorBullish and CandleColorBearish. MT5 does not have them; change the colour on the Colors tab of the indicator settings.
Does the alert arrive exactly on time?
Alerts are checked when a new candle opens. On M1 that is close to exact; on higher timeframes it can lag until the next candle opens.

Related products

More Indicators and tools from the same family

Compare Compare now