CCI candlestick patterns combine a reversal candle with the Commodity Channel Index, an oscillator that shows how far price has moved from its recent average. When CCI is stretched far above or below zero and then starts to turn back, a pattern such as a bearish engulfing or a hammer at the same spot has more context than the candle alone. CCI does not time the entry for you. The candle and its confirmation close do. This guide explains how CCI works, how to pair it with candlestick patterns, an illustrative gold trade, and two real XAUUSD charts with an honest note on what the filter did in our data.
CCI candlestick patterns: the short answer
- CCI measures distance from the average. Above +100 price is well above its recent average; below -100 it is well below it.
- Extremes are zones, not signals. In a strong trend CCI can stay beyond +100 or -100 for a long time.
- Wait for the turn. A reversal candle matters more when CCI has peaked and is heading back toward zero.
- The candle still decides. Entry, stop and target come from the pattern, not from CCI.
How the CCI indicator works
CCI was introduced by Donald Lambert in 1980. It takes the typical price of each candle, (high + low + close) divided by 3, compares it with its 20-period simple average, and divides the gap by 0.015 times the mean deviation. The result swings around zero with no fixed ceiling, and most readings stay between -100 and +100. Values beyond those lines mark an unusually large stretch. Lambert’s original idea was to trade breakouts beyond the lines. Many candlestick traders use them instead as warning zones for exhaustion, which is how this guide uses them. For direction, many traders add a moving average, and the RSI is a common second momentum check.
How to use CCI with candlestick patterns
- Step 1: find the stretch. CCI(20) moves above +100 before a bearish pattern, or below -100 before a bullish one.
- Step 2: wait for the turn. By the last pattern candle, CCI should already be heading back toward zero. That is the filter used in our scan below.
- Step 3: check the location. The best setups form at support and resistance, not in the middle of a drift.
- Step 4: trade the candle. Enter on the pattern’s confirmation close, put the stop a small buffer beyond the pattern extreme, then plan 1R and 2R targets.
- Optional. Some traders also wait for CCI to cross back inside the plus and minus 100 band. That adds patience but also lag. The ADX can show whether the move behind the stretch was strong.

Worked example: an illustrative bearish engulfing after a CCI peak on gold
Illustrative example only. The prices below were constructed for teaching. They are not taken from a live or historical chart, they are not a past result, and they are not a signal to buy or sell gold, forex or any other market.
Bearish engulfing (short), XAUUSD H1. Gold climbs from about 3,600 to 3,636 in three green candles, and CCI(20) rises to 146. A small green candle (open 3,638, close 3,650) is followed by a red candle that opens at 3,652, reaches a low of 3,624 and closes at 3,628, below the previous open: a bearish engulfing. CCI reads 139 on the first candle and 104 on the second, so it is turning down. The next candle closes at 3,614, below the engulfing candle’s low.
- Illustrative entry: 3,614 (sell at the confirmation close).
- Illustrative stop loss: 3,657, 3 dollars above the engulfing high of 3,654. Risk: 43 dollars per ounce.
- Illustrative take profit 1 (1R): 3,571. Take profit 2 (2R): 3,528.
CCI did not choose the entry. It only told us the push up was stretched and fading, which supports using this engulfing at this level.

Real gold examples: patterns after a CCI turn
The charts below use real XAUUSD candles (Dukascopy Bank public data, spot gold, Bid price; times in UTC+7). Nothing on them is edited or invented. We scanned gold’s H1 and M30 history from January 2012 to 3 December 2026 with the rules of our core pattern guides (hammer, shooting star, bullish and bearish engulfing, morning and evening star, piercing line, dark cloud cover): entry by each pattern’s rule, stop loss a small buffer beyond the pattern, take profit at 2R. A trade counted here only if CCI(20) reached +100 or higher (shorts) or -100 or lower (longs) on one of the candles from one candle before the pattern to its last candle, and had turned back toward zero by that last candle. 2236 trades passed this filter and 32.1% of them reached 2R before the stop. Without the filter, 3250 trades on the same eight patterns reached 2R in 32.8% of cases, so in our data the filter barely changed the hit rate on its own. The two charts below are selected winning examples, not typical results.
Example 1: Piercing line after a CCI turn, XAUUSD H1, 06 Dec 2024

