chartcn

Bollinger bands

SMA 20 with a ±2σ envelope.

Band overlay

This is the clearest case for widening the price extent with overlay values. The bands routinely sit outside the visible high and low — that is the whole point of them — so a scale derived from the candles alone would clip the envelope at the pane edge.

A band overlay takes an upper and a lower series. The engine fills between them at low alpha and strokes both edges faintly, so the envelope reads as one shape rather than two unrelated lines.

Bollinger bands
SMA 20 with a ±2σ envelope

Shared engine

All the Markets charts are configuration over one renderer. A chart declares its price mark, any overlays that share the price scale, and any panes that need their own — the viewport, axes, crosshair and interaction come from canvas-chart.tsx.

On this page