🔢 Omega Market Profile – Easy-to-Read Inputs Setup Guide
Omega Market Profile is a MetaTrader 5 indicator based on the Market Profile and TPO approach. It organizes market activity by price and time, showing the Point of Control, Value Area, Initial Balance, previous-session levels, day type, and developing profile structure.

🔢 Installation
🔹 Indicator File — Open MetaTrader 5 → File → Open Data Folder → MQL5 → Indicators and copy the Omega Market Profile .ex5 file into this folder.
🔹 Refresh Navigator — Restart MetaTrader 5 or right-click Indicators in the Navigator and select Refresh.
🔹 Allow DLL Imports — Open Tools → Options → Expert Advisors and enable Allow DLL imports. This is required for licence verification and the indicator will not start without it.
🔹 Attach Indicator — Open the chart to analyse, with M5 or M15 recommended, and drag Omega Market Profile from the Navigator onto the chart.
🔹 Indicator DLL Permission — On the indicator's Common tab, make sure Allow DLL imports is also enabled.
🔹 Configure Inputs — Enter the licence key and adjust the Inputs as required, then click OK.
🔹 Broker Server Time — All session times use broker server time, shown by the clock in the Market Watch window, rather than local computer time.
🔢 Licence & Language
🔹 Licence key [InpLicenseKey] — Default: (empty) — Enter the licence key received after purchase. Spaces are trimmed and letters are automatically converted to uppercase. Recommended: Enter the valid licence key.
🔹 The licence is verified online when the indicator starts together with the trading account number.
🔹 The licence is re-checked approximately every 30 minutes and immediately after switching to another trading account.
🔹 If the licence server cannot be reached, the indicator can continue running for up to approximately 72 hours after the last successful check.
🔹 Licence Errors — Messages such as Please enter your licence key. or Please tick Allow DLL imports… appear in the chart's top-left corner and the Experts tab.
🔹 Computer Clock — Do not move the computer clock backwards to extend offline use. The indicator detects this condition and refuses to run.
🔹 Language [Lang] — Default: LANG_EN — Options: LANG_VI, LANG_EN. Controls the interface language. This build is English only, so chart labels, dashboard text, and alerts remain in English whichever option is selected. Recommended: LANG_EN.
🔢 Session & TPO
🔹 Session start [SessionStart] — Default: 00:00 — Defines when each new Market Profile session begins. The format is HH:MM using broker server time. Recommended: 00:00 for 24-hour Forex/crypto markets unless the broker uses another trading-day start.
🔹 For stock-index CFDs, the session can be aligned with the exchange cash-session opening time converted to broker server time.
🔹 Session end [SessionEnd] — Default: 00:00 — Defines when the profile session ends. Together with SessionStart, it determines the session structure.
🔹 SessionStart = SessionEnd creates a full-day profile lasting 24 hours.
🔹 SessionStart < SessionEnd creates a day session where only bars inside the selected period are profiled.
🔹 SessionStart > SessionEnd creates an overnight session crossing midnight.
🔹 TPO period [TPOPeriod] — Default: TPO_M30 — Options: TPO_M15, TPO_M30, TPO_H1. Defines the duration of each TPO letter period. Recommended: TPO_M30 for the classic Market Profile approach.
🔹 TPO_M15 provides more detail for scalping or shorter sessions.
🔹 TPO_H1 creates a smoother and broader profile for 24-hour markets and swing analysis.
🔹 The profile uses data from the selected TPO timeframe regardless of the chart timeframe, so sufficient history must be loaded.
🔹 Initial Balance periods [IBPeriods] — Default: 2 — Defines how many TPO periods at the beginning of the session form the Initial Balance. Recommended: 2 with M30, 4 with M15, or 1 with H1` to maintain approximately one hour of IB.
🔹 The IB high and low are used for range extension, IB-break arrows, alerts, and day-type classification.
🔹 Day type is calculated only after the selected IB periods are complete.
🔹 Profiles drawn [ProfileDays] — Default: 5 — Controls how many previous sessions are displayed. The indicator keeps the selected number of historical profiles plus the current profile, with a maximum of 8 total profiles. Recommended: 3–5.
🔹 Lower values create a cleaner chart and reduce chart-object usage on slower computers.
🔹 Row size in points (0 = auto) [RowPoints] — Default: 0 — Defines the fixed price height of each Market Profile row. 0 enables automatic row sizing based on volatility. Recommended: 0 for most markets.
🔹 The unit is points, representing the smallest price step rather than pips. On a 5-digit Forex symbol, 10 points = 1 pip.
🔹 A fixed value can be used when identical row heights are required every day, such as 20 points on EURUSD.
🔹 If a session would require more than 160 rows, the row size is enlarged automatically.
🔹 Rows per daily ATR (used when RowPoints = 0) [AutoRows] — Default: 40 — Controls the number of profile rows based on the average daily range of the last 14 days when automatic row sizing is enabled. Recommended: 40.
🔹 Higher values such as 50–60 create thinner rows and more detailed profiles.
🔹 Lower values such as 25–30 create thicker rows and smoother profiles with clearer POC and Value Area structures.
🔹 Values below 5 are treated as 5.
🔹 The current calculated row size is displayed in the dashboard footer as row …p.
🔹 Value Area % of TPOs [VAPercent] — Default: 70 — Defines the percentage of TPOs included in the Value Area. The Value Area expands outward from the POC until it contains the selected percentage. Recommended: 70.
🔹 Practical values are generally 60–80.
🔹 Lower values create a narrower core Value Area, while higher values create a wider Value Area.
🔢 Display
🔹 Chart theme [Theme] — Default: THEME_DARK — Controls the chart background, grid, candles, and bid/ask line colours.
🔹 THEME_NONE keeps the existing chart colours.
🔹 THEME_DARK uses a dark theme.
🔹 THEME_MIDNIGHT uses a deep-blue theme.
🔹 THEME_LIGHT uses a white background with a grid.
🔹 The theme also switches the chart to candlesticks and hides period separators. Recommended: THEME_DARK or THEME_MIDNIGHT for stronger profile contrast.
🔹 Restore colours on removal [RestoreTheme] — Default: true — Restores the original chart colours when the indicator is removed. Recommended: true.
🔹 Set to false if the selected theme should remain after removing the indicator.
🔹 TPO histogram [ShowHistogram] — Default: true — Draws coloured horizontal profile bars for each session.
🔹 Gold represents the POC row, blue represents Value Area, amber represents single prints, and dark slate represents rows outside Value Area.
🔹 The histogram bar length corresponds to the TPO count.
🔹 The TPO letters are drawn inside the histogram, so disabling ShowHistogram also hides the letters.
🔹 TPO letters (current session) [ShowLetters] — Default: true — Displays A, B, C and subsequent TPO letters on each row of the current session.
🔹 Historical sessions show the histogram only to keep the chart cleaner.
🔹 ShowLetters requires ShowHistogram = true.
🔹 Initial Balance box [ShowIB] — Default: true — Draws a rectangle around the Initial Balance, covering the high-to-low range of the first IBPeriods periods.
🔹 Extended levels [ShowLevels] — Default: true — Draws VAH, VAL, and POC across each profile session.
🔹 VAH and VAL are dotted lines, while POC is a solid line.
🔹 The current session also displays VAH, POC, and VAL labels at the right side.
🔹 Previous-day levels on today's session [ShowPrevLevels] — Default: true — Projects the previous session's VAH, POC, and VAL across the current session as dashed lines labelled pVAH, pPOC, and pVAL.
🔹 Hiding these lines does not disable the underlying logic. Open type versus previous value, acceptance, and the 80% rule continue to be calculated and displayed in the dashboard.
🔹 Font size [LabelFont] — Default: 8 — Controls the font size of TPO letters, level labels, day-type tags, and poor high/low labels. Recommended: 6–14, with 8 as a practical starting point.
🔹 Increase the value on high-resolution monitors or reduce it if letters overlap because of narrow profile rows.
🔢 Dashboard
🔹 Show dashboard [ShowDash] — Default: true — Shows or hides the information panel containing day type, Profile Score, POC/VA/IB cards, current and previous session information, recent events, and dashboard buttons.
🔹 Anchor right [DashRight] — Default: false — Places the dashboard from the left edge when false or the right edge when true. Recommended: true when the profile is primarily displayed on the left side of the chart.
🔹 X offset (pixels) [DashX] — Default: 10 — Controls the horizontal dashboard distance from the selected chart edge.
🔹 Y offset (pixels) [DashY] — Default: 28 — Controls the vertical dashboard distance from the top of the chart.
🔹 Panel scale [DashScale] — Default: 1.5 — Controls the overall dashboard size. The panel automatically shrinks when the chart is too small and never goes below 0.55. Recommended: 1.0 for laptops/small charts, 1.5 for Full HD, and up to 2.0 for 4K.
🔹 The panel automatically remains within the available chart height and approximately 45% of chart width.
🔹 Font adjust [DashFontAdj] — Default: 1.0 — Fine-tunes the dashboard text size without changing the panel layout. Recommended: 0.8–1.3.
🔹 Use a lower value when dashboard text looks too large or crowded and a higher value when the text appears too small.
🔹 Move Dashboard — Click and drag the dashboard by its header to move it anywhere on the chart.
🔹 The manually selected position is remembered for that chart and overrides DashRight, DashX, and DashY.
🔹 To restore the original Input-based position, press F3 to open Global Variables and delete variables beginning with OMPROF_DASHX_ and OMPROF_DASHY_, then re-attach the indicator.
🔢 Alerts
🔹 Alerts are checked when a TPO period closes rather than on every tick. For example, with TPO_M30, alerts are evaluated every 30 minutes.
🔹 This means alerts are based on completed TPO periods and do not repaint after confirmation.
⚙️ Alert Channels
🔹 Popup [AlertPopup] — Default: true — Displays the standard MetaTrader alert window with a sound, including the symbol, timeframe, and event details.
🔹 Push notification [AlertPush] — Default: false — Sends alerts to the MetaTrader 5 mobile application.
🔹 To enable push notifications, find the MetaQuotes ID in the MT5 mobile application under Settings → Chat and Messages or Messages.
🔹 Enter the ID under Tools → Options → Notifications, enable Push Notifications, and click Test.
🔹 Sound [AlertSoundOn] — Default: false — Plays the sound file specified by AlertSoundFile when an alert is triggered. This can be used when popup alerts are disabled.
🔹 Sound file [AlertSoundFile] — Default: alert.wav — Defines the .wav file used for sound alerts. The file must be stored in the MetaTrader Sounds folder.
🔹 Built-in examples include alert.wav, alert2.wav, news.wav, and ok.wav.
⚙️ Alert Events
🔹 Initial Balance break [AlertIB] — Default: true — Alerts when a completed TPO period closes above the IB high or below the IB low for the first time during the session.
🔹 The alert occurs once per direction per session.
🔹 Value Area events and the 80% rule [AlertValue] — Default: true — Controls alerts for previous Value Area relationships, acceptance, and the 80% rule.
🔹 Open relation — At the beginning of a session, reports whether price opened above, inside, or below the previous Value Area.
🔹 Acceptance — Alerts when two consecutive TPO periods close outside the previous Value Area.
🔹 80% rule — Alerts when the session opens outside previous value and two consecutive periods close back inside. The alert includes the opposite edge of the previous Value Area as the target.
🔹 POC touch [AlertPOC] — Default: false — Alerts when the latest closed TPO period trades through the current POC after the previous period did not.
🔹 This is disabled by default because POC is frequently touched during balanced sessions. Recommended: Enable when trading POC retests.
🔹 Day type changes to Trend [AlertDayType] — Default: true — Alerts when the developing session is classified as Trend Day ▲ or Trend Day ▼.
🔹 The alert includes the session range as a multiple of the Initial Balance.
🔢 Telegram
🔹 Send to Telegram [TgEnable] — Default: false — Sends every enabled alert to the configured Telegram chat and adds a TEST TG button to the dashboard footer.
🔹 Telegram requires Allow DLL imports, an internet connection, a valid TgToken, and a valid TgChatID.
🔹 Bot token [TgToken] — Default: (empty) — Stores the API token of the Telegram bot created through @BotFather. Recommended: Keep the token private.
🔹 Chat ID [TgChatID] — Default: (empty) — Defines the destination personal chat, group, or channel.
🔹 Private chat IDs are normally positive numbers.
🔹 Group IDs begin with -, while supergroup and channel IDs commonly begin with -100.
Telegram Setup
🔹 Open Telegram and contact @BotFather.
🔹 Send /newbot, choose a bot name and username, and copy the generated token into TgToken.
🔹 Open a chat with the new bot and press Start.
🔹 For a group or channel, add the bot to the group or add it as an administrator to the channel.
🔹 Obtain the Chat ID, for example through @userinfobot or Telegram's getUpdates method after sending a message to the bot.
🔹 Enter the Chat ID into TgChatID.
🔹 Set TgEnable = true and click OK.
🔹 Click TEST TG on the dashboard.
🔹 A successful configuration should deliver a test message within a few seconds.
🔹 If send failed appears, check the Experts tab, bot token, Chat ID, internet connection, and DLL permissions.
🔢 About
🔹 Website [AboutWeb] — Default: https://eafxstore.com — Defines the web address opened by the dashboard WEB button. Recommended: Keep the default value.
🔹 Support [AboutTelegram] — Default: https://t.me/eafxstore6789 — Defines the Telegram support link opened by the dashboard TELEGRAM button. Recommended: Keep the default value.









