Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Indicators

CCI_Histogram_Vol - indicator for MetaTrader 5

Views:
4737
Rating:
(12)
Published:
2018.09.27 16:00
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

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.

Fig. 1. The CCI_Histogram_Vol indicator

Fig. 1. The CCI_Histogram_Vol indicator

Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/21833

GD GD

The Generalized DEMA moving average

RSI_Histogram_Vol RSI_Histogram_Vol

The Relative Strength Index oscillator displayed as a color histogram, using volumes.

Investor_Preference_Index Investor_Preference_Index

The Investor Preference Index indicator

MA_Signal MA_Signal

The MA signal indicator