Bollinger Bands vs. Keltner Channels

Nov 10, 2020

Bollinger Bands are ubiquitous in the trading world, but there’s less discussion about their lesser-known cousin, the Keltner Channels. Do these perform as well as the Bollinger Bands?
Let’s build a trend following strategy using these two indicators and compare their performance over a broad range of parameters.
The trend strategies illustrated below can be downloaded in the Free Strategies section.

Keltner Channels were first introduced by Chester Keltner in his 1960 book, How to Make Money in Commodities, and subsequently updated by Linda Raschke. Similar to Bollinger Bands, they consist of a pair of volatility-based envelopes positioned above and below a middle moving average.

Keltner Channels Calculations

  1. Middle line: Exponential moving average of the typical price (H+L+C/3)
  2. Upper line: Middle line + Multiple * Average true range
  3. Lower line: Middle line – Multiple * Average true range

Both the moving average and average true range use the same lookback period.

How Are Keltner Channels Different From Bollinger Bands?

Computationally, the Keltner Channels and Bollinger Bands differ in the following ways:

With its averaging effect, some feel that typical price offers a better representation of price action, compared to using closing prices alone. Together with the exponential moving average, it is plausible that Keltner Channels provide faster and more reliable trend detection.

Average true range also tends to be less volatile than standard deviation, creating bands which are smoother but contain more lag. By default, both indicators use a 20-bar lookback period and a volatility multiple of 2. Let’s plot them on a chart and do a graphical comparison.

The indicators are noticeably different and it is difficult to establish a consistent relationship between them. Due to the increased volatility of the standard deviation, I believe the Bollinger Bands tend to encompass the Keltner Channels when the market is trending, and vice versa when the market is flat.

With their intrinsic differences in volatility measurement, it is likely that these indicators will create different trading profiles. For a practical performance comparison, let’s create similar trend following strategies for each indicator, and optimize each strategy over a broad range of parameters. The indicator which gives better peak and average performance will be declared the winner.

Trend Strategy Logic

The beauty of these volatility-based channels indicators is their adaptive nature. The moving average is an indication of trend direction, while the channels expand and contract in response to market volatility. For trend following strategies, the moving average can conveniently serve as a trailing stop. These adaptive qualities mean that a complete strategy can be built without introducing many parameters, which usually improves the robustness of the strategy. The Bollinger Band strategy will have the following logic:

Buy when the price closes above the upper Bollinger Band
Close long position when price closes below the moving average

Sell when the price closes below the lower Bollinger Band
Close short position when price closes above the moving average

The Keltner Channels strategy will use the same logic. Each indicator has two key parameters — the lookback period for the moving average and the volatility multiple. The lookback period will be optimized from 20-80, in steps of 1. This should cover most swing and longer-term trend trading applications. The volatility multiple will be optimized form 0.25-3, in steps of 0.25. For the Bollinger Bands, volatility multipliers over 3 produce too few trades for a meaningful comparison.

Both these parameters will be simultaneously optimized for each strategy, giving 732 parameter sets per strategy. Note that simultaneous parameter optimization is not a recommended practice in strategy development because it drastically increases the disk of curve fitting. Nonetheless, this shoud be fine for our research purposes here.

Markets and Timeframe

For a more comprehensive comparison, the two strategies will be tested on three 4-hourly markets—GBPJPY, AUDJPY, EURAUD. For each parameter set, performance will be averaged across these three markets. The test period will be Jan 2006-Oct 2020.

Performance Metrics

We will use a simple risk-adjusted return metric, the return/maximum drawdown (Ret/DD) ratio. The average and median Ret/DD will be computed across all 732 parameter sets for each strategy, giving a more robust picture of each indicator’s performance.

Bollinger Bands vs. Keltner Channels Comparisons

The 3D optimization results for both strategies are shown below. Ret/DD is plotted on the vertical axis, while lookback period and volatility multiple are on the horizontal axes.

The Bollinger Bands strategy seems to perform best with a lookback period of about 30, and a volatility multiple of at least 2.25. The Keltner Channels perfer a 40-bar lookback and a volatility mutiple of about 2.25. Of course, if you trade a different timeframe or market, these optimal parameters could well be different.

Across all 732 parameter sets, the Bollinger Bands produce better average and median Ret/DD values. Let’s take a deeper look at the top 5 parameter sets for each indicator.

The Bollinger Bands strategy spends less time in the market, yet comprehensively outperforms the Keltner Channels profitability-wise. From these tests, it is difficult to discern any edge offered by the Keltner Channels.

