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

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

author EAcpu | 5 reads | 0 comments |

IncCCIOnArray - library for MetaTrader 5

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.

IncCCIOnArray - library for MetaTrader 5


Attachment download

📎 incmaonarray.mqh (5.07 KB)

📎 inccionarray.mqh (2.91 KB)

📎 test_ccionarray.mq5 (2.37 KB)

Source: MQL5 #649

Verification code Refresh