Documentation / @finchart/indicators / IchimokuOptions
Interface: IchimokuOptions
Defined in: indicators/src/factories.ts:734
Properties
ahead?
optionalahead?: (lastX,steps) =>number
Defined in: indicators/src/factories.ts:756
The x of the bar steps after the last one. Given, the leading spans and the cloud run displacement bars past the last candle — the cloud ahead of price, which is what the leading spans are for. Absent, they stop at the last candle: the x of a bar that does not exist yet is the feed's to say (one minute, one session, one trading day), not this package's. Must be deterministic and follow the feed's bar schedule — a projected x that the next real bar does not land on moves the projection instead of extending it. Each answer must be finite and later than the one before it, or the node refuses under this name. The shift itself is by index — bar units, so a weekend gap is not counted — and the chart's x range then reaches the projected cloud: rightOffset is room after it, and following a new bar (shiftVisibleRangeOnNewBar) tracks the cloud's end — a viewport that shows the last candle but not the cloud's end is not at the end, so it does not follow.
Parameters
lastX
number
steps
number
Returns
number
base?
optionalbase?:number
Defined in: indicators/src/factories.ts:736
conversion?
optionalconversion?:number
Defined in: indicators/src/factories.ts:735
displacement?
optionaldisplacement?:number
Defined in: indicators/src/factories.ts:738
span?
optionalspan?:number
Defined in: indicators/src/factories.ts:737