CCI Threshold Signals with Optional Direction Reversal
Article MQL5 code base
Summary
This document describes a trading signal module based on the Commodity Channel Index. It produces a signal when price crosses above an upper threshold or falls below a lower threshold; the defaults are +100 and −100. A reverse setting can invert the resulting direction.
The configurable inputs are the CCI averaging period, applied price, upper and lower levels, and reversal toggle. The module is presented as an input for building Expert Advisors with the MQL4/MQL5 Wizard. The document provides no performance results, entry or exit management, or risk controls, so it explains signal generation rather than a complete trading strategy.
Key ideas
- The module signals when price moves above the upper CCI level or below the lower level.
- The default upper and lower thresholds are +100 and −100.
- Users can configure the CCI period, applied price, and threshold levels.
- A reverse option can invert the generated signal direction.
- The signal is intended for use in Wizard-built Expert Advisors.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.