Skip to content
FXNook HubBeta

Alex / Currency Strength Meter for MT4

MetaTrader 4IndicatorMITCompiled · build 2425
AlexFirst version.build 2425v1.06 hours ago1 version
README

Overview

Measures the strength of USD, EUR, GBP, JPY, CHF, CAD, AUD and NZD from the 28 major pairs and shows it as lines with a live ranking panel.

A single pair only tells you how two currencies move against each other. A currency strength meter looks at all 28 pairs made from the eight majors and shows which currencies are strong and which are weak, so you can pair a strong currency with a weak one.

How it works

  • For each of the 28 pairs the indicator measures the % change from the close Look-back bars bars ago on the chosen Timeframe to the current price at that chart bar: change = (price - reference) / reference x 100.
  • The change is added to the base currency and subtracted from the quote currency. For EURUSD +0.30% means EUR +0.30 and USD -0.30.
  • Each currency's value is the average of its available pairs (up to 7), so it reads as "average % change against the other majors".
  • One line per currency is drawn in a sub-window around a zero line, and a ranking panel in the top-right corner sorts the eight currencies from strongest to weakest for the current bar.
  • Pairs your broker does not offer are skipped. They are listed in the Experts log and in the bottom-left of the indicator window, and the remaining pairs are still used.

Inputs

InputDefaultWhat it does
TimeframeCurrentTimeframe of the look-back bars
Look-back bars20% change measured over this many bars
Chart bars to draw500History drawn (more = slower start)
Symbol prefix / suffixemptyBroker naming, e.g. m. or .pro
Guess prefix/suffixtrueReads them from the chart symbol when both are empty
Ranking paneltrueLive sorted list
Bold chart currenciestrueDraws the chart pair's two currencies thicker
Currency colours8 coloursOne per currency
Ranking font size9Panel text size

How to use it

  1. In MetaTrader open File > Open Data Folder.
  2. MT4: copy FXN_CurrencyStrength.mq4 into MQL4/Indicators. MT5: copy FXN_CurrencyStrength.mq5 into MQL5/Indicators.
  3. Right-click Indicators in the Navigator and choose Refresh (or restart the terminal). The file compiles on first use; you can also open it in MetaEditor and press Compile.
  4. Drag the indicator onto a chart and set the inputs.

Attach it to any forex chart. If your broker uses names like EURUSD.pro, the prefix and suffix are usually detected automatically; otherwise type them in. Start with H1 and 20 bars for an intraday view, or D1 and 10 bars for a swing view. Look for a currency near the top and one near the bottom of the ranking and check that pair's chart.

Good to know

  • The value on the forming bar moves with price; closed bars are fixed.
  • Other symbols' prices update when your chart receives a tick, so the lines refresh on the chart's ticks.
  • The first load may take a few seconds while the terminal downloads history for 28 symbols. The pairs are added to Market Watch so their prices are available.
  • Strength is relative: all eight values always average close to zero.
  • It shows relative movement only and does not trade.

Trading carries risk. Test on a demo account first; past results do not predict future results.

At a glance

What it is
A free Indicator for MetaTrader 4, written in MQL4.
What it does
Measures the strength of USD, EUR, GBP, JPY, CHF, CAD, AUD and NZD from the 28 major pairs and shows it as lines with a live ranking panel.
Shared by
Alex
Licence
MIT
Version
1.0 (1 Dec 2026)
Settings
19 inputs
Lab check
Compiled with MetaEditor build 2425 for MT4 on 1 Dec 2026: 0 errors, 0 warnings.
Price
Free to download

Settings read from the code

InputTypeDefaultNote
InpSep1string=== Calculation ===---- Calculation ----
InpTimeframeENUM_TIMEFRAMESPERIOD_CURRENTTimeframe of the look-back bars
InpBarsint20Look-back: % change over this many bars
InpHistoryint500Chart bars to draw
InpPrefixstringSymbol prefix used by your broker (e.g. "m.")
InpSuffixstringSymbol suffix used by your broker (e.g. ".pro")
InpAutoAffixbooltrueGuess prefix/suffix from the chart symbol when both are empty
InpSep2string=== Display ===---- Display ----
InpRankingbooltrueShow the live ranking panel
InpBoldChartbooltrueDraw the chart's own two currencies thicker
InpUsdColorcolorclrLimeGreenUSD colour
InpEurColorcolorclrDodgerBlueEUR colour
InpGbpColorcolorclrRedGBP colour
InpJpyColorcolorclrGoldJPY colour
InpChfColorcolorclrDeepPinkCHF colour
InpCadColorcolorclrOrangeCAD colour
InpAudColorcolorclrDarkTurquoiseAUD colour
InpNzdColorcolorclrMediumPurpleNZD colour
InpFontSizeint9Ranking font size

How to use it

  1. Download the compiled file (or the source and compile it in MetaEditor).
  2. Put it in MetaTrader: File → Open Data Folder → MQL4 → Indicators, then refresh the Navigator.
  3. Test it on a demo account before any real money.
  4. Want changes? Open a copy in your Lab and ask for them in plain words.