Commodity Channel Index (CCI) – indicator MetaTrader 5

Commodity Channel Index indicator
Commodity Channel Index technical indicator (CCI) measures the deviation of the commodity price from its average statistical price. High values of the index point out that the price is unusually high being compared with the average one, and low values show that the price is too low. In spite of its name, the Commodity Channel … Read more

Example of Commodity Channel Index Automated – EA MetaTrader 4

Example of Commodity Channel Index Automated - expert for MetaTrader 4
Real author: Mohammad Soubra Commodity Channel Index or CCI is a great indicator in financial markets (forex too). it is used here as an example only for coders (not a profitable EA). it depends on the typical price of CCI to open buy/sell orders as below conditions: double CCI_Typical_Curr=iCCI(NULL,0,CCIPeriod,PRICE_TYPICAL,0); double CCI_Typical_Prev=iCCI(NULL,0,CCIPeriod,PRICE_TYPICAL,1); // Here is the … Read more

Exponential Commodity Channel Index – indicator MetaTrader 4

Exponential Commodity Channel Index - indicator for MetaTrader 4
An implementation of the Commodity Channel Index using exponential moving averages, instead of simple moving averages as implemented by the its creator, Donald Lambert. The code uses conditional compilation and will compile on both MQL4 and MQL5. Please note that all my CodeBase publications’ source code are now also available in “Public Projects” tab of … Read more

Exponential Commodity Channel Index – indicator MetaTrader 5

Exponential Commodity Channel Index - indicator for MetaTrader 5
An implementation of the Commodity Channel Index using exponential moving averages, instead of simple moving averages as implemented by the its creator, Donald Lambert. The code uses conditional compilation and will compile on both MQL4 and MQL5. Please note that all my CodeBase publications’ source code are now also available in “Public Projects” tab of … Read more