Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

XCCI - MetaTrader 5 Script | Forex Indicator Download - MT4/MT5 Resources - MetaTrader 5 Resources

author EAcpu | 6 reads | 0 comments |

XCCI - indicator for MetaTrader 5

The indicator is a standard Commodity Channel Index with a standard average deviation formula as well as the possibility to choose a smoothing algorithm and dynamically change oversold/overbought levels.

The only difference between this indicator and its standard equivalent is that the smoothing algorithm can be changed by selecting the appropriate one of the ten existing algorithms:

It should be noted that the Phase parameter has completely different meanings for different smoothing algorithms.

Oversold/overbought levels are expressed in dynamically changing variables based on Bollinger Bands® which provide them with more accurate work.

The indicator uses the SmoothAlgorithms.mqh library class (must be copied to terminal_data_folder\MQL5\Include). The use of the class "Average price series for intermediate calculations without using additional buffers" is described in detail in the article.

XCCI - indicator for MetaTrader 5


Attachment download

📎 smoothalgorithms.mqh (133.8 KB)

📎 xcci.mq5 (8.48 KB)

📎 xcci_bb.mq5 (11.93 KB)

Source: MQL5 #490

Verification code Refresh