The custom indicator CCI_Divergence draws the CCI indicator line in a separate window and displays found divergences in the indicator window and on the price chart.
The indicator has four input parameters:
- Period - CCI calculation period;
- Applied price - the calculation price;
- Bullish color - the color of bullish signal arrows and lines;
- Bearish color - the color of bearish signal arrows and lines;
