Skip to main content

Module ring

Module ring 

Source
Expand description

Fixed-capacity ring buffer for incremental TA windows (private helper).

Also: monotonic sliding max/min ([SlidingMax] / [SlidingMin]) for O(1) amortized window extrema (Stoch HH/LL, Donchian).