Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

CCI_Histogram_Vol - MetaTrader 5 Script | Trading Script Download - MT4/MT5 Resources

author EAcpu | 2 reads | 0 comments |

CCI_Histogram_Vol - indicator for MetaTrader 5

This Commodity Channel Index uses volume to display the oscillator as a color histogram.

Calculation formula:

 CCI Histogram Vol = CCI * Volume

For perfectly understandable reasons, the same formula should be used to recalculate overbought and oversold levels in such modified oscillators. This has been implemented. In the final version, these levels are no longer permanent. Two levels with appropriate breakout indications are used.

 Enter an integer High level 2 = + 100 ; // Overbought level 2
Enter an integer High level 1 = + 80 ; // Overbought level 1
Enter an integer low level 1 = - 80 ; // oversold level 1
Enter an integer low level 2 = - 100 ; // Oversold level 2

In the indicator input parameters, these levels are expressed as the levels of the source CCI, which are then multiplied by the volume of each indicator tick.

CCI_Histogram_Vol - indicator for MetaTrader 5

Figure 1. CCI_Histogram_Vol indicator


Attachment download

📎 cci_histogram_vol.mq5 (23.96 KB)

Source: MQL5 #21833

Verification code Refresh