CCI Color Levels and Reading Its Indicator Buffers in an Expert Advisor
Summary
This document describes a CCI indicator that plots the CCI line alongside upper and lower threshold levels. The visual uses two histogram-style constructions for the levels and a line for CCI. Users can set the averaging period and the two threshold values; the example parameters use a 14-period average with levels at 90 and −90.
It also explains how an Expert Advisor can create a custom-indicator handle and retrieve plotted data. Because each histogram level uses two buffers, the indicator exposes five buffers, while buffers 0, 2, and 4 are identified as the meaningful upper level, CCI, and lower level values. The examples show data retrieval and display, not an entry or exit strategy. No tests, signals, or performance results are supplied, and the exact buffer mapping depends on using the described indicator.
Key ideas
- The indicator plots CCI with configurable upper and lower levels.
- Its visual combines two histogram constructions with a CCI line.
- The examples use a 14-period averaging setting and levels of 90 and −90.
- An Expert Advisor can access the custom indicator through a handle.
- Buffers 0, 2, and 4 provide the upper threshold, CCI, and lower threshold values.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.