The dr bob cci indicator runs the same reading at three speeds. Its fast line crossing zero is the trigger. Two slower ones then decide whether that counts, because a mark prints only when all three sit on the same side. A common signal becomes a rare one.
This build ships as a compiled .ex4 for MT4 and .ex5 for MT5; the screenshots below come from EURUSD H1.
| Platforms | MT4 (.ex4) + MT5 (.ex5) |
|---|---|
| Chart window | Separate window (levels 0) |
| Plots | 5: CCI Fast, CCI Mid, CCI Slow, Buy Signal, Sell Signal |
| Alerts | popup |
| Inputs | 5 |
What the DR Bob CCI Indicator draws on the chart
Three lines and two marks in the pane.
`CCI Fast` runs dodger blue at width 2.
`CCI Mid` runs orange beside it.
`CCI Slow` runs magenta.
`Buy Signal` uses arrow 233 in lime.
`Sell Signal` uses arrow 234 in red.
- CCI Fast: line, dodger blue, width 2
- CCI Mid: line, orange, width 2
- CCI Slow: line, magenta, width 2
- Buy Signal: arrow, lime, width 3, arrow code 233
- Sell Signal: arrow, red, width 3, arrow code 234

How the DR Bob CCI Indicator calculates its values
Three windows
One call each. `InpFastPeriod` `7`, `InpMidPeriod` `14` and `InpSlowPeriod` `28` each run iCCI on typical price. Each length doubles the one before it.
The trigger
Only the fast line fires it. A move from at or below zero to above it is a buy trigger. The mirrored move is a sell trigger.
The agreement test
All three must line up. Every reading has to sit above zero for the buy mark to print. One line on the wrong side blocks it entirely.
How to read the signals
Zero is the midline for all three readings.
A mark means the fast line crossed with the others already there.
Three lines spread wide describe a strong move.
Lines tangled around zero describe a range.
The slow line changes side least often.
Marks are drawn on the fast line itself.
Alert channels in this build: popup, one message per closed bar.
`InpEnableAlerts` is the only alert control here and ships true. It raises a terminal message when a mark prints on a closed bar. This build carries no phone, mail or sound route.
Every DR Bob CCI Indicator input
Core settings
| Setting | What it does | Default |
|---|---|---|
InpFastPeriod |
CCI fast period. Shortest window, `7`. | 7 |
InpMidPeriod |
CCI mid period. Middle window, `14`. | 14 |
InpSlowPeriod |
CCI slow period. Longest window, `28`. | 28 |
Display settings
| Setting | What it does | Default |
|---|---|---|
InpArrowOffset |
Arrow vertical offset (CCI units). Mark offset in reading units, `0.0`. | 0.0 |
Alert settings
| Setting | What it does | Default |
|---|---|---|
InpEnableAlerts |
Enable alerts on signal. Alert on a signal, `true`. | on |

Settings that fit your chart
Three windows from seven to twenty-eight bars need a chart with sustained moves. EURUSD H1 is the reference chart. Marks come a few times a week there. On M5 the fast line crosses zero constantly. On H4 they are rare.
When the DR Bob CCI Indicator fails
Waiting for all three means the mark arrives late.
The slow line can block a genuine early turn.
In a range the fast line crosses with nothing behind it.
Typical price smooths away the closing detail.
Copy the compiled DR Bob CCI Indicator file into your MQL4/Indicators folder, and the MT5 build into MQL5/Indicators, then restart the terminal and drag it onto a chart. The step-by-step guide with screenshots is at how to install MT4 and MT5 indicators.
Download the DR Bob CCI Indicator for MT4 and MT5
The zip holds the compiled DR Bob CCI Indicator build for MT4 and MT5, plus a short README. Compiled files only, no source. Enter your email below and the download link arrives in your inbox.
Download this indicator free
Enter your email and the file is yours. You also get the full MT4 and MT5 library.
FAQ
Why do InpFastPeriod and InpSlowPeriod double?
Seven, fourteen and twenty-eight each double the one before, which spaces the three readings evenly in behaviour. Windows closer together would agree almost all the time and add nothing to the fast line alone.
What blocks a Buy Signal from printing?
Any of the three readings sitting below zero. The fast line crossing up is only the trigger; the mid and slow lines have to already be above zero for the mark to appear.
What price do InpFastPeriod and InpMidPeriod read?
Typical price, the average of high, low and close. Donald Lambert defined CCI that way, so all three windows read the whole bar rather than only where it finished.
What does InpArrowOffset 0.0 change?
Where the mark sits vertically, measured in reading units rather than price. At zero the arrows sit exactly on the fast line, and raising it lifts them clear if the lines crowd together.
Are results guaranteed?
No. Trading involves risk. Results are not guaranteed; past performance is not indicative of future results. Use the DR Bob CCI Indicator as one input. Always backtest before trading live.
Category: this is part of our Oscillators collection. Also, truly, browse more Oscillators for MetaTrader, or explore every MT4 indicator and MT5 indicator on the site.
External references
- The core method is documented in Bob Farrells 10 Rules at StockCharts ChartSchool.
- Additional market context is at Exchange rate regime on Wikipedia.
