OPEN-SOURCE SCRIPT

Happy KC

2 074
Re-interpreted from @eSaniello for visual purposes and re-worked the math on the Keltner formula.

Keltner Channel Calculation
Keltner Channel Middle Line=EMA
Keltner Channel Upper Band=EMA+multiplier∗ATR
Keltner Channel Lower Band=EMA−multiplier∗ATR
where:
EMA=Exponential moving average (typically over 20 periods)
ATR=Average True Range (typically over 10 or 20 periods)

I wanted dual Keltner channels in a single indicator. If you add the default Tradingview Keltner channels twice with multipliers of 1 and 2, it should overlay exactly.

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.