Quick Strategy Test of Keltner Channel Buy or Fade Breakout Trades

Dec 12, 2013: 1:24 PM CST

If price pushes above an upper Keltner Channel – which is an indication of Average True Range and Volatility – should we buy the breakout in hopes of an impulsive upward move or else ‘fade’ the breakout by short-selling an overbought/extended swing?

A quick strategy backtest with simple parameters gives us the foundation to answer this question.

First, let’s define what generates a buy and how this strategy fits into the larger picture.

In the simple strategy test, I had the system “go long” (buy) when price breaks (and closes) above the upper Keltner Channel (an ATR band indicator).  This would mean that price has moved 2 times the daily Average True Range above the 20 day mean (average).

There’s two ways to conceptualize a price trading into and then above the upper Keltner Channel:

One method defines this as a quantifiable “impulse” or sign of strength that should lead to continuation in the direction of the impulse (pro-trending or breakout strategy)

The other notes the movement as a sign of an “overextended” market that is in need of a pullback/retracement (fade or reversal strategy).

Thus method #1  – the impulse – would buy a Keltner Channel Breakout in hopes of a continuation surge.

Method #2 – the fade – would short-sell a break/close above the upper Keltner Channel in hopes for a return to the average/mean.

So which is right and which is wrong?

It turns out “both” are correct depending on how long one holds the trade.  Interesting.  How can this be true?

First, let’s take a look at a series of successful and failed Keltner Channel Breakout/Impulse Trades (which is what we’ll test in our system):

Successful Keltner Breakout Buy

The system buys the open of the next session after price closes above the upper Keltner Channel.

In the two charts, the system sold the position (profit or loss) after 14 days (bars).

From November 2012 to mid-2013, we see a series of six successful “breakout and impulse continuation” trades.

The opposite is true during most of 2011 where these same trades failed almost as soon as they triggered:

Keltner Channel Breakout Failed Trades Retracements Fades

2011 saw three ‘failed’ breakout trades, or depending on your perspective, “successful” fade/reversal trades.

Remember, a close outside the Keltner Channel can be see like a close outside the Bollinger Band which uses standard deviation instead of average true range – price could be seen as “overbought” and due for an immediate pullback.

For this simple parameter test – without using stops  – I wanted to see how time factored into the success or failure of the strategy.

I had the backtest “optimize” the exit as a time stop, meaning “run the same test 30 times on the same data but each time, change how long you hold a position/exit.”

Starting with one day, I wanted to test how time – length of time holding an open trade that triggered – made a difference in net profit or loss.

Here’s the graph of the repeated strategy tests and outcomes (as a factor of Net Profit):

TradeStation Data Backtesting Strategy Report Keltner Channel Breakout Time Stop Function

Assuming one trade $100,000 per position for each trade (buying the SPY on a close above the upper Keltner Channel), we exit “N” Number of Days later to see how time in a trade altered net profitability.

We see an interesting – and stable – distribution based on how long an open trade was held:

From 1 day to 9 days, the system was net negative, losing money.

The system was also net negative from 24 to 30 days in a trade.

Finally, the system was Net positive from day 9 and 10 then from 13 to 23 days in an open trade.

What’s the quick take-away from the simple backtest data?

Again, both arguments – the “trade strength” and “fade strength” arguments were “correct” but it depended on how long one held each trade during the 10 year backtest period (from 2004 to 2013 using the SPY daily chart with $100,000 per trade).

Trend following or “impulse” traders were correct that breakouts were – in general – signs of additional impulse (continued upward price action) yet to come, but only if they gave the trade enough time to work.

The system returned that 14 days – roughly two weeks – tested out best for the simple parameters.

More important than a single optimized variable, we see the positive distribution around the 16 day period, meaning that the system tested best holding an open position from 14 to 19 days.

There was a diminishing return on length of time in a trade; interestingly, holding a trade beyond 23 days resulted in similar negative performance as holding one from 1 to 9 days.

For the “fade/reversal” traders, what’s bad for this strategy test is good for them.  In other words, if one lost money buying a Keltner Breakout (held from 1 to 9 days), this would have returned a positive result for fade/reversal traders.

