Skip to content

charton API


charton API / @chart-on/ta / chandeKrollStop

Function: chandeKrollStop() ​

chandeKrollStop(high, low, close, length, mult, stopLength, out?, state?): ChandeKrollStop

Defined in: volatility.ts:300

Chande Kroll stop: a first stop mult atrs below the highest high of length bars (and above the lowest low), then the highest (lowest) of that over stopLength bars. Lookback length + stopLength - 2.

Pass state to keep the ATR and first stops for chandeKrollStopAt.

Parameters ​

high ​

Series

low ​

Series

close ​

Series

length ​

number

mult ​

number

stopLength ​

number

out? ​

ChandeKrollStop

state? ​

ChandeKrollStopState

Returns ​

ChandeKrollStop