Are there any redeeming factors for the Keltner Channels? At least they tend to generate slightly more trades than the Bollinger Bands, improving the reliability of your backtest. Sometimes I consider adding a weaker strategy to my portfolio if it adds diversification. Is the Keltner Channels strategy suffciently uncorrelated? Considering that the two indicators are conceptually similar, you’d probably guess not. Let’s run a quick correlation check to find out.

How Correlated Are They?

For each strategy, the top parameter set was applied and backtests were done on the three markets (GBPJPY, AUDJPY, EURAUD). A correlation matrix was then constructed, showing the correlation of weekly profit over the backtest period.

The values in the matrix are the Pearson Correlation Coefficient. Looking at the correlation between the Bollinger Bands and Keltner Channels strategies (red box), the average coefficient is 0.37. I consider 0.40 or more to indicate significant correlation; this is a little too close for comfort.

Trading highly-correlated strategies is detrimental to your portfolio’s risk-adjusted returns. Since the Keltner Channels don’t seem to perform that well, I cannot recommend trading them together with the Bollinger Bands.

So how would a portfolio consisting of only the Bollinger Bands strategies perform? The portfolio equity curve from 2006-2020 is illustrated below. Not too shabby for such a simple strategy.

For more information on portfolio correlation measurements, and how to create uncorrelated strategies, head over to my article on portfolio composition.

Wrapping Up

From the tests above, Bollinger Bands have emerged as the clear winner. Compared to the Keltner Channels, they exhibit better profitability with lower market exposure. If you use a different strategy logic, or use the indicators in a countertrend manner, your test results may well vary. Since both indicators tend to produce correlated strategies, it is not advisable to simultaneously trade both in your portfolio.

Even with its simple logic illustrated above, the Bollinger Bands strategy shows promising performance and should provide a good starting point for further strategy development. Subsequent addition of entry filters can help avoid false breakouts and improve overall risk-adjusted performance.

If you want to backtest the Bollinger Bands and/or Keltner Channel strategies, you can download them from the Free Strategies section.

Powered By

Development Platform

Forex VPS

FXVM Forex VPS

Popular Posts

Laguerre RSI Trend Following Strategy

The Laguerre RSI attempts to improve the responsiveness of the regular RSI, whilst keeping whipsaw trades to a minimum. Let’s see how well it detects short-term pullbacks for a trend following strategy!

read more

What is Fixed Ratio Money Management?

Have you heard of fixed ratio money management? How does it compare to the popular fixed fractional approach? Here I’ll explain how fixed ratio works, and see how it stacks up against fixed fractional money management.

read more

Build a Diversified Portfolio With QuantAnalyzer

The ability to efficiently trade a diversified portfolio of strategies is one of the biggest advantages of algorithmic trading. Here we will use QuantAnalyzer’s Portfolio Master to build a portfolio consisting of high performing, uncorrelated strategies.

read more

What Is the QQE Indicator?

The QQE is a mysterious indicator that sometimes pops up in trading forums. Does it deserve a place alongside the more traditional momentum indicators like the RSI and CCI? Let’s add it to a trend following strategy to find out!

read more

Make your money work for you!

Get promotions, trading ideas and strategy development tips delivered to your inbox!

Comments

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Trading Strategies

What’s the Best Time to Trade Forex?

What’s the Best Time to Trade Forex?

The forex markets are open 24/5, but not all hours are created equal. Here I dissect my broker data to determine the best time to trade forex.

Forex Weekend Gaps: Can You Exploit Them?

Forex Weekend Gaps: Can You Exploit Them?

Have you noticed that forex weekend gaps usually reverse within 3 days? Here I’ll program a mean reversion strategy to exploit gaps over the last 18 years!

Money Flow Index: An Improved RSI?

Money Flow Index: An Improved RSI?

The Money Flow Index is sometimes called the volume-weighted RSI. Can it outperform the RSI in this trend following strategy?

Automated Bollinger Bands Squeeze Forex Strategy

Automated Bollinger Bands Squeeze Forex Strategy

StrategyQuant’s BBWR indicator is the perfect tool to detect a Bollinger Bands squeeze. Here I explain how it’s calculated, and use it to program a breakout strategy for the AUDJPY!

Should You Use the Kelly Criterion for Forex Trading?

Should You Use the Kelly Criterion for Forex Trading?

The Kelly criterion is a famous mathematical formula that attempts to maximize your long-term capital growth. In this post, I’ll apply it to a EURUSD breakout strategy and explain some of its potential shortcomings when applied to forex trading.

Can a Trading Pause Improve Your Trend Following Results?

Can a Trading Pause Improve Your Trend Following Results?

A temporary trading pause can improve your win rate if you’re trend following a volatile market. Here I’ll program a trading pause into a simple breakout strategy, and test its effectiveness on the Widow Maker – the GBPJPY.

Laguerre RSI Trend Following Strategy

