Skip to content
All library documents

Using CCI Overbought and Oversold Levels to Highlight Candles

Article MQL5 code base

Summary

This indicator changes how candlesticks are drawn when the Commodity Channel Index (CCI) reaches configured overbought or oversold thresholds. The documented defaults are positive and negative levels around the commonly used CCI extremes, and users can adjust these inputs to define when the candle treatment applies. The indicator is a visual aid for spotting periods when price movement coincides with those CCI zones.

The document identifies the indicator’s author and notes that it was first implemented in MetaTrader 4 before appearing in the MetaTrader code library. It provides no test results, trading rules, or evidence that a threshold crossing predicts a reversal or continuation. CCI extremes can persist during strong trends, so the visual signal alone does not define an entry, exit, or risk control method. Its value is therefore limited to chart interpretation unless paired with a separately evaluated strategy.

Key ideas

  • The indicator alters candle display when CCI reaches configured extreme levels.
  • Users can change the overbought and oversold thresholds.
  • The display highlights conditions but does not itself define a trade entry or exit.
  • No performance evidence or predictive claim is provided.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.