Select Page

# Bollinger Bands vs. Keltner Channels

Nov 10, 2020

###### 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.

## Popular Posts

### What is Considered Good Trading Performance?

Are you taking too much risk for too little return? Perhaps the professional hedge funds can help define good trading performance.

### Automated MACD Divergence Forex Trading Strategy

The MACD is a simple and effective momentum indicator. Here’s how you can save screen time by programming a MACD divergence strategy for the GBPJPY!

### 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!

### What Is the Kaufman Adaptive Moving Average?

The Kaufman Adaptive Moving Average is a unique indicator that automatically adapts to the market’s noise. Here I explain its inner workings and show you how to build a trend following strategy around it.

### 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.

### 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.

### 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!

### Do Bollinger Bands + Candlestick Patterns Work?

Bollinger Bands are great at detecting overbought and oversold conditions. Let’s use them to develop a countertrend strategy, and then refine our entries using limit entries and candlestick patterns.

### How Good Are The Bollinger Bands’ Trailing Stops?

Trailing stop losses are a popular feature in many trend following systems. Bollinger Bands, the ever-popular technical indicator among retail traders, actually contain two inbuilt trailing stops. Are these any good? Let’s find out!

#### Make your money work for you!

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

## 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?

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!

## Dynamic Position Sizing: Is It Time to Go Big?

Should you increase your lot sizes for higher probability trades? Let’s code a dynamic position sizing scheme to capture more outsized wins!

## Pivot Points: A Reliable Support & Resistance Indicator

Pivot points are the perfect tool if you trade using support & resistance. Here’s how to develop an automated pivot points forex strategy!

## 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

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!

## Automated Schaff Trend Cycle Forex Strategy

The Schaff Trend Cycle is a unique combination of the MACD and Stochastic indicators. Here’s how you can use it to improve your trend following results!

## 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.

## Forex Intermarket Correlations: How Do You Exploit Them?

Knowledge of intermarket correlations can improve your forex trading win rate. Here I explain three important types of correlations, and how you can use them to benefit your trading.

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.

## Can Partial Profit Taking Benefit Trend Followers?

Partial profit taking is a dilemma often faced by long-term trend followers. Could this benefit your overall strategy performance?

Let’s test!

## Ride Breakouts With This Support & Resistance Indicator!

StrategyQuant offers a support & resistance ranking indicator to help detect upcoming breakouts. Use it to program an automated USDJPY strategy!

## Automated MACD Divergence Forex Trading Strategy

The MACD is a simple and effective momentum indicator. Here’s how you can save screen time by programming a MACD divergence strategy for the GBPJPY!

## Catch Breakouts With an Inside Bar Trend Strategy!

Inside bars can be a valuable predictor of trend continuation. Here’s how you can program an inside bar, and use it to improve your 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!

## Bollinger Bands Free Bar Trading Strategy

Bollinger Bands are great at predicting upcoming price reversals. Here’s how you can use its ‘free bars’ to build a reliable Asian scalper!

## 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.

## 5 Easy Trailing Stops to Boost Your Trend Following Results

Trailing stops are a popular feature in trend following strategies. They provide downside protection and allow you to ride the big trends. Try out these simple yet effective trailing stops for your next trend strategy!

## Book Review: Building Winning Algorithmic Trading Systems

Serious traders invest in quality education. Should you read “Building Winning Algorithmic Trading Systems” by Kevin Davey?

## Trade Slippage: How Can You Simulate and Minimize It?

Are you a victim of excessive trade slippage? Here’s how you can minimize slippage, and more realistically simulate it in your backtests!

## Edge Ratio: A Unique Way to Quantify Entry Profitability

Selecting a profitable entry is a critical step in strategy development. Here I’ll demonstrate how to use the Edge Ratio to maximize your profit potential.

## Using Maximum Adverse Excursion for Stop Loss Placement

A catastrophic stop loss is a vital risk management tool for many traders. Here I’ll show you how to optimize your stop loss distance using maximum adverse excursion.

## Multiple Timeframe Backtesting – A Quick Robustness Test

Multiple timeframe backtesting can be a valuable addition to your strategy development workflow. Here I explain why you should do it, and how to conveniently do it in MT4 and StrategyQuant.

## 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.

Risk of ruin is a useful metric to help develop trading strategies that suit your risk appetite. This post explains how to calculate your risk of ruin, and how to use it to improve your trading!

## 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?

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

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.

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.

## Which Forex Markets Are the Best for Trend Following?

They say the trend is your friend, but how do you find your friends in the forex jungle? This post shows you how to use the ADX indicator to identify forex markets and timeframes that trend well.

## 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

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

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.

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?

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.

## Who Are the Major Players in the Forex Market?

With its daily turnover of over \$6 trillion, who are the major players in the forex market? Let’s see how retail traders stack up!

## US Nonfarm Payrolls: What’s Considered a Big Miss?

A big miss in the US nonfarm payrolls can wreak havoc in the markets. What’s considered a big miss? I analyze historical values to find out!

## 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.

## What is Considered Good Trading Performance?

Are you taking too much risk for too little return? Perhaps the professional hedge funds can help define good trading performance.

## 5 Forex Day Trading Challenges & How to Overcome Them

Forex day trading seems to have a particular appeal to new traders. Here I highlight five hidden challenges of day trading, and offer some suggestions on how to overcome them.

## 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

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

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.