Skip to content

charton API


charton API / @chart-on/ta / ichimoku

Function: ichimoku() ​

ichimoku(high, low, conversionLength, baseLength, spanBLength, out?): Ichimoku

Defined in: trend.ts:243

Ichimoku lines, each at the bar it is computed on. Charts usually draw the two leading spans (the cloud) a number of bars ahead, often baseLength, and the close as a lagging line that many bars behind; shifting is left to the caller. Lookback max(conversionLength, baseLength, spanBLength) - 1 (the conversion and base lines start earlier with shorter lengths).

Parameters ​

high ​

Series

low ​

Series

conversionLength ​

number

baseLength ​

number

spanBLength ​

number

out? ​

Ichimoku

Returns ​

Ichimoku