Skip to content
All library documents

Using a Banded Frequency Chart to Examine Indicator Values

Article ProRealCode

Summary

The document describes a ProRealTime indicator that plots how often a chosen variable falls into a set of value bands over a recent sample of candles. The user selects the variable of interest, such as normalized price range or an indicator reading, then sets the sample length, number and width of bands, and chart scaling. The output is a graphical frequency distribution, with an optional table of sampled values. This can help researchers inspect the distribution of indicator inputs when exploring settings for trading systems.

The author says the method is intended mainly for normalized values and is less suitable for positive absolute values. The current, still-forming candle is excluded, and the calculation is limited to a configured number of recent candles unless that setting is changed. The document provides code but no worked example, comparison against a formal statistical mode estimate, or evidence that the visualization improves trading results. Its usefulness therefore lies in exploratory analysis rather than validated signal construction.

Key ideas

  • The indicator counts observations that fall within each user-defined value band.
  • The user can apply it to normalized ranges or other variables such as oscillator readings.
  • Its settings control the sample length, band count, band width, and visual scale.
  • The current candle is excluded because its value is still changing.
  • The document presents an exploratory visualization without performance evidence.

Tags

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