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 | CCI_Candle_Vol

CCI_Histogram_Vol indicator in the candlestick form. Candlesticks appear as a result of relevant price timeseries processed by the indicator algorithm. In many situations, such approach may be more informative for the purpose of analysis.

In this version of the indicator, it is more reasonable to apply only one overbought and oversold level. The channel formed between these levels is colored lavender-blue and all candles closed inside this channel are colored classic green and red colors depending on the direction of the candle. Candles closed outside the channel are either aquamarine-blue or yellow-brown, depending on their direction to the channel.

//+-----------------------------------------+  //|  INDICATOR INPUT PARAMETERS             |  //+-----------------------------------------+  input uint                CCIPeriod=14;             // indicator period  input ENUM_APPLIED_VOLUME VolumeType=VOLUME_TICK;   // volume   input int                 HighLevel=+100;           // overbought level  input int                 LowLevel=-100;            // oversold level  input uint                Gap=10;                   // unconsidered gap in points  input int                 Shift=0;                  // Horizontal indicator shift in bars  

MetaTrader Experts, Indicators, Scripts and Libraries

Fig. 1. CCI_Candle_Vol

21916