charton API / @chart-on/ta / historicalVolatilityAt
Function: historicalVolatilityAt()
historicalVolatilityAt(
values,i,length,periodsPerYear,returns):number
Defined in: volatility.ts:387
Single-bar form of historicalVolatility: writes bar i of returns (which holds the log returns of earlier bars) and returns the value at bar i.
Parameters
values
i
number
length
number
periodsPerYear
number
returns
Float64Array
Returns
number