CCI_Histogram_Vol – indicator MetaTrader 5

The Commodity Channel Index oscillator displayed as a color histogram, using volumes.

Calculation formula:

CCI Histogram Vol = CCI * Volume

For quite understandable reasons, the recalculation of overbought and oversold levels in such a modified oscillator should be performed using the same formula. This was implemented. In the final version, these levels are no longer permanent. Two levels with the appropriate breakout indication were used.

input int                 HighLevel2=+100;          // Overbought level 2
input int                 HighLevel1=+80;           // Overbought level 1
input int                 LowLevel1=-80;            // Oversold level 1
input int                 LowLevel2=-100;           // Oversold level 2

In the indicator input parameters, these levels are presented as the levels of the source CCI, and then multiplied by volumes at each indicator tick.

Alternative:  XmlParser - library MetaTrader 5

Fig. 1. The CCI_Histogram_Vol indicator

Fig. 1. The CCI_Histogram_Vol indicator


📈 ROBOTFX MetaTrader Expert Advisors and Indicators to maximize profits and minimize the risks