IncCCIOnArray - MetaTrader 5 Library | Forex Indicator Download - MT4/MT5 Resources

CCCIOnArray class is designed for calculating the value of the Commodity Channel Index (CCI) indicator on the buffer.
The method OnInit( ) function with the following parameters is called in the initialization( ) function:
The method OnCalculate() is called with the following parameters in the resolve() function:
Additional methods:
Test_CCIOnArray.mq5 is a sample indicator showing CCCIOnArray class application. The IncCCIOnArray file must be placed in MQL5\Include\IncOnArray in the terminal's data folder (the IncOnArray folder must be created). The CMAOnArray class in the IncMAOnArray file is required to work properly. Can be found here .
The Commodity Channel Index Technical Indicator (CCI) measures the deviation of commodity prices from their average statistical price. High values of the index indicate that the price is abnormally high compared to the average price, while low values indicate that the price is abnormally high. The price is just too low.

Attachment download
📎 incmaonarray.mqh (5.07 KB)
📎 inccionarray.mqh (2.91 KB)
📎 test_ccionarray.mq5 (2.37 KB)
Source: MQL5 #649
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •