iCCI iMA - MetaTrader 5 Expert | Forex Indicators Download - MT4/MT5 Resources

The author of the idea is Andrei , and the author of the MQL5 code is Barabashkakon .
Calculate moving averages using commodity channel index data:
//--- Create a handle for the iMA indicator handle_iMA = IMA (m_symbol.Name(), period (), 15 , 0 , mode_EMA , handle_iCCI ); //--- if the handle is not created if (handle_iMA== INVALID_HANDLE ) { //--- Inform of failure and output error code print format ( "Unable to create iMA indicator handle for symbol %s/%s, error code %d" , m_symbol.Name(), Enumeration to string ( period ()), getLastError ()); //--- The indicator stops returning early ( initialization failed ); }
It is similar to starting the Moving Average indicator in the Commodity Channel Index window of the terminal and selecting "Data of the previous indicator" in its parameters (to apply the indicator to the data of other indicators).
Principles for opening and closing positions:
EURUSD test, H1:

Attachment download
📎 icci_ima.mq5 (34.88 KB)
Source: MQL5 #18776
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •