A Z-Score Trading Strategy with Percentile Bands and Crossovers
Summary
The document introduces the z-score as a measure of how far a value lies from its mean in standard deviation units, then presents a BTCUSD strategy script intended for a five-minute chart. It smooths Heikin-Ashi-derived prices with an EMA, standardizes that series over a rolling window, and smooths the resulting score again. Percentile levels of the smoothed score, plus its recent high and low, are used to form crossover signals for long entries, add-ons, short entries, and exits. Trading logic is enabled only after a specified start date.
The document provides implementation details but no backtest results or performance evidence. The accompanying explanation of z-scores is cut off, and the strategy author describes the script as an attempt that may not work as intended. The entry and exit rules combine several thresholds in ways that are not fully explained, so their behavior and robustness cannot be inferred from the description alone. Any assessment would require checking the implementation and testing it across market conditions.
Key ideas
- A z-score expresses a value's distance from its rolling mean in standard deviation units.
- The script standardizes a smoothed Heikin-Ashi-derived price series and then smooths the score.
- Percentile bands and recent score extremes provide levels for crossover-based trade signals.
- The strategy contains long entries, add-on entries, short entries, and corresponding close conditions.
- The document provides no performance results, and its author indicates the implementation may not behave as intended.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.