Loading…

CCI Zero Line Arrows

CCI oscillates without fixed bounds, so unlike RSI or Stochastic there is no obvious visual anchor except the zero line - and a zero cross on a busy chart, especially at a small window height, is easy to glance past. This indicator plots CCI exactly as the platform's own built-in CCI computes it, then adds a second layer: a green arrow the bar CCI first closes above zero, a red arrow the bar it first closes below zero. Nothing about the CCI calculation is changed or reinterpreted - this is purely a readability layer on top of the standard indicator, for traders who use the zero cross as a momentum-direction filter alongside a separate entry signal. Notes and limitations - The cross test compares the previous bar's CCI value against the current bar's, so it needs one prior bar and never marks the still-forming current bar. - A zero cross is a momentum-direction cue, not a full entry system - it says nothing about trend strength, overbought/oversold extremes, or where a stop belongs. - CCI is unbounded, so a "cross" during a very quiet, low-range market can be a small, low-conviction wobble around zero rather than a meaningful shift; this indicator does not filter for that.

Indicator · MT5 · v1.0 · Free

About CCI Zero Line Arrows

CCI Zero Line Arrows is an indicator for MetaTrader 5 based on CCI. It draws buy and sell arrows on the chart and can alert you with a pop-up, sound, email or push message. It has 3 settings, such as Cci period, Applied price and Alerts. MQL source code included.

Files in the download: CciZeroCross.ex5, CciZeroCross.mq5, CciZeroCross.txt.

Settings

SettingDefaultWhat it does
Cci period14CCI period
Applied pricePRICE_TYPICALApplied price passed to iCCI
AlertstrueAlert once per closed bar on a zero-line cross

How to install

  1. Download the ZIP from your PolyMaria library and unzip it.
  2. In MetaTrader 5 open File → Open Data Folder, then go to MQL5 → Indicators.
  3. Copy the .mq5 file(s) there. Put any .mqh files in MQL5 → Include.
  4. Open the .mq5 file in MetaEditor and press Compile (F7) if MetaTrader does not show it.
  5. Drag the indicator from the Navigator onto a chart and adjust the settings.

Download the PDF guide

Tags: RSI · Stochastic · CCI · Momentum · Buy/Sell Arrows · Alerts · MT5 Indicator · MQL5 Source Code

MetaTrader 4 & 5 indicators · PolyMaria