Skip to content

API Reference


API Reference / atr

Function: atr()

atr(bars, period?): IndicatorSeries

Defined in: src/ta/indicators.ts:230

Average true range, smoothed the Wilder way.

Parameters

bars

OhlcBar[]

period?

number = 14

Returns

IndicatorSeries

Community project — not affiliated with Dhan. MIT License.