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.

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。