Free Forex indicator · MT4 / MT5

Currency Strength Lines for MT4 & MT5: Free Download

Read relative currency momentum across a fixed Forex basket. Understand the scores, compare real EUR/USD examples and download the marked ForexBestRobots source for desktop MT4 or MT5.

Reviewed by ForexBestRobots Editorial Team

Original sourceEarnForex 1.20 · ForexBestRobots 1.21
PlatformsDesktop MT4 · MT5
LicenseApache 2.0 · Free
On this page

Eight currencies, one shared basket

Currency Strength Lines compares EUR, USD, GBP, JPY, AUD, NZD, CAD and CHF in a separate chart window. Its fixed basket contains 28 pairs; each currency appears in seven of them. A line summarizes the selected calculation across those seven pairs rather than measuring only the chart pair.

By default, DrawAllCurrencies=false displays the two currencies recognized in the chart symbol. Set it to true to display all enabled lines. The UseEUR through UseCHF switches control which lines are calculated and shown; they do not shrink the underlying basket or remove the need for the other pairs.

These downloads contain ForexBestRobots edition 1.21, a marked derivative of EarnForex 1.20. It aligns the MT4/MT5 oscillator scale and corrects symbol parsing, history checks and notification handling. The original source, license and a change patch accompany the modified source.

What the six calculation modes measure

The default Mode_ASITot is labelled RSI TOT. Despite the legacy ASI spelling in the identifier, it uses Close-price RSI, with RSIPeriod=14. For currency c, the contribution of a pair is +(RSI−50)/7 when c is the base currency and −(RSI−50)/7 when c is the quote currency. The score is the sum of its seven contributions.

This centered mean has a theoretical range from −50 to +50. Zero means that the signed basket RSI is at its midpoint; it is not a probability, pip count or percentage return. The eight scores sum approximately to zero because each pair contributes with opposite signs to its two currencies.

RSI TOT MA first takes the arithmetic mean of SmoothingPeriod RSI readings for each pair, then uses the same centered seven-pair aggregation. The default smoothing window is 5 source candles. It smooths changes and can delay crossings; it does not predict them.

ROC TOT uses 100 × (Close / Close[ROCPeriod] − 1), with ROCPeriod=5, and adds the seven signed percentage changes. It is a sum, not the RSI-style mean. A quote-currency contribution is the negative of the quoted pair’s ROC, not a separately calculated reciprocal return. ROC TOT MA averages each pair’s ROC over SmoothingPeriod before adding it. These scales are not limited to ±50.

Stochastic Main and Stochastic Signal use the platform’s Stochastic with K=5, D=3 and Slowing=3, EMA smoothing and Close/Close prices. Main or signal readings are centered at 50 and aggregated with the same ±1/7 weights. This configuration differs from a standard High/Low Stochastic setup.

LinesTimeFrame selects the source timeframe. PERIOD_CURRENT uses the chart timeframe; a lower selection is raised to the chart timeframe. A higher selection maps each chart candle to the corresponding source candle by time. Values projected from a still-forming higher candle can change across several chart candles.

Edition 1.21 deliberately standardizes RSI and Stochastic normalization to seven pairs on both platforms. EarnForex 1.20 used a divisor of 8 in MT4 and 7 in MT5. Consequently, our MT4 values are not identical to the original MT4 scale. The six modes and period defaults are retained; results are rounded to eight decimals and displayed with four.

Real EUR/USD charts with the full 28-pair basket

The figures reconstruct the calculation from archived Yahoo Finance H1 quotes for all 28 pairs. Each pair’s RSI is calculated on its own history before timestamps are aligned. Missing quotes are not filled and no synthetic crosses are substituted. The displayed colors are chosen for readability.

The first figure shows all eight lines with DrawAllCurrencies=true and ShowSignals=false. At 2025-06-12 11:00 UTC, EUR is 21.4010 and USD is −16.7894. These are centered basket points, not returns. A gap in the strength panel marks one EUR/USD candle without a complete synchronized basket.

