AlgoBot CCI Hunter is a comprehensive oscillator-based tool for identifying momentum shifts, pullback entries, and divergence-driven reversals. It combines a fast/slow CCI framework with five signal families and optional divergence analysis to suit different trading styles. The script includes a stop‑loss helper that plots recent extremes for risk placement, flexible alerting, and clean visual cues on both the oscillator and price chart. With adjustable sensitivities and clear controls for repaint handling, AlgoBot CCI Hunter streamlines discretionary CCI trading from signal discovery to execution.
Key Features
Configurable CCI Framework
Set independent lengths for Fast and Slow CCI to balance responsiveness and trend context. The fast line drives timing, while the slow line defines direction and structure, allowing the indicator to adapt to a wide range of assets and timeframes.

Five Signal Families (A–E)
Enable any combination of signals: A (Fast/Slow cross), B (with‑trend entry after a one‑bar pullback), C (with‑trend entry after a three‑bar correction), D (trend change on CCI regime shift), and E (with‑trend first pullback). Each family can be toggled independently for display and alerts.

Divergence Detection Suite
Detect regular and hidden bullish/bearish divergences with granular pivot controls. Choose the divergence source (Fast or Slow CCI), plot on the oscillator and/or directly on the price chart, and constrain searches with left/right pivots and min/max lookback ranges.

No‑Repaint Confirmation Option
Use the “No Repaint (wait for candle close)” toggle to confirm divergence signals only after bar close. This reduces premature markings and improves the reliability of divergence events in live trading.

Stop‑Loss Helper with Recent Extremes
Plot dynamic support/resistance lines derived from recent highs/lows using a configurable lookback. Lines are shown in the current trend direction to assist with initial stop placement and trade management.

Comprehensive Alerting
Turn on alerts for signals and/or divergences with ready‑made alert conditions. You can use preset alerts per event or the “Any alert() function call” approach to receive a unified message summarizing detected signals and divergences on bar close.

Clear Visuals and Labels
See the Slow CCI as an area plot with contextual shading, the Fast CCI as a line, and threshold guides at ±100/±200. Signals A–E are labeled on the chart/oscillator for quick recognition and review.

AlgoBot CCI Hunter Key Features Summary
- Configure Fast and Slow CCI lengths for responsiveness and trend context
- Toggle five signal families (A–E) for crosses, with‑trend pullbacks, and trend change setups
- Detect regular and hidden divergences with pivot and lookback controls
- Prevent premature divergence marks by confirming the candle close
- Plot recent‑extreme lines to aid in stop placement and risk management
- Enable alerts for signals and divergences with preset or unified messaging
- Use clear plot styles and labels to visualize context and entries
- Show selected inputs in the status line for quick oversight