STD‑Based CCI (MT5)
STD‑Based CCI augments the classic Commodity Channel Index with standard‑deviation aware bands and smoothing. It keeps the familiar zero / ±100 logic while adapting thresholds to volatility, giving cleaner extremes, earlier flips and actionable alerts in MetaTrader 5.
What it shows
- CCI line around zero — bias by sign; watch ±100 / ±200 style zones.
- STD‑adaptive bands/zones — bands widen in high vol and tighten in low vol to stabilize signals.
- (Optional) arrows/alerts — zone crosses, zero crosses, slope flips and divergence hints.
Trade ideas
- Trend pullback: with higher‑TF uptrend, buy when CCI pulls from +extreme toward zero then hooks up; mirror for shorts.
- Flip + first retest: after a zero‑cross, take the first retest of the adaptive mid‑zone that holds.
- Range mean‑reversion: fade exhausted ±extremes back to zero (seek confirmation).
- (Optional) Volatility filter: require band expansion → contraction → expansion sequence to time breakouts.
Inputs that matter
- CCI period — responsiveness vs stability.
- STD window / multiplier — adaptivity of zones.
- Smoothing — reduce noise without lag.
- Alerts — zero/zone crosses, slope flips, extremes.
- Colors/widths — quick visual read.
Suggested usage
- M5–M15: intraday pullbacks & quick reversions.
- M30–H4: swing continuations with zone filter.
- Daily+: portfolio regime/bias read.
Installation (MT5)
- Open MetaTrader 5 → File → Open Data Folder.
- Copy
cci-variation.ex5
to MQL5/Indicators. - Restart MT5 (or refresh Navigator) and attach STD‑Based CCI.
- Tweak inputs → OK.
FAQ
Does it repaint? No on closed bars; crosses confirm at close.
Use in EAs? Yes, via iCustom
.
Markets? FX, indices, metals, crypto — anything on MT5.
Disclaimer: Test on a demo account first; risk management is essential.