The x-offset, in bars, a chart applies to each ichimoku column —
+displacement for the two Senkou spans (drawn into the future),
−displacement for the Chikou span (drawn into the past), and 0 for
Tenkan and Kijun.
The study keys every column to the bar it is computed from and displaces
nothing (see ichimoku), so the offset has to live somewhere. It
lives here rather than in the caller's head:
Pass the same options object you passed to ichimoku — the two read
the same two fields and default them the same way, so the names and the
signs cannot drift apart. This is the data-side half of the charts ask
C2 (per-layer xOffsetBars plus forward projection space); until that
lands, the map is still what a consumer needs to shift the series itself.
The precedent for exporting it at all is GUPPY_SHORT_PERIODS — a number
a chart has to restate is a number a chart gets wrong.
The x-offset, in bars, a chart applies to each ichimoku column —
+displacementfor the two Senkou spans (drawn into the future),−displacementfor the Chikou span (drawn into the past), and0for Tenkan and Kijun.The study keys every column to the bar it is computed from and displaces nothing (see ichimoku), so the offset has to live somewhere. It lives here rather than in the caller's head:
Pass the same options object you passed to
ichimoku— the two read the same two fields and default them the same way, so the names and the signs cannot drift apart. This is the data-side half of the charts ask C2 (per-layerxOffsetBarsplus forward projection space); until that lands, the map is still what a consumer needs to shift the series itself.The precedent for exporting it at all is
GUPPY_SHORT_PERIODS— a number a chart has to restate is a number a chart gets wrong.