Senzoukria · Documentation

Imbalances and stacked imbalances on the footprint

Senzoukria highlights two kinds of imbalance: per-cell colouring, computed on every level when the candles are built, and the Stacked Imbalances overlay, which marks runs of consecutive levels where one side dominates the diagonal neighbour by a ratio. The two use different rules and different settings.

Updated September 2026First published 19 September 2026

On this page
  1. Where to find it
  2. What it does
  3. Settings
  4. How to use it
  5. Limits and pitfalls
  6. Related pages
  7. In the same section
  8. This page in other languages
  9. Frequently asked questions

Where to find it

Where
Indicators → Overlays → Stacked Imbalances (settings pane holds both the overlay and the global cell colouring)
Stacked Imbalances default
Off; Ratio 3.0; Min levels 3
Cell colouring defaults
Rate 200 %, Vol filter 30, Min diff 10, Ignore zero on; always active

What it does

Per-cell imbalance flags are computed when each renderer bar is converted into a footprint candle, so they exist on every chart whether or not any indicator is on. A level is a buy imbalance when its ask volume is at least Rate × its bid volume, and a sell imbalance when its bid volume is at least Rate × its ask volume, on the same price level. A level must first pass the Vol filter (minimum total volume) and the Min diff (minimum absolute ask − bid difference). With Ignore zero on, a level where the opposite side is zero is not flagged. In the Bid × Ask layout a flagged number is drawn bold with a glow: red for a sell imbalance, green for a buy imbalance.

The Stacked Imbalances overlay is a separate detection that follows the ATAS diagonal convention: a buy imbalance at level L compares buy volume at L with sell volume at L − 1 (one tick below), and a sell imbalance at L compares sell volume at L with buy volume at L + 1. A zero divisor with a non-zero numerator counts as an imbalance. Consecutive flagged levels of the same direction form a stack; a stack of at least Min levels is drawn as a translucent rectangle over the bar with a label SI followed by the count. Skipping a level breaks the stack, because the structural argument behind a stack requires contiguity; the tick step is inferred from the spacing of the bar's levels.

Settings

Stacked Imbalances settings pane, as shown in the Indicators panel
SettingDefaultWhat it changes
Detection → Ratio3.0 (1.5–10, step 0.5)Diagonal ratio a level must reach against its neighbour to be flagged for the stack.
Detection → Min levels3 (2–8)Minimum consecutive flagged levels in one direction to draw a stack.
Cell coloring (global) → Rate200 % (100–1000, step 50)Same-level ratio for per-cell colouring; 200 = one side must be 2× the other.
Cell coloring (global) → Vol filter30 (0–500, step 5)Minimum total volume on the level before it can be coloured.
Cell coloring (global) → Min diff10 (0–100, step 5)Minimum absolute difference between ask and bid volume.
Cell coloring (global) → Ignore zeroOnWhen on, a level whose opposite side is zero is never flagged.
Appearance → Buy color#7ed321Fill and border of bullish stacks.
Appearance → Sell color#ffffffFill and border of bearish stacks.

How to use it

  • The four Cell coloring rows are global: they colour cells on the whole footprint and keep working with the Stacked Imbalances overlay switched off. They are housed in this pane because there is no separate on/off entry for cell colouring.
  • Changing any cell colouring value invalidates the candle conversion cache and reconverts every loaded bar, which is why the four values are grouped and stepped rather than free text.
  • Stacks are drawn at 12 % fill and 40 % border opacity inside the bar's cell column; the SI label sits at the top of the rectangle.
  • The overlay is computed by the asynchronous indicator runner, which coalesces updates with a 200 ms throttle and a 300 ms idle deadline, so a stack can appear up to about half a second after the print that completed it.

Limits and pitfalls

Per-cell colouring compares the two sides of the same level; the stacked overlay compares diagonally. A cell can therefore glow without belonging to a stack, and a stack can include levels whose own cell is not coloured. Neither rule reads the order book or proves absorption; both measure executed volume as reported by the source.

Stacks are detected on the displayed footprint bars, including the forming bar, and disappear if a later update changes the ratios. A quiet feed with few contracts per level produces many infinite imbalances when Ignore zero is off; the default keeps it on for that reason. Stacked Imbalances ships off by default because the rectangles cluttered quiet 5-second charts.

In the same section

This page in other languages

Frequently asked questions

Why is a cell coloured but not inside a stack?
Cell colouring uses the same-level Rate (default 200 %); stacks use the diagonal Ratio (default 3.0) and need at least Min levels contiguous flags. The two tests are independent.
Can I turn off cell colouring only?
There is no dedicated switch. Raise Rate to 1000 % or the Vol filter high enough, or switch to a layout other than Bid × Ask, where the bold highlight is not drawn.
Is the imbalance count available as a series indicator?
Yes. The Library includes imbalance-count, imbalance-level-count, stacked-imbalance and stacked-imbalance-marker studies that run on charts which execute the series engine (Rithmic and Replay).
NEXT

Keep reading