The second figure uses the normal crossing rule for EUR and USD. A marks 2025-06-16 05:00 UTC: EUR 4.1435 moves above USD −4.8730. B marks 19:00 UTC: EUR −0.8015 moves below USD 4.1534. All 11 crossing events in this window are marked, including rapid reversals. They are indicator labels, not tested trade entries.

The final figure compares RSI TOT with RSI TOT MA using the same RSIPeriod=14 and SmoothingPeriod=5. Arrows are omitted so the line changes remain visible. The CSV files provide the plotted OHLC, scores and crossing flags; blank strength fields identify incomplete baskets.

All eight currencies: real EUR/USD H1 price above, centered RSI14 basket scores below. DrawAllCurrencies=true; ShowSignals=false. The missing basket reading stays blank.
All eight currencies: real EUR/USD H1 price above, centered RSI14 basket scores below. DrawAllCurrencies=true; ShowSignals=false. The missing basket reading stays blank.2025-06-06 10:00 — 2025-06-12 11:00 UTC · 97 candles
EUR/USD line crossings: all 11 strict transitions are marked on the price chart. A and B identify the two examples explained in the text; they are not trade-performance results.
EUR/USD line crossings: all 11 strict transitions are marked on the price chart. A and B identify the two examples explained in the text; they are not trade-performance results.2025-06-16 00:00 — 2025-06-19 23:00 UTC · 96 candles
Same quotes and RSI14: raw basket lines in the middle, arithmetic MA5 smoothing below. Smoothing changes timing and does not guarantee better signals.
Same quotes and RSI14: raw basket lines in the middle, arithmetic MA5 smoothing below. Smoothing changes timing and does not guarantee better signals.2025-06-16 00:00 — 2025-06-19 23:00 UTC · 96 candles

Historical calculation illustrations from final Yahoo Finance candles, H1 and UTC. These are not MetaTrader screenshots or a live execution/alert replay. CSV values use the marked edition’s seven-pair oscillator normalization.

Download chart calculation data (CSV) · 1Download chart calculation data (CSV) · 2Download chart calculation data (CSV) · 3

Settings and defaults for MT4 and MT5

The table lists the functional inputs. MT4’s comment_1 through comment_8 are visual separators. LimitBars is an internal true flag, not an input; MaxBars sets the window. ErrorLog is MT5-only. Edition 1.21 exposes the eight currency switches in MT5 as well as MT4.

Periods must be positive and no greater than 10000; MaxBars accepts 2–100000; MinimumRefreshInterval must be at least 1 second. Line widths accept 1–5, and at least one currency must be enabled. Broker history and available memory can impose tighter practical limits.

