M5 wave observations without future data
Five-minute bars are useful for monitoring recent swing geometry, but they also contain substantial noise and transient price changes.
Use closed M5 candles only; detect confirmed pivots with a fixed lookback and store the moment at which each pivot became knowable. Never use a pivot confirmed by later bars as if known earlier.