Smoothing twice is not the same as smoothing once with a longer window. The cci ma x2 smoothed mtf indicator does the former, reading its raw figure from a slower chart and then passing it through two short averages so you can see the reading and its two softened versions side by side.
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 100 / 0 / -100) |
| Plots | 3: CCI (UpperTF), EMA1(CCI), EMA2(EMA1(CCI)) |
| Alerts | popup, push notification, email, sound |
| Inputs | 11 |
Plots, colours and placement
Three curves, in a pane below price.
`CCI (UpperTF)` traces silver at width 1.
`EMA1(CCI)` traces dodger blue over it.
`EMA2(EMA1(CCI))` traces orange red at width 2.
Reference lines sit at 100, zero and minus 100.
Nothing is drawn on the candles.
- CCI (UpperTF): line, silver, width 1
- EMA1(CCI): line, dodger blue, width 1
- EMA2(EMA1(CCI)): line, orange red, width 2

What happens behind it
Reading a slower chart
`UpperTF` `PERIOD_H4` supplies the raw figure. `CciPeriod` `14` and `AppliedPrice` `PRICE_TYPICAL` govern it, so each bar’s high, low and close all contribute.
The first pass
`SmoothPeriod1` `5` runs an exponential average over the raw series itself. That removes the single-bar spikes the calculation is known for without shifting the shape much.
The second pass
`SmoothPeriod2` `5` averages the already-averaged curve. Two short passes bend more gently than one long pass would, which is the whole reason for doing it twice.
What to look for
Silver is raw and jumps the most.
Blue is one pass softer.
Orange red is the calmest of the three.
The gap between blue and orange red shows momentum.
Crossings between them come later than the raw turns.
Warm-up needs about twenty-six higher bars.
Alert channels in this build: popup, push notification, email and sound, one message per closed bar.
A crossing between the two smoothed curves is what reports. `EnableAlerts` decides whether it speaks and it comes up as a terminal box already. A handset, mail and the desktop clip behind `SoundFile` all wait.
Every Cci Ma X2 Smoothed Mtf Indicator input
Core settings
| Setting | What it does | Default |
|---|---|---|
UpperTF |
Higher timeframe for CCI source. Chart the raw figure comes from, `PERIOD_H4`. | PERIOD_H4 |
CciPeriod |
CCI lookback. Bars in that figure, `14`. | 14 |
SmoothPeriod1 |
First EMA smoothing. First exponential pass, `5`. | 5 |
SmoothPeriod2 |
Second EMA smoothing. Second pass over the first, `5`. | 5 |
AppliedPrice |
CCI applied price. Price the calculation reads, `PRICE_TYPICAL`. | PRICE_TYPICAL |
Alert settings
| Setting | What it does | Default |
|---|---|---|
EnableAlerts |
Whether a crossing speaks at all, `true`. | on |
EnablePopup |
It comes up as a terminal box, `true`. | on |
EnablePushNotify |
A handset can have it, `false`. | off |
EnableEmail |
Mail can have it, `false`. | off |
EnableSound |
(see inputs panel) | off |
SoundFile |
Clip for the desktop route, `”alert.wav”`. | alert.wav |

Fitting it to a chart
Reading H4 while watching something faster is the pairing this was built for. EURUSD H1 is the reference chart, giving four bars per higher reading. On M15 you get sixteen. Opening it on H4 itself turns off the whole point.
Where the Cci Ma X2 Smoothed Mtf Indicator struggles
Two passes stack two lags on top of the reading.
A slower chart means fewer genuine turns.
Three curves close together take practice to separate.
Reference lines are conventions, not boundaries.
Copy the compiled Cci Ma X2 Smoothed Mtf 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.
Background reading on the method behind the Cci Ma X2 Smoothed Mtf Indicator: Commodity channel index on Wikipedia, Commodity Channel Index at StockCharts ChartSchool.
Download the Cci Ma X2 Smoothed Mtf Indicator for MT4 and MT5
The zip holds the compiled Cci Ma X2 Smoothed Mtf 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 smooth twice instead of using a longer CciPeriod?
Because the two produce different shapes. A longer window flattens the extremes, while two short passes keep the reading’s range and only remove the jitter, which is why the orange red curve still reaches its levels.
What does AppliedPrice PRICE_TYPICAL include?
The average of each bar’s high, low and close. Using all three means a bar with a long wick still registers, where a close-only setting would treat it as if nothing had happened.
Does UpperTF PERIOD_H4 have to be slower than my chart?
It should be, or the mapping does nothing. Set to the same timeframe you are watching, the tool reduces to an ordinary smoothed reading and the higher-chart label on the silver curve becomes misleading.
Does the CCI (UpperTF) curve join the crossing?
No, it is drawn for context only. The reported condition is the two smoothed curves crossing each other; the raw silver line crosses both of them constantly and takes no part in it.
Are results guaranteed?
No. Trading involves risk. Results are not guaranteed; past performance is not indicative of future results. Use the Cci Ma X2 Smoothed Mtf 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
- Learn more about the underlying method in CCI Correction at StockCharts ChartSchool.
- For wider market background, see Three white soldiers on Wikipedia.