Fade/Reversal traders would have lost money holding a position from 9 to 23 days.

This does suggest that there is a short-term reversal that tends to occur as soon as price breaks above an upper Keltner Channel high, but over time (and over many trades), the winning trades outweigh the losing trades IF a trader holds a position long enough to capture the impulsive continuation move higher.

It also underscores the point that most breakout trading strategies fail if one does not give a trade “room to run,” or enough time to capture the large gains from a smaller number of trades that overtake the smaller losses from a larger number of trades.

Keep in mind this test did not use stop-losses or any other optimization method – it just tested time in a trade.

While there are plenty of other tweaks to this simple strategy we can use for additional tests, this most basic backtest gives a baseline for assessing performance.

Here’s the full metrics for those bold enough to study the raw data for additional insights from this simple test:

Raw Data from SPY Keltner Channel Breakout Backtest with TradeStation

Interesting facts from the data:

Gross Profit, Maximum Winning Trade, Maximum Losing Trade, Average Winning Trade, and Average Losing Trade ALL increased linearly as a function of time in a trade (this makes perfect sense).

As time in a trade increased, the Number of Trades Taken decreased linearly, as did the Number of Winning and Losing Trades (which also makes sense).

The Percent of Profitable Trades had a similar “bell curve” distribution to the Net Profit.  This was also true for Win Loss Ratio along with Average Trade.

Again, this was just a simple/quick backtest to lay groundwork for answering a question about whether it is better to “go with” a breakout/impulse or “fade/fight” it.  This isn’t meant to be traded as a strategy – not without refinement and many more backtests conducted.

Afraid to Trade Premium Content and Membership

Follow along with members of the Daily Commentary and Idealized Trades summaries for real-time updates and additional trade planning parameters as we watch a “hold and bounce” or “break and retrace” scenario play out in the near future.

Corey Rosenbloom, CMT
Afraid to Trade.com

Follow Corey on Twitter:  http://twitter.com/afraidtotrade

Corey’s new book The Complete Trading Course (Wiley Finance) is now available along with the newly released Profiting from the Life Cycle of a Stock Trend presentation (also from Wiley).

7 Comments

7 Responses to “Quick Strategy Test of Keltner Channel Buy or Fade Breakout Trades”

  1. Did Stop Losses Help or Hurt the Simple Keltner Channel Breakout Strategy | Afraid to Trade.com Blog Says:

    […] Keltner Channel Breakout Strategy Dec 16, 2013: 1:23 PM CST In the previous research post on “Buying or Fading a Keltner Channel Breakout,” I described a simple breakout (or ‘fade’) strategy and revealed the performance […]

  2. Adam Grimes Says:

    Is it symmetrical against the lower channel? How does it perform out of sample (eg 1980-1990) and in other indexes?

  3. Corey Rosenbloom, CMT Says:

    Adam,

    It didn't test out as well in the brief run-through I did.

    I'll do similar research and post those results as well. Thank you for the inspiration!

  4. Adam Grimes Says:

    Yeah I just tend to be suspicious of things that don't test out reasonably symmetrically. I'd also like to see that it looks similar in Nasdaq or R2K futures at least, just to see that there's some generalization to other indexes. Just a few thoughts… maybe some more things to play with and think about. 🙂

  5. S&P 500 Riding Above Long Term Keltner Channel Structure | Afraid to Trade.com Blog Says:

    […] Term Keltner Channel Structure Jan 6, 2014: 4:56 PM CST Following up from prior research “Research on Buying or Fading Breakouts from the Keltner Channel,” let’s take a different perspective and view the S&P 500 from the perspective of a […]

  6. S&P 500 Riding Above Long Term Keltner Channel Structure Says:

    […] up from prior research “Research on Buying or Fading Breakouts from the Keltner Channel,” let’s take a different perspective and view the S&P 500 from the perspective of a […]

  7. S&P 500 Riding Above Long Term Keltner Channel Structure | Matt Watterson Says:

    […] up from prior research “Research on Buying or Fading Breakouts from the Keltner Channel,” let’s take a different perspective and view the S&P 500 from the perspective of a […]