Skip to content

Function: donchian()

ts
function donchian(
   high, 
   low, 
   period?): Channel;

Defined in: finance/indicators.ts:468

Donchian Channels: the rolling period high/low and their midline (turtle breakout bands).

Parameters

ParameterTypeDefault value
highArrayLike<number>undefined
lowArrayLike<number>undefined
periodnumber20

Returns

Channel

MIT licensed. WebGL2 required.