🔢 Omega Supply Demand Zones MT5 – Easy-to-Read Inputs Setup Guide
Omega Supply Demand Zones is a MetaTrader 5 indicator for detecting Supply and Demand zones from consolidation bases and strong price departures. It scores zones using departure strength, base tightness, freshness, reversal patterns, and higher-timeframe overlap, while also providing zone management, trade-plan levels, dashboard analysis, alerts, and Telegram notifications.

🔢 Installation
🔹 Copy the Indicator — Open File → Open Data Folder → MQL5 → Indicators and copy OmegaSupplyDemandZones_v1.0.ex5 into the folder.
🔹 Refresh Navigator — Restart MetaTrader 5 or right-click Indicators in Navigator and select Refresh.
🔹 Allow DLL imports — Go to Tools → Options → Expert Advisors and enable Allow DLL imports. This is required for the licence check, Telegram alerts, and WEB / TELEGRAM buttons.
🔹 Attach to Chart — Drag Omega Supply Demand Zones from Navigator onto the desired chart.
🔹 Common Tab — Make sure Allow DLL imports is also enabled in the indicator's Common tab.
🔹 Licence Key — Enter the licence key into InpLicenseKey, adjust the remaining inputs, and click OK.
🔹 Successful Activation — When the licence is valid, the Experts tab shows Licence: Licence OK and the zones and dashboard appear.
🔢 General & Licence
🔹 MaxBarsCalc — Default: 3000 — Defines how many recent bars are processed when the indicator loads. Older bars are skipped. 0 processes the complete available history. Recommended: 3000 for normal use; increase when older zones are required.
🔹 InpLicenseKey — Default: (empty) — Stores the personal licence key from eafxstore.com. Spaces are trimmed and the key is not case-sensitive. The key is checked against the trading account number. Recommended: copy and paste the key exactly as received.
The licence is verified online at startup and approximately every 30 minutes. If the licence server cannot be reached, the indicator normally continues during the 72-hour offline grace period after the last successful verification.
🔹 Account Change — Changing the trading account triggers an immediate licence re-check.
🔹 System Clock — A computer clock set backwards is detected and can cause the offline grace period to be refused.
🔢 Language
🔹 Lang — Default: LANG_EN — Controls the interface language parameter. This build is English-only, so dashboard text, labels, and alerts remain in English. Recommended: leave at LANG_EN.
🔢 Zone Detection
These parameters determine what qualifies as a base and how strong the subsequent departure must be. They have the largest effect on the number and quality of detected zones.
🔹 BaseMaxBars — Default: 6 — Sets the maximum number of candles allowed inside the consolidation base. The indicator tests base lengths from 1 up to this value. Recommended: 3–4 for short, sharp bases; 6–8 for longer consolidations.
🔹 BaseBarATR — Default: 0.7 — Sets the maximum high-low range of each individual base candle as a multiple of ATR. A candle larger than 0.7 × ATR does not qualify as a base candle. Recommended: 0.5–0.6 for stricter bases; 0.8–1.0 for larger candles.
🔹 BaseTotalATR — Default: 1.5 — Defines the maximum height of the complete base, measured from the highest high to the lowest low in ATR. It also controls the maximum height of the zone box. Recommended: lower values for narrower zones; higher values for more zones and wider areas.
🔹 DepartATR — Default: 2.0 — Defines how far the final departure candle must close beyond the base edge in ATR. This is the main zone-strength filter. Recommended: 2.0 for balanced detection; 1.5–1.8 for more zones; 2.5–3.0 for explosive moves, especially gold, indices, and crypto.
🔹 DepartBars — Default: 3 — Sets the maximum number of candles allowed for the departure. All departure candles must close in the same direction. Recommended: 1–2 for very fast moves; 3 for a short sequence of strong candles.
🔹 LegInBars — Default: 12 — Looks back before the base to determine whether price arrived through a rally or a drop. This identifies RBR/DBR demand and DBD/RBD supply patterns. Recommended: 10–20.
🔹 AtrLen — Default: 14 — Sets the ATR period used by the ATR-based zone detection settings. Recommended: 14; 20–30 for smoother, slower-changing thresholds.
🔹 MaxHistory — Default: 3000 — Defines the maximum number of bars scanned backward from the current bar for zone detection and management. Recommended: keep it equal to or below MaxBarsCalc.
🔢 Zone Management
🔹 MaxTests — Default: 3 — Removes a zone after it has been tested more than the selected number of times. A test occurs when price returns into a zone after leaving it. This also controls how quickly the freshness score declines. Recommended: 1–2 for fresher zones; 3 for a balanced setting.
🔹 MaxAgeBars — Default: 800 — Removes zones older than the specified number of bars, measured from the departure. It also controls the age-decay scale in the zone score. Recommended: 300–500 on lower timeframes.
🔹 UseFlip — Default: true — Converts a broken demand zone into supply or a broken supply zone into demand when price closes beyond its distal line. The converted zone is labelled FLIP. Recommended: true when trading role-reversal break-and-retest setups.
🔹 FlipLifeBars — Default: 300 — Defines how many bars a flipped zone remains active after the original zone is broken. Recommended: 100–300.
🔹 MaxZones — Default: 12 — Sets the maximum number of zones displayed for each side, including demand and supply. Higher-scoring zones are displayed first. Recommended: 5–8 for a cleaner chart.
🔹 MinScoreShow — Default: 40 — Hides zones with scores below the selected value. These zones are also excluded from dashboard ranking and the trade plan. Recommended: 50–60 to display higher-quality zones only.
🔢 Zone Scoring
The zone score is built on a 0–100 scale. The default weights total 100 points: departure 40, base 20, freshness 20, reversal 10, and MTF overlap 10. The score can also receive age decay of up to -15 points and a -10 point penalty for flipped zones.
🔹 WDepart — Default: 40 — Maximum points assigned to departure strength. Stronger departures receive higher scores, with the maximum reached at approximately 2.5 × DepartATR. Recommended: increase when departure strength should have greater influence on zone quality.
🔹 WBase — Default: 20 — Maximum points awarded for base tightness. Narrower bases receive more points, while bases close to the maximum range receive fewer points. Recommended: increase when narrow zones and smaller stops are preferred.
🔹 WFresh — Default: 20 — Maximum points assigned to zone freshness. An untested zone receives the full amount, while each test reduces the available freshness points. Recommended: increase when untouched zones should receive stronger priority.
🔹 WReversal — Default: 10 — Adds bonus points to reversal patterns, specifically DBR demand and RBD supply. Recommended: set to 0 if reversal patterns should not receive additional priority.
🔹 WMtf — Default: 10 — Adds bonus points when a zone overlaps a same-direction zone on the higher timeframe. Recommended: 15–20 when multi-timeframe confluence should receive stronger ranking.
🔢 Multi-Timeframe Analysis
🔹 MtfPeriod — Default: MTF_H4 — Selects the higher timeframe whose zones are shown on the current chart as dashed outlines. These zones also contribute to the overlap bonus, S&D Score, and dashboard. Available options are OFF, M30, H1, H4, and D1. It is used only when the selected timeframe is higher than the chart timeframe. Recommended: approximately 4–6× the chart timeframe.
🔹 MtfBars — Default: 400 — Defines the number of higher-timeframe bars analysed for HTF zones. Recommended: 400; increase when older HTF zones are required.
🔹 HTF History — Open the selected higher-timeframe chart once so that the required history is loaded.
🔢 Trade Plan
🔹 SlBufferATR — Default: 0.2 — Adds extra distance beyond the distal zone line when calculating the trade-plan stop loss. Stops are placed below demand or above supply. Recommended: 0.2–0.3 for major Forex pairs and 0.3–0.5 for gold, indices, and crypto.
🔹 MinRR — Default: 1.5 — Defines the minimum risk-to-reward ratio required for the dashboard trade plan to be highlighted. Buy plans are highlighted green and sell plans red when the ratio is reached. Recommended: 1.5–2.0 for intraday trading and 2.0–3.0 for swing trading.
🔢 Display
🔹 Theme — Default: THEME_DARK — Applies the indicator's chart colour scheme. Available options are THEME_NONE, THEME_DARK, THEME_MIDNIGHT, and THEME_LIGHT. The theme also switches the chart to candlesticks and hides period separators. Recommended: THEME_NONE when using a custom chart template.
🔹 RestoreTheme — Default: true — Restores the original chart colours when the indicator is removed. Recommended: true.
🔹 ShowLabels — Default: true — Displays zone information at the right side of each zone, including side, pattern, score, freshness, and HTF tag. Recommended: false for a minimal chart.
🔹 LabelFont — Default: 8 — Controls the font size of zone labels. Recommended: 9–10 on high-resolution screens.
🔹 ExtendBars — Default: 30 — Defines how many bars the zone boxes extend to the right of the current candle. Zone labels are positioned at the end of this extension. Recommended: increase when labels overlap price.
🔢 Dashboard
🔹 ShowDash — Default: true — Shows or hides the dashboard panel.
🔹 DashRight — Default: false — Anchors the dashboard to the right when enabled and to the left when disabled. A manually dragged position takes priority.
🔹 DashX — Default: 10 — Sets the horizontal distance between the dashboard and the selected chart edge in pixels.
🔹 DashY — Default: 28 — Sets the vertical distance between the dashboard and the top of the chart in pixels.
🔹 DashScale — Default: 1.5 — Controls the overall dashboard size. The panel automatically reduces its size when it does not fit the chart height or would exceed approximately 45% of the chart width. Recommended: 1.0–1.2 on laptops and 1.5+ on large or 4K screens.
🔹 DashFontAdj — Default: 1.0 — Fine-tunes dashboard text size without changing the panel dimensions. Recommended: lower when text looks crowded; raise when text is too small.
🔹 DashMinScale — Default: 1.0 — Defines the smallest scale allowed by automatic panel fitting, with an internal minimum of 0.55. Recommended: 0.7–0.8 on small chart windows if the dashboard is cut off.
🔹 Move Dashboard — Drag the dashboard by its header to reposition it. The new position is saved for each chart and restored automatically.
🔢 Alerts
⚙️ Alert Delivery
🔹 AlertPopup — Default: true — Displays a standard MT5 alert window when an alert event occurs.
🔹 AlertPush — Default: false — Sends alerts to the MetaTrader mobile application. Requires the MetaQuotes ID under Tools → Options → Notifications. Recommended: enable when mobile alerts are required.
🔹 AlertSoundOn — Default: false — Plays a sound whenever an alert occurs.
🔹 AlertSoundFile — Default: alert.wav — Defines the sound file used for alerts. The file must exist in the MetaTrader 5 Sounds folder.
⚙️ Zone Alert Conditions
🔹 AlertNewZone — Default: false — Generates an alert when a new zone is created, provided its score reaches at least AlertMinScore. Recommended: keep disabled when too many new-zone alerts are generated.
🔹 AlertEnter — Default: true — Alerts when price enters or tests a zone that meets AlertMinScore. The message also indicates whether the test is the first test. Recommended: true as the primary zone-entry alert.
🔹 AlertBreak — Default: true — Alerts when a zone is broken or flipped.
🔹 AlertMinScore — Default: 60 — Sets the minimum zone score required for new-zone and price-entry alerts. Recommended: 60–70 for higher-quality setup alerts.
🔹 Live Alerts Only — Alerts are triggered only on newly formed live bars. Historical calculations do not generate old alerts when the indicator first loads.
🔢 Telegram
🔹 TgEnable — Default: false — Sends every indicator alert to a Telegram chat through a personal bot. Requires Allow DLL imports. When enabled, the dashboard displays a TEST TG button.
🔹 TgToken — Default: (empty) — Stores the API token of the Telegram bot.
🔹 TgChatID — Default: (empty) — Defines the Telegram personal chat, group, or channel that receives the messages.
Telegram Setup
🔹 Create Bot — Open @BotFather, send /newbot, follow the instructions, and paste the generated token into TgToken.
🔹 Start Bot — Open the new bot and press Start, or add it to the relevant group/channel as an administrator.
🔹 Get Chat ID — Use a bot such as @userinfobot to obtain the Chat ID and enter it into TgChatID. Group and channel IDs commonly start with -100.
🔹 Test Telegram — Set TgEnable = true and click TEST TG. A confirmation popup indicates whether the message was sent. Check the Experts tab if the test fails.
🔢 About
🔹 AboutWeb — Default: https://eafxstore.com — Defines the website opened by the WEB button on the dashboard.
🔹 AboutTelegram — Default: https://t.me/eafxstore6789 — Defines the support page opened by the TELEGRAM button.