Laguerre RSI Trend Following Strategy

The Laguerre RSI attempts to improve the responsiveness of the regular RSI, whilst keeping whipsaw trades to a minimum. Let’s see how well it detects short-term pullbacks for a trend following strategy!

How to Use the Supertrend Indicator

How to Use the Supertrend Indicator

Despite its cool name, the Supertrend indicator often seems to slip under the radar. Here I explain how it’s calculated, and combine it with moving averages to produce a simple trend following strategy.

Strategy Development

Do You Know Your System Quality Number?

Do You Know Your System Quality Number?

The System Quality Number measures the profitability & consistency of your trading system. Here’s how to calculate your SQN and use it to improve your trading!

How to Get a Realistic Backtest Spread

How to Get a Realistic Backtest Spread

Your choice of backtest spread can certainly make or break a strategy. This post will show you how to study the intraday spread variations of your market, and suggest several ways to avoid paying ridiculous spreads.

Do You Know Your Strategy’s Optimization Profile?

Do You Know Your Strategy’s Optimization Profile?

Your strategy’s optimization profile often reveals its robustness, helping you select strategies that will remain profitable in live trading. Here I explain why an optimization profile is important, and how you can easily obtain one using StrategyQuant’s optimizer.

Which MT4 Backtest Report Metrics Should You Use?

Which MT4 Backtest Report Metrics Should You Use?

Understanding your backtest report is an essential part of being a successful strategy developer. Here I explain what the numbers mean, and how you can make use of each metric during strategy development.

Out-of-sample Testing Using Monte Carlo Simulations

Out-of-sample Testing Using Monte Carlo Simulations

Traders often use Monte Carlo simulations to estimate worst-case drawdowns, but did you know they can be used for out-of-sample testing too? This post demonstrates the use of StrategyQuant’s Monte Carlo simulator to randomize historical prices and strategy parameters, helping you select robust strategies for live trading.

How Many Trades Should Your Backtest Have?

How Many Trades Should Your Backtest Have?

We all want a large sample of trades in our backtests, but practical limitations such as data availability often get in the way. Here I’ll explain why 30 trades is insufficient, and how you can use standard error to quantify the uncertainty arising from a small sample size.

Build a Diversified Portfolio With QuantAnalyzer

Build a Diversified Portfolio With QuantAnalyzer

The ability to efficiently trade a diversified portfolio of strategies is one of the biggest advantages of algorithmic trading. Here we will use QuantAnalyzer’s Portfolio Master to build a portfolio consisting of high performing, uncorrelated strategies.

Strategy Optimization Using MT4

Strategy Optimization Using MT4

How do you improve your trading strategy in MT4? This post will show you how to optimize the entry and exit parameters for a moving average crossover strategy. Finally, an intraday time filter will be added to help avoid false breakouts.

Debugging & Backtesting Using MT4

Debugging & Backtesting Using MT4

With a fresh algorithm at your fingertips, how do you verify that it has been programmed correctly? This guide will show you how to use Metatrader 4’s visual backtester to debug and backtest your strategy.

Create Your Trading Algorithm in 15 Minutes (FREE)

Create Your Trading Algorithm in 15 Minutes (FREE)

Converting your trading idea into an algorithm is the first step towards reaping the benefits of automated trading. This guide will cover the creation of a simple moving average crossover algorithm, without any actual programming.

What Is Drawdown in Trading?

What Is Drawdown in Trading?

Are you getting a comprehensive assessment of your strategy’s downside? This post will discuss several methods to measure drawdowns, helping you build and select strategies that better suit your risk appetite.

Live Trading

What’s the Best Time to Trade Forex?

What’s the Best Time to Trade Forex?

The forex markets are open 24/5, but not all hours are created equal. Here I dissect my broker data to determine the best time to trade forex.

How to Find a Real Trading Guru

How to Find a Real Trading Guru

Every day I come across a trading guru offering educational content on the internet. Many of them speak of huge returns with minimal effort. Should these be trusted? Here’s some tips on how to separate the wheat from the chaff.

How to Enjoy Stress-Free Trading

How to Enjoy Stress-Free Trading

Trading is a great way to make some additional income, but not if you’re constantly pulling your hair out. Here I offer 7 tips to help make your trading profitable and stress-free.

How to Select the Best Forex VPS

How to Select the Best Forex VPS

A virtual private server (VPS) is a virtual computer that you can rent and access remotely. It provides a reliable platform on which to execute your forex strategies. This post will help you decide whether you need a VPS, and show you how to select an optimal VPS.

Make your money work for you!

Make your money work for you!

 

Get trading ideas and strategy development tips delivered to your inbox!

Thanks for subscribing!

Pin It on Pinterest

Share This