Skip to content
All library documents

Classifying Trend Strength with a Thresholded Oscillator Histogram

Article MQL5 code base

Summary

The document explains an oscillator that classifies market conditions using a histogram and two moving-average threshold levels. A blue bar above the upper threshold represents strong movement. A red bar between the thresholds indicates a moderate or weakening trend, while a gray bar below the lower threshold marks a weak, flat market.

The indicator has three configurable inputs: calculation period, smoothing method, and deviation used to calculate the thresholds. The description provides a qualitative interpretation of the colored zones but does not specify the oscillator formula, the smoothing details, or how the indicator might be used to enter or exit trades. No market examples or performance tests are supplied, so the classifications should not be treated as evidence of predictive trading value.

Key ideas

  • The oscillator uses histogram values and two moving-average levels to categorize market movement.
  • Values above the upper threshold indicate strong movement.
  • Values between the thresholds indicate a moderate or fading trend.
  • Values below the lower threshold indicate weak, flat movement.
  • Calculation period, smoothing method, and threshold deviation are configurable inputs.

Tags

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