Skip to content
All library documents

Using an RSI Momentum Histogram to Read Direction and Strength

Article MQL5 code base

Summary

This MetaTrader indicator displays the classic Relative Strength Index alongside a histogram that colors each bar according to whether RSI is rising, falling, or nearly unchanged. A minimum-change filter suppresses color changes caused by small fluctuations. Users can configure the RSI period and input price, histogram sensitivity, display colors, reference levels, and the amount of history recalculated.

The suggested readings include conventional overbought and oversold levels, the 50 midline as a directional filter, histogram color sequences as a view of momentum, and visible price-RSI divergences as possible signs of exhaustion. The document explains that shorter RSI periods respond more quickly but can be noisier, while a larger histogram threshold produces more neutral bars. It provides indicator settings and trading interpretations, but no backtest or evidence of profitability. It cautions that RSI can remain extreme during strong trends, so signals may be premature and should be assessed alongside price structure, moving averages, or volume.

Key ideas

  • The histogram colors RSI changes as rising, falling, or flat according to a configurable threshold.
  • The RSI period controls the balance between responsiveness and smoothness.
  • The 50 level can serve as a directional filter, while 70 and 30 mark conventional extreme zones.
  • Color sequences and price-RSI divergence can suggest momentum shifts but are not automated trade guarantees.
  • RSI can stay overbought or oversold in strong trends, so additional confirmation is advised.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.