On the chart
- A separate pane below the chart: the “CCI” line, levels 100 and −100 and a dotted 0 level between them.
Signals and alerts
- The “CCI” line is an alert subject: crossing up or down, above or below — against the 100, 0 or −100 level, a number or another line; entering or leaving the −100 to 100 zone; a rise or fall by a set amount.
- The alert window preselects CCI crossing 100.
How it is calculated
- CCI = (source − SMA) / (0.015 × mean absolute deviation from the SMA), all over the length.
Settings
- Length — 20, at least 2: with 1 the deviation is zero and CCI is undefined; Source — hlc3.
- Calculation TF — empty: the chart timeframe; otherwise the line is calculated on the given higher timeframe.
- Style — line colour.
The indicator is a chart analysis tool, not trading advice or a promise of profit. Trading on financial markets carries a risk of losing money.