Project note

I built an indicator that brings together two ideas I enjoy working with: the responsiveness of a Hull moving average and the interpretability of a standardized score. The TradingView script was published under the name “HMA Z-Score Probability Indicator.” That name overstates what a Z-score alone establishes. I still like the experiment. I am less fond of the word ‘probability’ in its name.

What a Z-score measures

For a value x, reference mean μ and positive standard deviation σ, z = (x − μ) / σ. If the mean is 100, the standard deviation is 5 and the observed value is 110, its Z-score is 2. The value is two standard deviations above the chosen mean.

In a rolling indicator, the reference window changes. The exact series being standardized (price, HMA or a difference from an average) and the standard-deviation convention must be specified. The script’s source is the record of those implementation choices. A zero standard deviation also needs explicit handling; it cannot be a valid denominator.

Where “probability” goes wrong

Under a standard normal distribution, the cumulative probability below 2 is approximately 97.7%. Applying that cumulative distribution function to a score is a modeling assumption. It is not a 97.7% probability of a price reversal, a profitable trade or a return to fair value.

A reversal forecast needs a defined future event and horizon. For example, “the next five-session return is negative” is a different target from “price crosses its moving average within five sessions.” The historical frequency of each event must be estimated and tested separately. The NIST normal-distribution reference explains the distribution, not a market forecasting rule.

Why the HMA is in the experiment

The Hull moving average is a smoothing construction. Combining it with standardization can make deviations easier to compare visually. It does not guarantee mean reversion or remove the possibility of a persistent trend. The original project credited the TradingView contributor SteversSteves as an influence. That credit remains; it does not make either contributor responsible for the claims in this article.

What the original interface let me explore

The 2024 project was also a visual tool, and that part deserves to stay in its history. My original write-up described an area or candlestick view of the score, an HMA line, colored reference bands and an optional table. It let the reader adjust the lookback and smoothing periods as well as the presentation. The exact controls depend on the script version; the linked publication is the place to check them.

Those controls expose two separate choices. The lookback defines the history used for comparison. Smoothing changes how quickly the displayed line responds. If I shorten both, a chart can become more lively without becoming more informative. A useful comparison holds one setting constant while changing the other and uses the same instrument and dates.

The colored bands were meant to make unusual readings easier to spot. Their useful job is orientation: where is the score relative to its reference? A bright color does not supply an entry rule, and a value can stay far from its rolling average while the market continues in the same direction.

This is where my interest in mean reversion met a practical problem. A market can return toward an average because price moves, because the rolling average catches up, or because both move. Those paths can look similar on an oscillator while producing very different outcomes for a position. I want to inspect price and the reference together before telling a story about a reversal. For the next stage of the project, the HMA-to-KAMA article includes actual release screenshots and explains how the newer calculation differs. Those images are dated rather than presented as screenshots of the original 2024 version.

What would count as stronger evidence

A useful follow-up would freeze the code and parameters, define the trading rule before evaluation, and retain every signal alongside its eventual outcome. It would compare against a simple baseline over separate periods, include costs and exposure, and report the unsuccessful experiments as well as the successful ones. No reproducible performance result supporting the previous accuracy claims is provided here, so those claims have been removed. I returned to these questions in my October 2026 HMA-to-KAMA follow-up, which describes a specific retrospective evaluation, its assumptions and the ML filter I decided to leave out. Those newer results do not validate the earlier HMA claims.