InputDefaultPractical meaning
IndicatorName"ForexBestRobots-CSL"Instance name for the subwindow and chart objects. Use a unique nonempty name without spaces for every instance on one chart.
CalculationModeMode_ASITotRSI TOT by default; the other modes are RSI TOT MA, ROC TOT, ROC TOT MA, Stochastic Main and Stochastic Signal.
ROCPeriod5Source-candle lookback for the two ROC modes; unused by RSI and Stochastic.
RSIPeriod14Close-price RSI period for RSI TOT and RSI TOT MA. The legacy identifier contains ASI.
SmoothingPeriod5Arithmetic averaging window in source candles for RSI TOT MA and ROC TOT MA.
Stochastic_K_Period5Stochastic %K lookback; only active in the two Stochastic modes.
Stochastic_D_Period3Stochastic signal-line period; used by the platform’s EMA/Close-Close configuration.
Stochastic_Slowing3Stochastic slowing period; only active in the Stochastic modes.
LinesTimeFramePERIOD_CURRENTSource timeframe. Current uses the chart; a lower choice is raised to it. Higher values remain live until that source candle closes.
DrawAllCurrenciesfalseFalse shows the recognized chart currencies; true also shows the other enabled currency lines.
ShowSignalstrueCalculate and draw chart arrows. Required for arrow-triggered notifications too.
AboveBelowtrueEnable strict base/quote line crossings when OppositeZeros is false.
OppositeZerosfalseEnable opposite-zero and neutral-transition rules; these take precedence over AboveBelow.
BuyColorclrGreenColor of BUY arrows; it does not change the calculation.
SellColorclrRedColor of SELL arrows; it does not change the calculation.
NeutralColorclrDimGrayColor of NEUTRAL markers in the opposite-zero mode.
EnableNotifyfalseMaster notification switch. False blocks all delivery channels.
SendAlerttruePopup alerts, gated by EnableNotify and ShowSignals.
SendAppfalseMobile push, requiring the master switch and terminal configuration.
SendEmailfalseEmail delivery, requiring the master switch and terminal configuration.
TriggerCandlePreviousSelect Current or Previous chart candle for messages. This does not close a mapped higher-timeframe candle.
MaxBars1000Chart-candle window; one additional older value is calculated for crossing checks. Source history needs extra lookback.
MinimumRefreshInterval5Timer interval in seconds. Tick-driven calculations can occur more frequently.
CurrencyPrefix""Common text before each six-letter pair, for example pro_ in pro_EURUSD.
CurrencySuffix""Common text after each six-letter pair, for example .a in EURUSD.a.
UseEURtrueCalculate the EUR line. Its basket still includes seven pairs.
UseUSDtrueCalculate the USD line. This does not remove USD pairs from other lines.
UseGBPtrueCalculate the GBP line without changing the fixed pair basket.
UseJPYtrueCalculate the JPY line without changing the fixed pair basket.
UseAUDtrueCalculate the AUD line without changing the fixed pair basket.
UseNZDtrueCalculate the NZD line without changing the fixed pair basket.
UseCADtrueCalculate the CAD line without changing the fixed pair basket.
UseCHFtrueCalculate the CHF line without changing the fixed pair basket.
CornerTopLeftCorner used for the optional currency panel.
XOffset0Horizontal panel offset in pixels.
YOffset0Vertical panel offset in pixels.
LabelColorclrBlackText color for the panel’s calculation label.
EURColorclrBlueEUR line and EUR panel-label color.
USDColorclrRedUSD line and USD panel-label color.
GBPColorclrDeepSkyBlueGBP line and GBP panel-label color.
JPYColorclrMagentaJPY line and JPY panel-label color.
AUDColorclrLightSalmonAUD line and AUD panel-label color.
NZDColorclrPurpleNZD line and NZD panel-label color.
CADColorclrDarkGreenCAD line and CAD panel-label color.
CHFColorclrMediumSeaGreenCHF line and CHF panel-label color.
NormalWidth1Line width for currencies outside the recognized chart pair.
SelectedWidth3Line width for the recognized base and quote currencies.
ErrorLogfalseMT5 only: verbose diagnostic logging. It does not change the scores.
DrawPaneltrueShow or hide the currency panel; line calculations and alert flags are separate.

Crossings, zero conditions and notification timing

With AboveBelow=true and OppositeZeros=false, a BUY arrow requires base_previous < quote_previous and base_current > quote_current. SELL reverses those inequalities. Both comparisons are strict: touching equality does not qualify. A normal crossing can happen with both lines on the same side of zero.

OppositeZeros=true takes precedence over AboveBelow. BUY requires the base to become positive while the quote is negative, with the prior base negative or the prior quote positive; SELL is the inverse. NEUTRAL marks a move from opposite signs to both positive or both negative. Merely touching zero does not satisfy these transitions.

Notifications need ShowSignals=true, EnableNotify=true and at least one enabled channel. SendAlert=true alone does nothing while the master switch is false. The first valid calculation is silent. TriggerCandle=Previous selects the previous chart candle, not necessarily a closed higher-timeframe source candle.

The last candle time and direction suppress a repeated identical message. In Current mode, directions can alternate on one candle, so several different messages remain possible. A consumed event is not resent on every tick if email or push delivery fails. Configure those channels in the terminal before enabling them.

The timer checks for updates every MinimumRefreshInterval seconds, including when the chart pair receives no tick. OnCalculate can also run on incoming ticks; this setting is not a universal throttle. The indicator draws information and alerts and does not place orders.

