Skip to content
All library documents

Slow Stochastic Difference Histogram and Its Inputs

Article MQL5 code base

Summary

This note describes an oscillator built from the slow stochastic indicator. It centers the stochastic D value by subtracting 50, smooths that centered value with a simple moving average over the D period, and plots the difference between the centered value and its smoothed signal as a histogram. The display also includes the slow stochastic and signal lines.

The listed inputs are the K period, D period, slowing period, calculation method, and price field. These settings let a user configure the underlying stochastic calculation and its smoothing. The document provides formulas and a parameter list, but no trading rules, chart examples, or performance evidence. It does not explain how to interpret histogram changes or establish whether the indicator predicts returns, so those uses would require independent testing.

Key ideas

  • The indicator displays a slow stochastic line, a smoothed signal line, and their difference as a histogram.
  • The stochastic D value is centered by subtracting 50.
  • The centered value is smoothed with a simple moving average using the D period.
  • The listed inputs control the stochastic periods, slowing, calculation method, and price field.

Tags

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