Skip to content
All library documents

Sentiment Zone Oscillator with Smoothing and Price Filters

Article MQL5 code base

Summary

The sentiment zone oscillator (SZO) is presented as a leading contrarian indicator intended to identify extreme bullish or bearish emotion in a market or security. Such extremes may precede a shift in sentiment and a change in the trend being studied. The document describes a modified version designed to reduce the original indicator’s sensitivity.

This version allows the calculation to use one of five moving average types, including simple, exponential, smoothed, linear weighted, and triple exponential averages. It also offers an optional price filter based on the same average choices, intended to reduce the number of signals. With price smoothing disabled, the indicator reproduces the original SZO; the author recommends applying at least mild filtering for more usable signals. No formulas, parameter values, comparative tests, or performance results are included, so the claimed filtering benefit is qualitative and should be assessed against the market and timeframe where it is applied.

Key ideas

  • The SZO aims to detect extreme optimism and pessimism as possible precursors to sentiment and trend changes.
  • The described revision offers five averaging methods for calculating the oscillator.
  • An optional price filter is intended to reduce signal frequency and sensitivity.
  • Disabling price smoothing returns the original oscillator, which the author characterizes as overly reactive.

Tags

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