QuantZ
Checking sign-in status

Ichimoku Cloud

The conversion and base lines (midpoints of recent high–low ranges), the two cloud spans built from them, and the lagging span.

Overlay · ichimoku

What it computes

The conversion and base lines (midpoints of recent high–low ranges), the two cloud spans built from them, and the lagging span.

It describes bars that have already printed. QuantZ does not claim this indicator has predictive value, and it is not a recommendation to do anything.

Inputs and lookback

  • Conv · default 9
  • Base · default 26
  • SpanB · default 52

Reads the high and low of each loaded bar. With the default settings the first value is on bar 77; earlier bars are left empty rather than padded.

What it assumes about the series

  • Bars arrive oldest to newest at one interval, each with a finite open, high, low and close. The input is the chart’s loaded series, whatever its length.
  • The function is given bars, not sessions: it does not know the timeframe, where a session opens, or that a gap in the tape is a gap.
  • Warm-up bars are omitted rather than padded. The first value appears once the arithmetic has enough history, and nothing is drawn before it.
  • While the newest bar is still forming, its value uses the live close and moves until the bar closes.
  • Displaced the standard way: the two cloud spans are drawn Base − 1 bars ahead of the bar they are computed on (25 on the defaults, TradingView’s convention for a displacement of 26), so the cloud at a bar is the one computed 25 bars earlier, and the chart extends past the last candle to show the cloud still ahead. The lagging span is each close drawn 25 bars back. The reading compares price with the cloud at the latest bar.

Whether a drawn value can change

forming-bar · Moves only on the forming bar. The newest bar’s value moves with its live close until that bar closes. Appending later bars leaves closed-bar values unchanged. Loading older history or correcting input bars can change them; each entry states its history assumptions.

This class is read from the registry entry and checked by a test against the function itself: for a class that says closed bars are final, appending a bar must leave every earlier point unchanged, and for a class that says they are not, it must not.

Outside its inputs

  • Nothing outside the loaded bars: no longer history than the chart has loaded, and no other interval.
  • Nothing inside a bar: no individual trades, no order book, no bid or ask.
  • No other symbol, no benchmark, no news, no fundamentals, no earnings dates.
  • Volume is not read at all.

Rendered from the registry entry ichimoku in src/lib/indicators.ts. If the entry changes, this page changes with it.