CUSTOM INDICATOR
Swing High Low State Oscillator
Created by ChainView · Version 1.0.0
A stateful oscillator that flags up swings when the rolling highest high forms a peak pattern and down swings when the rolling lowest low forms a trough pattern, otherwise holding its prior value. Price bars are colored by the persistent trend state derived from the oscillator.
Server alerts approved