Skip to content

Free MT5 indicator

True Strength Index

True Strength Index for MT5: double-smoothed momentum with a signal line, plus/minus levels and arrows on confirmed crossovers.

Momentumv1.0MetaTrader 5 (MQL5) Compiles with 0 errors Non-repainting signals Alerts

What it does

The True Strength Index (TSI) measures momentum by smoothing bar-to-bar price changes twice, then scaling the result between −100 and +100. It is drawn as a blue line with an orange signal line, plus reference levels at +25, 0 and −25.

Arrows mark closed bars where TSI crosses its signal line. An optional filter keeps only crosses that happen beyond the ±25 levels.

How it works

  1. Momentum m = close − previous close.
  2. Smooth m with an EMA of 25 bars, then smooth the result with an EMA of 13 bars.
  3. Do the same with the absolute value |m|.
  4. TSI = 100 × double-smoothed m ÷ double-smoothed |m|.
  5. Signal = EMA(7) of TSI.
  6. Bullish cross: TSI moves above the signal line after being at or below it on the previous bar. Bearish cross: the reverse. With the zone filter on, a bullish cross must happen below −25 and a bearish cross above +25.

Each EMA uses k = 2 ÷ (length + 1).

How to use it

  • Above zero, the smoothed momentum is positive; below zero it is negative. Zero-line crosses are a slower, broader read on direction.
  • Signal-line crosses are faster. In an uptrend, bullish crosses after a dip are the ones trend followers watch; bearish crosses are often just pauses.
  • Readings beyond ±25 show stretched momentum. The zone filter is useful if you only want reversal-style crosses from those extremes.
  • TSI also lends itself to divergence analysis: a new price high with a lower TSI high shows momentum fading.
  • It works on any symbol and timeframe, with H1 to D1 giving the cleanest swings.

Settings

InputDefaultWhat it changes
First (long) smoothing length25Main smoothing; longer is slower and steadier
Second (short) smoothing length13Final smoothing; shorter reacts faster
Signal line EMA length7Speed of the signal line and of crosses
Overbought / oversold level25Position of the reference levels and the zone filter
Only mark crosses beyond the levelfalseFewer, more selective arrows when on
Pop-up alert / Push notificationfalse / falseOne alert per closed bar on a new cross

Limitations

  • Double smoothing reduces noise but adds lag; turns in TSI come after turns in price.
  • Signal-line crosses are frequent in sideways markets.
  • The ±25 levels are a convention, and suitable levels differ by instrument and timeframe.
  • The EMAs are seeded at the start of the chart history, so the first bars are less accurate.
  • The live bar's values change with each tick; arrows and alerts are confirmed on the close. Trading involves substantial risk of loss.

Key inputs

Key inputs of True Strength Index
InputDefaultDescription
First (long) smoothing length25EMA length applied first to momentum.
Second (short) smoothing length13EMA length applied to the first smoothing.
Signal line EMA length7EMA of TSI used as the signal line.
Overbought / oversold level (+/-)25Reference levels drawn at plus and minus this value.
Only mark crosses beyond the +/- levelfalseLimits arrows to crosses in the extreme zones.
Pop-up alert on new crossfalseAlerts once when a closed bar confirms a cross.

Educational tools, not advice. Indicators and Expert Advisors describe price; they do not predict it, and past behaviour does not guarantee future results. Test everything on a demo account first and never risk money you cannot afford to lose. See our disclaimer.

Keep exploring

Related mt5 indicators