kc

forge.tafunctionSince Forge API 1
Signaturepython
forge.ta.kc(high: ArrayLike,low: ArrayLike,close: ArrayLike,ema_period: int = 20,atr_period: int = 10,atr_factor: float = 2.0) -> dict[str, np.ndarray]

Keltner channel: an EMA of closes with bands atr_factor average true ranges away.

Parameters

NameTypeDefault
highArrayLike
lowArrayLike
closeArrayLike
ema_periodint20
atr_periodint10
atr_factorfloat2.0

Indicator: Keltner channel

The average true range is the simple average of the true range, as the MetaTrader 5 Keltner Channel computes it.