Currency Strength Lines - ForexBestRobots edition 1.21 for MT5
Marked derivative of EarnForex 1.20 (copyright and original notices retained).
Source commit: c74d19bce5a41a4578ae6ca1d6ac877f9db138e7
https://github.com/EarnForex/Currency-Strength-Lines
Apache License 2.0: full text in LICENSE. No NOTICE exists in this pinned tree.

SOURCE ONLY: no EX5 executable. Compile in desktop MetaEditor 5.
ForexBestRobots has NOT compiled or executed this derivative in native MetaTrader.
Mathematical reconstructions and C++ tests of extracted pure functions are not
a native terminal, chart-object, tick, or notification-delivery test.

INSTALL
1. Extract this ZIP. In MetaTrader 5, choose File > Open Data Folder > MQL5.
2. Copy Indicators and Files into MQL5. Also copy Include.
   Do not install the separate upstream/ reference copy.
3. Open Indicators/Currency_Strength_Lines_ForexBestRobots.mq5 in the matching MetaEditor,
   Compile (F7), and inspect all errors and warnings.
4. Refresh Navigator > Indicators and attach the compiled indicator to a demo
   Forex chart. Give each instance on one chart a unique nonempty IndicatorName
   without spaces. Default: ForexBestRobots-CSL.
5. Ensure that the broker provides all 28 pairs using one common CurrencyPrefix
   and CurrencySuffix. Load enough source history for MaxBars plus lookback.
   After extending/correcting older history, reattach the indicator to force
   a complete historical rebuild. Review Experts/Journal and the history panel.

CALCULATION
Default: RSI TOT (legacy enum Mode_ASITot), RSI Close 14. Every currency uses
seven pairs from the fixed 28-pair basket. Contributions are +(RSI-50)/7 on
the base side and -(RSI-50)/7 on the quote side. Range: -50 to +50, not returns.
The original MT4 1.20 used /8, while MT5 used /7. This edition uses /7 on both.
RSI TOT MA is an arithmetic mean of 5 source-candle RSI readings per pair.
ROC TOT is the SIGNED SUM of seven 5-candle percentage changes, not their mean.
ROC TOT MA averages each pair's ROC over 5 readings before adding. The quote
side negates a pair's ROC; it is not the exact return of the reciprocal price.
Stochastic Main/Signal: 5,3,3, MODE_EMA, STO_CLOSECLOSE, centered and divided by 7.
The six modes have different scales. Lower source timeframes are raised to
the chart timeframe. Values mapped from an open higher candle can change.

DISPLAY AND ALERTS
DrawAllCurrencies=false; UseEUR/USD/GBP/JPY/AUD/NZD/CAD/CHF=true;
ShowSignals=true; AboveBelow=true; OppositeZeros=false. Use flags select lines,
not a smaller basket. Exactly all 28 symbols are checked at initialization.
Normal crossings require strict inequalities on both bars; equality does not
qualify. OppositeZeros takes precedence and includes NEUTRAL transitions.
EnableNotify=false; SendAlert=true; SendApp=false; SendEmail=false;
TriggerCandle=Previous; MaxBars=1000; MinimumRefreshInterval=5 seconds.
Messages require ShowSignals, EnableNotify and a delivery channel. The first
valid calculation is silent. Previous refers to the previous CHART candle,
which may still map to an open higher-timeframe source candle. Current can
alternate directions within one candle. Identical last time/direction pairs
are deduplicated; a failed channel does not cause a per-tick retry.
Email/push require terminal setup. Message text contains the indicator name,
symbol, chart timeframe and event time; it does not include account identity.
The timer interval does not throttle OnCalculate on incoming ticks.
No orders, stop-loss management, DLL imports or WebRequest are used.

FILES AND VERIFICATION
Original source and required upstream dependencies are preserved. The marked
source, changes and LF-normalized text patch identify our modifications.
CHECKSUMS.sha256 covers every other entry. INSTALL/ contains 12 localized notes.
Review: https://forexbestrobots.com/indicators/currency-strength-lines-mt4-mt5.html
