Skip to content
All library documents

RSI Histogram with Adjustable Rounding Around the Midpoint

Article MQL5 code base

Summary

This indicator presents the standard Relative Strength Index as a histogram after rounding its readings to configurable increments. The described settings range from no rounding to progressively coarser groupings, including a three-level display at zero, the midpoint, and one hundred. This changes the visual granularity of RSI while retaining its familiar bounded scale.

Rounding is directional around the midpoint: readings below fifty are rounded downward, while readings above fifty are rounded upward. The description supplies the transformation rules but no chart interpretation, trading entry or exit method, test results, or evidence that rounded values improve signals. Coarser settings necessarily discard more distinctions between nearby readings, so the indicator is best treated as a display or signal-simplification variant whose usefulness would depend on a separately defined strategy and evaluation.

Key ideas

  • The indicator displays RSI readings as a histogram after rounding them to a selected increment.
  • Available rounding granularities range from no rounding to a coarse three-level representation.
  • Values below fifty are rounded down, while values above fifty are rounded up.
  • Coarser rounding reduces detail in the oscillator readings.
  • The description gives no trading rules or evidence of improved performance.

Tags

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