What the number means
Compute mean and standard deviation over a window, twenty periods is conventional, and express current price's distance in deviation units. Within one: ordinary territory. Beyond two: the window's outer region, historically visited briefly. The measurement is honest and self-updating, which already beats most stretch folklore.
The trending caveat
The catch: in a strong trend, the mean chases price, and readings beyond two can persist for extended stretches while price keeps running, each pullback resetting the score without ever offering the reversion trade. Stretch is a description of position, not a prediction of snap-back, and gold's data-driven trends abuse naive reversion traders on precisely this point.
Calibrated uses
Three sane applications: entry-quality grading, chasing continuation at plus-two stretch is buying the day's retail price, per the premium-discount logic; target realism, profit objectives far beyond current stretch norms need trend-day conditions to be reachable; and confluence garnish, a stretch reading agreeing with a level cluster adds a small honest weight, the way our math layer scores it, small being the operative word.
FAQ
Is z-score above 2 a sell signal?
No. It states price is statistically stretched versus its recent window. Trends hold such readings for long periods; reversal needs structural evidence.
What lookback should the z-score use?
Twenty periods is standard and fine. The insight is in consistency and in knowing the window's trend-following bias, not in tuning.
How is this different from other bands?
Same family of statistics. The z-score simply expresses the distance as one comparable number instead of drawn bands.
ⓘ See these ideas on real price: open the free XAUUSD live chart.