Real XAUUSD H1 chart (Dukascopy data, UTC+7). Entry $2,625.16, stop $2,611.84, target $2,651.80: +$26.64 per 0.01 lot.
- Pattern: completed on the H1 candle that opened at 06 Dec 2024 09:00 (UTC+7).
- CCI (20): -147 at its extreme, -117 at the last pattern candle (turning back toward zero).
- Entry: Buy at $2,625.16, at the close of the candle that completes the pattern.
- Stop loss: $2,611.84, a small buffer below the pattern’s stop level at $2,612.59. Risk: $13.32 per ounce (1R).
- Take profit: $2,651.80 (2R). Price passed TP1 at $2,638.48 (1R) and reached TP2 after 30 H1 candles, at 09 Dec 2024 16:00 (UTC+7).
- Result: +$26.64 per 0.01 lot (1 ounce), or +266 pips (1 pip = $0.10).
Example 2: Bearish engulfing after a CCI turn, XAUUSD M30, 11 Jan 2025

Real XAUUSD M30 chart (Dukascopy data, UTC+7). Entry $2,686.40, stop $2,698.49, target $2,662.22: +$24.18 per 0.01 lot.
- Pattern: completed on the M30 candle that opened at 11 Jan 2025 01:00 (UTC+7).
- CCI (20): +142 at its extreme, +68 at the last pattern candle (turning back toward zero).
- Entry: Sell at $2,686.40, at the close of the confirmation candle, the first close below $2,686.88.
- Stop loss: $2,698.49, a small buffer above the pattern’s stop level at $2,697.71. Risk: $12.09 per ounce (1R).
- Take profit: $2,662.22 (2R). Price passed TP1 at $2,674.31 (1R) and reached TP2 after 39 M30 candles, at 13 Jan 2025 22:30 (UTC+7).
- Result: +$24.18 per 0.01 lot (1 ounce), or +242 pips (1 pip = $0.10).
Past results do not guarantee future results. Broker prices, spreads and slippage differ slightly from these data. Trading gold with leverage carries a high risk of loss.
Common mistakes with CCI candlestick patterns

- Selling only because CCI is above +100. In a strong trend it can stay there for many candles.
- Ignoring a CCI that keeps climbing after your pattern has formed.
- Using CCI instead of the confirmation close and a proper stop.
- Expecting CCI candlestick patterns to win more often automatically. In our scan the filter barely changed the hit rate.
FAQ
What CCI period should I use?
The standard is 20. Shorter periods react faster and give more false turns; longer periods are slower and smoother.
Is CCI above 100 a sell signal?
No. It shows a stretched move, not a turn. Wait for a reversal candle, a confirmation close and a CCI that has started to fall.
Does CCI work on every timeframe?
It can be calculated on any timeframe. On gold, H1 and M30 usually give fewer random spikes than M5.
Can CCI help with continuation setups?
Yes. In a trend, a pullback where CCI returns toward zero and turns up again can support a continuation entry, but this guide covers reversals.
Risk note: Trading gold, forex and CFDs with leverage carries a high risk of loss, including the loss of your entire deposit. This article is for information and education only and is not investment advice, not a personal recommendation and not a signal. The worked prices are illustrative. Past patterns do not guarantee future results. Use only risk capital, set a stop loss before you enter, and never size a trade so that one loss can damage your finances.
Related: ADX candlestick patterns: filter reversals with trend strength · Candlestick patterns with RSI divergence: how to combine them and an example entry · Candlestick patterns with moving averages: trade the pullback with an example entry · Bearish engulfing candlestick pattern: how to identify it and an example entry · Support and resistance candlestick patterns: trading key levels with an example entry
Sources: Commodity Channel Index (CCI) · Thomas Bulkowski, The Pattern Site — Bearish engulfing
A note from TopFundTrading
Trading gold, forex and CFDs with leverage carries a high risk of loss, including the loss of your entire deposit. This article is for information and education only and is not investment advice.
If you want to trade larger capital without risking your own savings, you can consider a funded-trader challenge. WeMasterTrade is listed #1 (9.7/10) in TopFundTrading’s own prop-firm ranking – our editorial listing, not an independent rating.
Sign up for a WeMasterTrade account now
Referral link: topfundtrading.com may earn a commission if you sign up through this link.


Français
简体中文
繁體中文
한국어
Русский


