Omega Currency Power – Installation & Inputs Guide

- Omega Currency Power Indicator MT5 Settings Panel
⚙️ Installing the indicator in MetaTrader 5
🔹 Step 1 – Copy the file. In MT5 choose File → Open Data Folder. Open the MQL5Indicators folder and copy OmegaCurrencyPower_v1.0.ex5 (or .mq5) into it.
🔹 Step 2 – Compile (if using .mq5). Open the .mq5 file in MetaEditor (F4 in MT5) and press Compile (F7). The Errors window must show 0 errors.
🔹 Step 3 – Refresh the Navigator. Back in MT5, in the Navigator window (Ctrl+N) right-click Indicators → Refresh.
🔹 Step 4 – Allow DLLs. Go to Tools → Options → Expert Advisors and tick Allow DLL imports. The indicator uses a Windows DLL (wininet) for the licence check and Telegram; without this step it will not run.
🔹 Step 5 – Attach to a chart. Open any chart (EURUSD H1 recommended) and drag OmegaCurrencyPower_v1.0 from the Navigator onto it. One chart is enough.
🔹 Step 6 – Dependencies tab. In the settings dialog, on the Dependencies (or Common) tab, tick Allow DLL imports for this indicator.
🔹 Step 7 – Enter the licence. Switch to the Inputs tab, paste your licence key into InpLicenseKey, adjust other parameters if needed (see section B) and press OK.
🔹 Step 8 – Wait for data. On the first run MT5 must download history for many pairs on M1, M15, H1, H4 and D1. During the first 1–3 minutes some values may read 0 or 50; after a few cycles the dashboard fills in.
Tip: To change parameters after attaching: press Ctrl+I on the chart → select Omega Currency Power → Properties. To keep a configuration for later, press Save in the Inputs tab to store a .set file, and Load to restore it.
⚙️ Detailed explanation of the Inputs
The parameters in the Inputs tab are split into 8 groups, in the same order MT5 shows them. The Default column is the value after a fresh install. The last column explains what each field does and how to adjust it.
🔢 Licence
🔹 InpLicenseKey (default: empty): The licence key purchased from eafxstore.com. Paste the whole string; extra spaces and lower case are handled automatically. If left empty the indicator shows Please enter your licence key and does not run. The key is bound to your trading account number.
🔢 Suffix & symbols
This group tells the indicator your broker's symbol names and which currencies to scan.
🔹 SymbolSuffix (default: empty): Your broker's symbol suffix, e.g. m for EURUSDm, .pro for EURUSD.pro. Leave empty to auto-detect. Only type it by hand if detection is wrong (see the scan: line in the Experts tab).
🔹 IndexSymbol (default: US500): Your broker's S&P 500 symbol name (could be SPX500, US500Cash, SP500…), without suffix. Used by the risk-on/off gauge. Leave empty if your broker has none; the gauge then relies on AUD, JPY and gold only.
🔹 GoldSymbol (default: XAUUSD): Gold symbol name (without suffix). Used by the risk-on/off gauge. Change it if your broker uses a different name, e.g. GOLD.
🔹 ExtraCurrencies (default: SEK,NOK,SGD,ZAR,MXN,TRY,PLN,CNH): List of extra currencies as 3-letter codes, separated by commas. Up to 8 can be added (16 in total). Leave empty for the 8 majors only. Keep SEK so the USD index can use the full DXY formula.
🔹 MinPairsPerCur (default: 1): An extra currency is added only when the broker quotes at least N of its pairs against the 8 majors. 1 = a USD pair is enough. Raise to 2–3 to exclude currencies your broker quotes in only one pair (less reliable score).
🔢 Strength engine
The most important group: it decides how each currency's 0–100 strength score is computed.
🔹 TF1Bars (default: 4): Number of M15 bars used to measure the % change (4 bars ≈ the last hour).
🔹 TF2Bars (default: 8): Number of H1 bars (8 bars ≈ 8 hours).
🔹 TF3Bars (default: 12): Number of H4 bars (12 bars ≈ 2 days).
🔹 TF4Bars (default: 5): Number of D1 bars (5 bars ≈ one trading week).
🔹 W_M15 (default: 0.10): Weight of M15 in the composite score. Raise it for short-term trading.
🔹 W_H1 (default: 0.25): Weight of H1.
🔹 W_H4 (default: 0.30): Weight of H4.
🔹 W_D1 (default: 0.35): Weight of D1. Raise it for swing trading. The four weights do not need to add up to 1; the indicator normalises by their sum.
🔹 StrengthScale (default: 0.5): The (weighted) % change that maps to about 88 points (or 12 when falling). Lower (0.3) makes the scale more sensitive: scores move away from 50 faster and alerts are more frequent. Higher (0.8) makes it slower: only large moves push scores far from 50.
🔹 RefreshSec (default: 5): Seconds between recalculations and redraws. 3–5 s for scalping/intraday; 10–30 s on a slower PC or with many indicators running.
🔢 Correlation matrix
Configures the correlation matrix on the CORR tab.
🔹 CorrTF (default: H1): Timeframe used for correlation. M15 for short-term, H4/D1 for long-term.
🔹 CorrBars (default: 100): Number of bars used (max 300). Fewer bars reflect recent relationships but fluctuate more; more bars are more stable. At least 20 valid bars are needed.
🔹 CorrSymbols (default: EURUSD,GBPUSD,USDJPY,USDCHF,AUDUSD,USDCAD,NZDUSD,EURJPY,GBPJPY,EURGBP,AUDJPY,XAUUSD): List of up to 12 symbols (without suffix, it is added automatically), separated by commas. Include the pairs you trade most to check for overlapping risk. You can add indices or oil if your broker has them.
🔢 USD Index (synthetic)
🔹 ShowUsdIndex (default: true): Show the synthetic USD index card on the USD/RISK tab. The USD INDEX card on the STRENGTH tab is always shown.
🔹 UsdIndexBars (default: 200): Number of H1 bars drawn on the USD index line chart (200 bars ≈ 8 trading days). The % change on the card is measured from the first bar of this window.
🔢 Risk-on/off gauge
🔹 ShowRiskGauge (default: true): Show the risk-on/off gauge on the USD/RISK tab. The RISK card on the STRENGTH tab is always shown.
🔢 Divergence alerts
Controls when, and through which channels, the indicator sends strength divergence alerts.
🔹 AlertOn (default: true): Turns all divergence alerts on or off. When off, the recent signals list is not updated either.
🔹 DivergenceMin (default: 55): Minimum spread (0–100 scale) between the strongest and weakest currency before an alert is considered. Example: GBP 80 and JPY 22 give a spread of 58, which qualifies. Raise to 60–70 for only very clear signals.
🔹 DivergenceBars (default: 8): Number of M15 bars to look back to confirm the spread is widening (8 bars = 2 hours). The current spread must exceed the spread of the same two currencies at that time.
🔹 AlertCooldownMin (default: 30): Minimum minutes before alerting again for the same strong–weak pair, to avoid repeated alerts.
🔹 AlertPopup (default: true): Show the MT5 Alert window.
🔹 AlertPush (default: false): Send push notifications to the MT5 mobile app. Requires your MetaQuotes ID in Tools → Options → Notifications.
🔹 AlertSoundOn (default: true): Play a sound when an alert fires.
🔹 AlertSoundFile (default: alert2.wav): Sound file name in the MT5 Sounds folder.
🔹 TgEnable (default: false): Enable sending alerts to Telegram.
🔹 TgToken (default: empty): Your Telegram bot token, obtained from @BotFather (format 123456:ABC-…).
🔹 TgChatID (default: empty): The chat ID that receives messages: your personal ID (via @userinfobot) or a group/channel ID (usually starting with -100). The bot must be a member of that group/channel.
🔢 Dashboard
Position, size and colours of the dashboard.
🔹 DashX (default: 10): Distance (pixels) from the left edge of the chart to the dashboard at start-up.
🔹 DashY (default: 30): Distance (pixels) from the top edge of the chart. You can drag the dashboard with the mouse after attaching; the dragged position is not saved on reload.
🔹 DashScale (default: 1.2): Zoom factor, limited to 0.8–2.0.
🔹 AutoDPI (default: true): Also multiply by screen DPI (2K/4K screens with 150–200% Windows scaling). Turn off if the dashboard is too large.
🔹 StartMini (default: false): Start collapsed (title bar only). Press the + button to expand.
🔹 ThemeAccent (default: clrNONE): Interface accent colour. clrNONE keeps the default purple; pick another colour to tell terminals apart if you run several.
⚙️ Setting up Telegram step by step
🔹 Step 1. Open Telegram, find @BotFather, send /newbot and name your bot. BotFather returns a token; paste it into TgToken.
🔹 Step 2. Send any message to your new bot (so the bot is allowed to message you back).
🔹 Step 3. Find @userinfobot to get your ID and paste it into TgChatID. For a group/channel, add the bot to it and use the group ID.
🔹 Step 4. Set TgEnable = true and press OK.
Step 5. Press the TELEGRAM button at the bottom of the dashboard to send a test message. A Telegram OK toast means it worked.
⚙️ Troubleshooting
🔹 The indicator is removed immediately and the chart shows Please tick “Allow DLL imports”: DLLs are not allowed. Enable them in Tools → Options → Expert Advisors and on the Dependencies tab when attaching the indicator.
🔹 Shows Please enter your licence key: The InpLicenseKey field is empty.
🔹 Shows Cannot reach the licence server: The licence server cannot be reached. Check your internet connection and firewall. If a previous check succeeded, the indicator keeps running during the grace period.
🔹 Shows System clock check failed: The computer clock was set backwards. Set Windows time to sync automatically.
🔹 The dashboard shows only a few currencies or pairs: The suffix was detected incorrectly or the broker lacks pairs. Check the CSCM_scan: line in the Experts tab; enter SymbolSuffix by hand if needed.
🔹 Many cells read 0 or scores stay at 50: MT5 has not finished downloading history. Wait a few minutes or open those pairs' charts once.
🔹 Too many alerts: Raise DivergenceMin or StrengthScale, and raise AlertCooldownMin.
🔹 Never any alerts: Lower DivergenceMin (e.g. 45) or StrengthScale (0.3); check that AlertOn = true.
🔹 Risk gauge missing the index: IndexSymbol has the wrong name. Find the correct name in Market Watch (Ctrl+U → Symbols).
🔹 The USD index shows excl. SEK: Your broker has no USDSEK. The value is about 10% below the real DXY, but the trend and % change are still correct.
🔹 The dashboard is too big or too small: Adjust DashScale or turn off AutoDPI.
Remember: Attach the indicator to one chart only. Every pair is scanned automatically; attaching it to several charts only wastes resources and produces duplicate alerts.









