CUSTOM INDICATOR
Rolling Close Peak Trough State
Created by ChainView · Version 1.0.0
Detects local peaks and troughs in the rolling highest and lowest close over a short lookback, setting a persistent +1/-1 oscillator state. Bars are colored by the resulting trend state, with a zero reference line and oscillator plot.
Server alerts approved