Skip to content
All library documents

EMA–SMA Oscillator with a Filtered Volume-Change Histogram

Article ProRealCode

Summary

This indicator combines the difference between an exponential moving average and a simple moving average with a smoothed signal line and a zero reference. The description presents crossings between the oscillator and signal line as a more reactive reading, while waiting for a zero-line crossing is more conservative. The plotted colors distinguish oscillator direction.

A separate histogram marks selected periods of unusually large volume change relative to its recent average. The provided indicator logic calculates changes in average volume, smooths those changes, and uses a threshold comparison to decide when to display the histogram. It is an indicator description and code example, not a complete trading system: it gives no entry or exit rules, asset-specific guidance, or performance tests. The document also contains unrelated privacy-policy text, which does not add trading evidence or validation.

Key ideas

  • The price oscillator is formed from the difference between an exponential and a simple moving average.
  • Signal-line crossings are described as more reactive than waiting for a zero-line crossing.
  • The histogram filters volume changes to highlight selected large deviations from a recent average.
  • The document supplies indicator logic but no complete strategy or performance results.

Tags

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