🔢 Omega Session Clock MT5 – Easy-to-Read Inputs Setup Guide
Omega Session Clock v1.0 is a MetaTrader 5 session-analysis indicator that tracks Asia, London, and New York sessions while measuring Initial Balance, Opening Range Breakouts, session statistics, London reversal behaviour, economic news windows and session-related alerts.

🔢 Installation
🔹 Copy the Indicator — Open File → Open Data Folder → MQL5 → Indicators in MetaTrader 5 and copy the .ex5 indicator file into the folder.
🔹 Refresh Navigator — Right-click Indicators in the Navigator and select Refresh, or restart MetaTrader 5.
🔹 Allow DLL imports — Go to Tools → Options → Expert Advisors and enable Allow DLL imports. The indicator requires this for the licence check, Telegram functions, and dashboard buttons.
🔹 Attach to Chart — Open the desired chart, with M5 or M15 recommended, and drag Omega Session Clock from the Navigator onto the chart.
🔹 Licence key — Enter the licence key from eafxstore.com into Licence key. If the Dependencies/Common tab is available, also enable Allow DLL imports there.
🔹 Complete Setup — Adjust the inputs and click OK. A successful licence check displays Licence: Licence OK in the Experts/Journal tab.
🔹 Important Time Setting — Session hours use broker server time, shown by the clock in Market Watch, rather than local computer time. Correct session-time configuration is essential.
🔢 General & Licence
🔹 MaxBarsCalc — Default: 3000 — Controls the number of recent chart-timeframe bars processed. 0 uses all available bars. The effective statistics history is limited by MaxBarsCalc and MaxDays, with the smaller limit taking effect. Recommended: 8000–20000 or 0 when more reliable statistics are required.
The default 3000 bars covers only about 31 trading days on M15 and about 10 trading days on M5. Increasing the value may take slightly longer during the first load.
🔹 InpLicenseKey — Default: (empty) — Stores the personal licence key from eafxstore.com. Spaces are removed and letters are converted to uppercase automatically. The licence is checked at startup and approximately every 30 minutes. Recommended: enter the exact licence key provided.
If the server cannot be reached, the indicator normally continues during the 72-hour grace period from the last successful verification.
🔢 Language
🔹 Lang — Default: LANG_EN — Controls the language parameter for compatibility. This version is an English-only build, so all displayed text remains English regardless of the selected value.
🔢 Sessions
All session times are based on broker server time.
🔹 AsiaStart — Default: 0 — Defines the server hour from 0–23 when the Asia session begins.
🔹 AsiaEnd — Default: 8 — Defines the server hour when the Asia session ends. The ending hour is exclusive. If the start hour is greater than the end hour, the session crosses midnight, such as 22 → 6.
🔹 LondonStart — Default: 8 — Defines the server hour when the London session begins. At this time, the indicator stores the Asia high and low used for the London reversal statistic.
🔹 LondonEnd — Default: 16 — Defines the server hour when the London session ends.
🔹 NyStart — Default: 13 — Defines the server hour when the New York session begins. London and New York can overlap, and each session is measured independently.
🔹 NyEnd — Default: 21 — Defines the server hour when the New York session ends.
🔹 IbMinutes — Default: 60 — Defines the length of the Initial Balance from the beginning of each session. Common values are 30 or 60 minutes. Recommended: use a value that is a multiple of the chart timeframe.
🔹 OrbMinutes — Default: 15 — Defines the Opening Range duration. Common values are 5, 15, or 30 minutes. It must cover at least one chart-timeframe bar.
🔹 OrbTargetX — Default: 1.0 — Sets the target multiple used to classify an ORB breakout as a win. The target equals the OR edge plus OrbTargetX multiplied by the OR height in the breakout direction. 1.0 means the target equals one range height. Higher values produce fewer but more meaningful wins.
🔹 MaxDays — Default: 60 — Defines the number of trading days used for session statistics, including range, IB, ORB, and reversal analysis. Weekday statistics can use up to twice this number of D1 candles, with a maximum of 400. The effective history is also limited by MaxBarsCalc.
Session Time Example
For a broker server operating at GMT+2 during winter and GMT+3 during summer, the source provides:
🔹 AsiaStart / AsiaEnd — 2 / 10
🔹 LondonStart / LondonEnd — 10 / 18
🔹 NyStart / NyEnd — 15 / 23
These values are an example for a server clock offset from GMT.
🔢 ATR
🔹 AtrLen — Default: 14 — Defines the ATR calculation period. ATR is used internally so bars are processed only after sufficient ATR data exists, and it also determines the height of shaded news windows around price.
🔢 News & MT5 Economic Calendar
🔹 UseNews — Default: true — Enables or disables economic-calendar functions, including the news list, news lines, no-trade windows, news alerts, and the news penalty used in the Session Score.
🔹 MediumToo — Default: false — Determines whether medium-impact events are included. false includes high-impact events only, while true also includes medium-impact events in the list, chart display, and no-trade window.
🔹 NewsAheadHours — Default: 24 — Defines how many hours ahead the indicator searches for upcoming economic events. It also controls the countdown scale on the Next News dashboard card.
🔹 NewsHistDays — Default: 120 — Defines how many days of historical releases are searched for the same event when calculating average and maximum reactions. The chart must have price history covering this period.
🔹 ReactMinutes — Default: 30 — Defines the number of minutes after a news release used to measure the market reaction, including maximum excursion from the release-bar open and direction at the end of the window. Recommended: use a chart timeframe no larger than this value.
🔹 NoTradeBefore — Default: 15 — Defines how many minutes before an event the no-trade window begins. It also determines the lead time for the news due alert.
🔹 NoTradeAfter — Default: 15 — Defines how many minutes after an event the no-trade window remains active. Events stay in the news list until this period has passed.
🔹 ExtraCurrency — Default: (empty) — Adds an optional extra currency to the economic-calendar filter. Enter a three-letter uppercase code such as USD, EUR, or CNY. The symbol's base and profit currencies are included automatically.
🔢 Appearance
🔹 Theme — Default: THEME_DARK — Controls the chart colour scheme. THEME_NONE keeps existing colours, while THEME_DARK, THEME_MIDNIGHT, and THEME_LIGHT recolour the background, grid, candles, and bid/ask lines.
🔹 RestoreTheme — Default: true — Restores the original chart colours when the indicator is removed. Recommended: true.
🔹 ShowSessions — Default: true — Displays filled boxes for active trading sessions and labels them with their current range in points.
🔹 ShowIB — Default: true — Displays the Initial Balance and Opening Range boxes, including breakout and win/loss markers.
🔹 ShowPrevHL — Default: true — Draws dotted lines at the high and low of completed previous sessions and extends them toward the current bar.
🔹 ShowNewsLines — Default: true — Displays vertical lines for upcoming economic events, shaded no-trade windows, and labels containing average reaction information.
🔹 LabelFont — Default: 8 — Controls the font size of chart labels. This setting does not control dashboard text.
🔢 Dashboard
🔹 ShowDash — Default: true — Shows or hides the dashboard panel.
🔹 DashRight — Default: false — Controls whether the dashboard is anchored from the left or right edge of the chart. false places it from the left and true from the right until the panel is manually dragged.
🔹 DashX — Default: 10 — Defines the horizontal dashboard distance from the selected chart edge in pixels.
🔹 DashY — Default: 28 — Defines the vertical dashboard distance from the top of the chart in pixels.
🔹 DashScale — Default: 1.5 — Sets the requested dashboard size. The panel automatically reduces its size when necessary to fit the chart height and uses no more than approximately 45% of chart width.
🔹 DashFontAdj — Default: 1.0 — Fine-tunes dashboard text size within the range 0.8–1.3 without changing the panel size.
🔹 DashMinScale — Default: 1.0 — Defines the minimum dashboard scale. The panel will not shrink below this value even when it no longer fits the chart. Recommended: lower to around 0.7 on small screens or small chart windows.
Dashboard Position
🔹 Drag Dashboard — Hold the left mouse button on the dashboard header and move the panel to the desired location.
🔹 Saved Position — The manually dragged position is saved for that chart and overrides DashRight, DashX, and DashY.
🔹 Reset Position — Press F3 to open Global Variables and delete variables beginning with OMSESS_DASH for the relevant chart.
🔢 Alerts
Alert settings are divided into what triggers an alert and how the alert is delivered. Alerts are generated only on newly closed live bars.
⚙️ Alert Delivery
🔹 AlertPopup — Default: true — Displays alerts through the MetaTrader alert window.
🔹 AlertPush — Default: false — Sends alerts to the MetaTrader mobile application. Requires a configured MetaQuotes ID under Tools → Options → Notifications.
🔹 AlertSoundOn — Default: false — Plays a sound file whenever an alert is generated.
🔹 AlertSoundFile — Default: alert.wav — Defines the sound file used for alerts. The file must exist in the terminal's Sounds folder.
⚙️ Alert Triggers
🔹 AlertSession — Default: true — Generates an alert when the Asia, London, or New York session opens.
🔹 AlertIB — Default: true — Generates an alert when a bar closes beyond the Initial Balance high or low.
🔹 AlertORB — Default: true — Generates an alert on the first candle close outside the Opening Range.
🔹 AlertNews — Default: true — Generates an alert when a high-impact economic event is within the NoTradeBefore period.
🔹 AlertLondonRev — Default: true — Generates an alert when London sweeps the Asia high or low and the candle closes back inside the previous range.
🔢 Telegram
🔹 TgEnable — Default: false — Sends every indicator alert to Telegram in addition to the normal alert channels. Requires DLL imports. When enabled, a TEST TG button appears in the dashboard footer.
🔹 TgToken — Default: (empty) — Stores the Telegram bot token obtained from @BotFather using /newbot. Keep this token private.
🔹 TgChatID — Default: (empty) — Defines the Telegram destination for messages, including a personal chat, group, or channel. Send /start to the bot first. For groups or channels, add the bot as a member or administrator. Group IDs commonly begin with -100.










