Donald Lambert built CCI around a twenty-bar window. The scalping cci indicator runs it at five. That makes the reading far quicker and far noisier, which is the deliberate trade for a tool meant for a fast chart rather than a daily one.
This build ships as a compiled .ex4 for MT4 and .ex5 for MT5.
| Platforms | MT4 (.ex4) + MT5 (.ex5) |
|---|---|
| Chart window | Separate window |
| Plots | 1: CCI |
| Alerts | popup, push notification, email, sound |
| Inputs | 7 |
What the Scalping cci Indicator draws on the chart
One magenta plot, and that is the lot.
`CCI` occupies its own pane under the candles.
Zero marks where the bar sits at the recent mean.
The vertical axis has no fixed top or bottom.
You get no signal line to cross.
Candles above stay entirely unmarked.
- CCI: plot, magenta

How the Scalping cci Indicator calculates its values
Typical price first
Each bar contributes one figure. High, low and close averaged together, which is Lambert’s definition and takes the whole bar into account.
Distance from the mean
Two numbers come out of `Period` `5`. The mean of those typical prices, and the average distance each one sat from that mean.
The constant
0.015 scales the result. Lambert picked that constant so most readings land between minus one hundred and plus one hundred, and this build keeps it.
How to read the signals
Above one hundred is a stretched reading upward.
Below minus one hundred says the same downward.
Five bars reaches those levels far more often than twenty.
Zero means the current bar sits at the recent mean.
Nothing bounds the scale, so extremes vary.
The reading whips about on a slow chart.
Alert channels in this build: popup, push notification, email and sound, one message per closed bar.
`EnableAlerts` decides whether reading messages go out, and it arrives on with `EnablePopup`. The rest stay dark: `EnablePushNotify` sends to your phone, `EnableEmail` mails out, and `EnableSound` sounds whatever `SoundFile` names.
Every Scalping cci Indicator input
Core settings
| Setting | What it does | Default |
|---|---|---|
Period |
How many bars the window covers, `5`. | 5 |
Alert settings
| Setting | What it does | Default |
|---|---|---|
EnableAlerts |
Whether reading messages go out, `true`. | on |
EnablePopup |
Shows one in a MetaTrader box, `true`. | on |
EnablePushNotify |
Sends one to your phone, `false`. | off |
EnableEmail |
Mails one out, `false`. | off |
EnableSound |
Sounds one on the desktop, `false`. | off |
SoundFile |
File the reading sound plays, `”alert.wav”`. | alert.wav |

Settings that fit your chart
Five bars makes the chart choice matter more than usual. EURUSD M5 suits it, where the reading crosses both extremes several times a session. Move up to H1 and it turns jumpy. On daily bars it is close to unusable.
When the Scalping cci Indicator fails
A five-bar window reacts to almost any bar.
Both extremes get reached constantly.
No fixed scale means no level travels between symbols.
Typical price hides where the bar actually closed.
Copy the compiled Scalping 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 Scalping cci Indicator for MT4 and MT5
The zip holds the compiled Scalping 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 does Period 5 replace the usual twenty?
Because the tool targets fast charts. Five bars reacts within a candle or two where twenty would still be describing the last hour, and the cost is a reading that reaches its extremes far more often.
Why does the CCI plot include a 0.015 factor?
For scaling. Lambert chose that constant so roughly seven readings in ten land between minus one hundred and plus one hundred, which is what makes those two figures useful reference levels at all.
Does the CCI plot use closes or typical price?
Typical price, the average of high, low and close. Lambert defined it that way, which means a long wick still registers rather than dropping out the way a close-only reading would.
How far can the Period 5 reading travel?
A long way. Nothing bounds the scale, and with a five-bar window one large bar can push it well past two hundred, which is why a borrowed overbought level works poorly on this version.
Are results guaranteed?
No. Trading involves risk. Results are not guaranteed; past performance is not indicative of future results. Use the Scalping cci Indicator as one input. Always backtest before trading live.
Category: this is part of our Oscillators collection. Browse more Oscillators for MetaTrader, or explore every MT4 indicator and MT5 indicator on the site.
External references
- For background on this concept, see Microexchanges on Wikipedia.
- For broader market context, see Prings Special K at StockCharts ChartSchool.
