Rolling Z-Scores for Trend Direction and Momentum Signals
Summary
This indicator standardizes closing price against its rolling mean and standard deviation, then smooths the resulting z-score with a short exponential average. Its sign supplies a simple bullish or bearish trend state. The change in the smoothed score is treated as momentum and displayed as a histogram. Alerts mark crossings of zero and of positive or negative entry thresholds, including entries into and exits from extreme zones.
The inputs let users change the lookback and threshold, and provide presets for scalping, swing trading, and trend-following horizons. The document explains the trade-off: shorter lookbacks and lower thresholds respond faster and produce more signals, while longer lookbacks and higher thresholds smooth readings but add lag and reduce signal frequency. It supplies no backtest, market-specific evidence, or rules for turning alerts into a complete trading system. A rolling price z-score describes deviation from a recent average; by itself it does not establish that a deviation will reverse or that a trend will persist.
Key ideas
- The indicator measures closing price deviation from a rolling mean in units of rolling standard deviation.
- An exponential average smooths the z-score, and its sign defines the displayed bullish or bearish state.
- The smoothed score's bar-to-bar change serves as a momentum measure.
- Threshold crossings generate alerts for directional shifts and extreme readings.
- Longer lookbacks and higher thresholds tend to reduce sensitivity while increasing lag.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.