Install and compile the source in MetaEditor

  1. Download and extract the ZIP for MT4 or MT5. Keep the platform packages separate.
  2. In desktop MetaTrader, open File → Open Data Folder, then open MQL4 or MQL5.
  3. Copy Indicators and Files from the ZIP into that folder. MT5 also requires the supplied Include folder. Do not install the separate upstream reference copy.
  4. Open Currency_Strength_Lines_ForexBestRobots.mq4 or .mq5 in the matching MetaEditor. Press F7 and inspect the compiler errors or warnings.
  5. Refresh Navigator → Indicators, attach the compiled indicator to a demo Forex chart, and check the configured pair prefix/suffix and availability of all 28 pairs.
  6. Load sufficient source history, review the inputs and Experts/Journal, and use a unique IndicatorName for each instance on the same chart.

The source does not require DLL imports. Desktop custom indicators do not install into the MetaTrader mobile app. Keep delivery channels off until the chart, source history and chosen signal conditions are understood.

Download Currency Strength Lines free

Choose the ZIP for your desktop platform. It contains the marked MQ4 or MQ5 source, the original author’s source, required icon and MT5 include files, the Apache 2.0 license, installation notes, changes, a patch and checksums. The separate upstream folder is a reference copy.

The packages do not contain a ready EX4 or EX5 executable. ForexBestRobots has reviewed and mathematically checked the source but has not compiled or run this derivative in native MetaTrader. Compile it in the matching MetaEditor, inspect the compiler result and test it on a demo chart before relying on its output.

Free source ZIP · ForexBestRobots 1.21 · Compile in MetaEditor

History, live revisions and limits of the examples

This is relative technical momentum within eight currencies. It is not a fundamental valuation, a whole-market strength index or a guarantee that a strong currency will keep rising. The lines share the same pairs and are not eight independent signals.

The broker must provide all 28 exact pair names, including configured prefix and suffix, and sufficient history for the window and lookback. Hiding or disabling lines does not reduce that requirement. Missing source timestamps leave gaps; unavailable or unsynchronized current data is withheld rather than shown as a neutral zero.

Current candles and forming higher-timeframe candles can revise lines and arrows. Previous on an H1 chart still uses a forming H4 value when the mapped H4 candle is open. Revised broker history, available depth and oscillator initialization can also change a reconstruction.

The figures use final indicative OHLC, not live ticks or broker execution prices. They do not test orders, spreads, slippage, stop-losses, drawdown or profitability. Mathematical checks and the limited C++ tests of extracted source helpers do not establish native MetaTrader compilation, chart-object behavior or notification delivery.

Frequently asked questions

Why do I see only two lines?

DrawAllCurrencies is false by default. The indicator shows enabled currencies recognized in the chart pair. Turn it on to show the other enabled lines.

What does a zero score mean?

In RSI or Stochastic modes it is the midpoint of the signed seven-pair aggregation. It is not zero RSI, a percentage return or proof of a flat market. ROC modes use a different scale.

Can I reduce the required pairs by disabling currencies?

No. The Use switches select lines, while each selected currency still uses its seven pairs. Initialization checks the fixed 28-pair universe.

Does Previous prevent repainting?

It selects a previous chart candle for notifications. That candle can still map to an open higher-timeframe source candle; the projected value can therefore change.

Why is the chart blank or showing a history warning?

Check all 28 broker symbols, their common prefix/suffix and source history. Current timestamps must synchronize. Missing historical readings remain blank rather than being replaced with zero.

Why can the original MT4 indicator show different values?

ForexBestRobots 1.21 standardizes oscillator division to 7. EarnForex 1.20 MT4 divided by 8. History alignment, data, lookback and initialization can also cause differences.

Is the download ready to run or an automated trader?

It is a source ZIP requiring compilation in desktop MetaEditor. It displays lines and optional arrows/alerts; it does not open trades or manage stops. Native compilation and runtime have not been tested by ForexBestRobots.

Sources and review scope

The review follows the pinned EarnForex source and the marked ForexBestRobots changes. Figures are our own reconstructions from the archived 28-pair dataset; the download notes distinguish those checks from a native terminal test.