Categories

Tipu CCI Indicator MT4
The Commodity Channel Index is one of the oldest oscillators in the book, first introduced by Donald Lambert in 1980 to measure how far price has strayed from its average. Tipu CCI takes that same standard formula and wraps it in three-color zone shading plus optional arrow, line, and alert signals, so you get the…
Download the Tipu CCI Indicator MT4The Commodity Channel Index is one of the oldest oscillators in the book, first introduced by Donald Lambert in 1980 to measure how far price has strayed from its average. Tipu CCI takes that same standard formula and wraps it in three-color zone shading plus optional arrow, line, and alert signals, so you get the classic CCI reading with a lot less squinting at raw numbers. Download it below and drop it in a subwindow under any chart.
What Is Tipu CCI?
Tipu CCI calculates the standard CCI using MetaTrader’s built-in iCCI() function over iCCI_Period bars (14 by default) on the eAppliedPrice you choose (Typical Price by default). Rather than plotting it as a single line, it splits the reading into three separate histogram buffers based on where the current value sits relative to two threshold inputs: an aqua buy-zone histogram when CCI is at or above iCCI_OB, an orange-red sell-zone histogram when CCI is at or below iCCI_OS, and a silver neutral histogram when it’s sitting between the two. Both thresholds default to 0, which turns this into a simple midline-cross trend tool out of the box rather than the classic ±100 overbought/oversold system — you can set iCCI_OB and iCCI_OS to 100 and -100 if you want the traditional CCI extremes instead.
Whenever CCI crosses from neutral into the buy or sell zone, the indicator marks that exact bar with either an arrow (offset iAOffset pips above or below the candle) or a vertical line, depending on the eMarkSignals setting, and can trigger an on-screen alert, mobile push notification, or email through the bAlertBuy/bAlertSell toggles.
Key Features
- Standard CCI math — built on MetaTrader’s native iCCI() function, so the underlying calculation matches the platform’s built-in CCI exactly.
- Three-color zone histogram — CCI is automatically color-coded into buy, sell, and neutral zones based on iCCI_OB and iCCI_OS, so directional bias is visible without reading raw values.
- Configurable OB/OS thresholds — default to 0 for a simple midline-flip system, or set to ±100 to recreate the traditional CCI overbought/oversold bands.
- Arrow or vertical-line signal marking — the eMarkSignals input lets you choose arrows, vertical lines, or no chart markers at all for zone-cross signals.
- Built-in alerts — independent toggles for on-screen alert, mobile push notification, and email whenever a new buy or sell signal fires, with an adjustable bar-shift (iAlertShift) controlling which bar the alert condition checks against.
How to Use It
Copy the compiled indicator into MQL4/Indicators, restart or refresh MetaTrader 4, and drag it onto a chart — it opens in its own subwindow below price. Set iCCI_Period and eAppliedPrice to match your own CCI preferences if you don’t want the 14-period Typical Price default.
Decide how you want to define the buy/sell zones: leave iCCI_OB and iCCI_OS at 0 for a straightforward midline system where any positive CCI reading is treated as bullish bias and any negative reading as bearish, or set them to 100 and -100 if you want signals restricted to classic CCI overbought/oversold extremes. Choose eMarkSignals to mark crossings with Arrows, a VLine, or None if you’d rather read the histogram color alone.
Turn on bAlertBuy and bAlertSell if you want to be notified rather than watching the chart. bAlertS fires an on-screen MetaTrader alert, bAlertM sends a mobile push notification, and bAlertE sends an email — all three can be combined. iAlertShift defaults to 1, meaning the alert condition is checked against the most recently closed bar rather than the live, still-forming one, which avoids firing an alert on a signal that could still change before the bar closes.
Best Timeframes / Best Use Cases
CCI is a general-purpose oscillator and Tipu CCI doesn’t restrict that — every input is adjustable, so it works the same way on any timeframe or symbol. With the default OB/OS of 0 it behaves more like a trend-bias tool that flips on every midline cross; traders who specifically want the classic overbought/oversold reversal reading should widen the thresholds to ±100 or beyond.
Final Thoughts
There’s nothing exotic under the hood here — it’s the standard CCI formula, presented with practical zone coloring and notification options layered on top instead of reinvented from scratch. That’s a feature, not a limitation: you know exactly what math is driving the signals.
- iCCI_Period (default 14) — Averaging period for the underlying CCI calculation.
- eAppliedPrice (default PRICE_TYPICAL) — Price series the CCI calculation is applied to.
- iCCI_OB (default 0) — CCI level at or above which a bar is classified into the buy zone and histogram-colored accordingly.
- iCCI_OS (default 0) — CCI level at or below which a bar is classified into the sell zone and histogram-colored accordingly.
- eMarkSignals (default Arrows) — Chooses how buy/sell zone crossings are marked on the chart: Arrows, a vertical line (VLine), or None.
- iAOffset (default 5) — Pip offset used to place arrow signals above or below the candle they're marking.
- iAlertShift (default 1) — Which bar shift the buy/sell alert condition is checked against; 1 checks the most recently closed bar rather than the live forming bar.
- bAlertBuy / bAlertSell (default true / true) — Independently enable or disable alerts for new buy signals and new sell signals.
FAQs About the MT4 Tipu CCI Indicator MT4
Is this the standard CCI formula or something custom?
It’s the standard Commodity Channel Index, calculated using MetaTrader’s built-in iCCI() function over the iCCI_Period and applied price you set — nothing about the core math is altered.
Why do the overbought/oversold levels default to 0 instead of 100/-100?
The default setup treats CCI as a simple midline-flip trend tool — any reading above 0 is the buy zone, below 0 is the sell zone. Set iCCI_OB to 100 and iCCI_OS to -100 to use the traditional CCI overbought/oversold bands instead.
Does Tipu CCI repaint?
No, not in the sense of confirmed signals changing after the fact. The recalculation window only touches the newest bar or two on each tick, so once a bar closes its CCI value, zone, and signal are locked in. The still-forming current bar naturally updates until it closes, which is normal oscillator behavior.
What's the difference between Arrows, VLine, and None for eMarkSignals?
Arrows plots a small arrow above or below the candle where CCI crosses into a zone (offset by iAOffset pips). VLine draws a vertical line through that bar instead. None disables chart markers entirely, leaving only the histogram color to read.
How do I get notified when a signal fires?
Enable bAlertBuy and/or bAlertSell, then choose delivery through bAlertS (on-screen alert), bAlertM (mobile push notification), or bAlertE (email) — any combination can be active at once.
What does iAlertShift control?
It sets which bar the alert condition is evaluated against. The default of 1 checks the most recently closed bar rather than the live forming bar, so alerts fire on confirmed signals rather than ones that could still change.
