CCI Pro - Divergence & Zero-Cross


Hidden Redirect Link
Loading...

CCI Pro plots a 20-period CCI with a 20-period SMA of the CCI and a trend fill that flips color at zero. The CCI line changes color by level (below -200, -200 to 0, 0 to +100, +100 to +200, above +200) so momentum is readable at a glance. It detects regular and hidden divergence by finding pivots on the CCI itself and comparing them with price at the same bars. Each divergence gets a label and a connecting trendline, and zero-line crosses are marked with circles. Note: a pivot needs 5 bars on each side to confirm, so divergence labels appear 5 bars after the pivot and are placed back on the pivot bar. Signals are not predictions or trading advice. CCI length, SMA length, pivot bars and all colors are adjustable.

© Licensed under MIT

Comments

loading