CCI Prefiltered Histo (MT4)
CCI Prefiltered Histo is a Commodity Channel Index with an extra prefilter stage and a histogram view. The prefilter tames noise before CCI is calculated, so you get cleaner zero-line regimes and clearer momentum swings on MetaTrader 4.
What it shows
- Histogram above 0 → bullish pressure; below 0 → bearish pressure.
- Color flips (if enabled) visualize momentum turns.
- Prefilter smooths input data, reducing whipsaws versus raw CCI.
Trade ideas
- Zero-line regime: trade buy setups while the histogram holds > 0, sell setups while < 0.
- Pullback timing: after a trend push, enter on shallow pullbacks when the histogram stays on the same side of 0.
- Exhaustion: fading histogram height after a long run → scale out or tighten stops.
- (Optional) Divergence: price makes a new extreme but the histogram doesn’t — treat as an early warning.
Inputs that matter
- CCI period — the classic length (e.g., 14/20).
- Prefilter period/type — amount and method of pre-smoothing.
- Price source — Close/Typical/Weighted, etc.
- Alerts — crossovers, zero-line, color flips.
- Colors/widths — quick state recognition.
Suggested usage
- M5–M15: intraday mean-reversion and trend pullbacks.
- M30–H4: swing participation with zero-line as a regime filter.
- Combine with ATR-based stops and multi-timeframe context.
Installation (MT4)
- Open MetaTrader 4 → File → Open Data Folder.
- Copy
cci-pre-filtered-histo.ex4
to MQL4/Indicators. - Restart MT4 (or refresh Navigator) and attach CCI Prefiltered Histo to a chart.
- Tweak inputs → OK.
FAQ
Does it repaint? No — values are calculated on closed candles.
Can I use it in EAs? Yes, via iCustom
.
Markets? FX majors/crosses, indices, metals — anything available on MT4.
Disclaimer: Test on a demo account first; no indicator guarantees profits.