OPEN-SOURCE SCRIPT

Happy KC

2 038
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.

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。