Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

MetaTrader 5 Indicator | ColorMFI_X20

Original author:

Ivan Kornilov

Twenty MFI indicators displayed in one window. Each line can be colored depending on its position relative to overbought and oversold areas. When launching the indicator, you can change the style and color of only the first indicator line, while the remaining lines will have a similar look.

//+-----------------------------------+  //| Indicator input parameters        |  //+-----------------------------------+  input uint StartMFIPeriod=5;                       // initial period  input uint  step = 1;                              // period step  input ENUM_APPLIED_VOLUME VolumeType=VOLUME_TICK;  // volume   input uint                 HighLevel=60;           // overbought level  input uint                 MidLevel=50;            // middle level  input uint                 LowLevel=40;            // oversold level  

MetaTrader Experts, Indicators, Scripts and Libraries

Fig.1. The ColorMFI_X20 indicator

23280