Breakout strategy

CCI 100 breakout strategy

Buy when the Commodity Channel Index crosses above +100, sell when it crosses below −100: the trend reading of the levels Donald Lambert set when he presented CCI in 1980.

Open in the builderCan be built on the Free plan.

History

Who and when: Donald Lambert, in Commodities magazine, 1980.

Donald Lambert developed the Commodity Channel Index and presented it in Commodities magazine in 1980. He built it to find cyclical turns in commodities; it is now used on other markets as well. CCI measures how far the price is from its own average, 20 bars by default, and the levels +100 and −100 mark an unusually strong move.

The rule here is the trend reading of those levels: a move above +100 is taken as the start of a strong upward move and a buy; a move below −100 as the start of a strong downward move and a sell.


The rule as the source states it

One page: a surge above +100 can signal the start of an uptrend, a plunge below −100 the start of a downtrend. The other: buy when CCI moves above +100; sell when it moves below −100, and close that position when CCI rises back above −100.


Our version

CCI(20) of the typical price on 1-hour bars of a currency pair. Buy when CCI crosses above +100. Sell short when CCI crosses below −100. An opposite signal closes the trade and reverses it.


How ours differs

  • No close when CCI comes back inside the level: ours holds the trade until the opposite signal, which is the trend reading.
  • One source advises confirming with other tools; ours uses CCI alone.
  • Like every library file, ours also adds the builder's default stop, position size and account limits (Steps 5 and 6). You can change them in the form.

Sources


Questions

Who created the CCI 100 breakout strategy, and what are its rules?

Donald Lambert, in Commodities magazine, 1980. CCI(20) of the typical price on 1-hour bars of a currency pair. Buy when CCI crosses above +100. Sell short when CCI crosses below −100. An opposite signal closes the trade and reverses it. Being well known says nothing about how a strategy will do. Test it on your own data.

Can I build the CCI 100 breakout strategy without coding?

Yes. "Open in the builder" opens it in the AlfaTactix strategy builder with every rule already filled in, so you can read each step and change it. From a saved strategy the builder generates the code for MetaTrader 5 (MQL5) and TradingView (Pine Script v6).