CCI Color – indicator MetaTrader 5

CCI Color
The idea of the indicator The principle of coloring the iCCI indicator line:       //— zero crossing       if(CCI_Buffer[i-1]<0.0 && CCI_Buffer[i]>=0.0)          CCC_Colors[i]=1.0;       if(CCI_Buffer[i-1]>0.0 && CCI_Buffer[i]<=0.0)          CCC_Colors[i]=0.0;       //—       if(CCI_Buffer[i]>=0.0)          CCC_Colors[i]=1.0;       else          CCC_Colors[i]=0.0; Rice. 1. Two iMA Formula Remember: Oscillator signals must be confirmed with a trend indicator CCI Color – indicator MetaTrader 5

MT5 CCI with shift parameter – indicator MetaTrader 5

MT5 CCI with shift parameter - indicator for MetaTrader 5
A simple extension to the CCI indicator using the iCCI function call. Now you have a shift parameter which will shift the plot by user defined bars. This is somewhat an educational code as it reveals how to apply a shift feature to any indicator based on shifting the buffer index. When you use [i … Read more