EA that opens trades by the CCI indicator: exit from overbought, oversold (default), zero line cross, strong break through +100, -100; closes trades when CCI reaches the opposite extreme zone, ATR stop loss, EMA filter.
CCI 20 · H1–CCI of the last closed candle-86.4CCI of the previous candle-121.7 · risingCCI zoneBelow 0Close at the extreme zoneYes · +/-100EMA 50 filterNo filterExtreme zone exitOnZero crossOffStrong breakOffOpen positionBUY 1 · SELL 0Waiting for a CCI signal on H111:00 Opened BUY: CCI left the oversold zone (-121 -> -86)
The EA panel on the MetaTrader chart (sample data, default inputs). Values come from the candle that just closed. The panel can be dragged; click the top-right button to collapse it.
CCI rising from below -100 is a BUY, falling from above +100 a SELL: entering when price bounces after an overextended move.
Zero cross
Turn on to enter when CCI crosses above or below zero, as price crosses its average.
Strong break
Turn on to enter with momentum when CCI rises above +100 or falls below -100.
Close at the extreme zone
BUY trades close when CCI reaches +100, SELL trades when CCI reaches -100, taking profit once the move has played out.
ATR stop loss, EMA filter
Stop loss 2 x ATR 14 adapts to volatility. Turn on the EMA filter to trade only with the trend.
Self computed CCI, panel on the chart
The EA computes CCI like MetaTrader, no indicator needed. A draggable panel shows CCI, the CCI zone and enabled setups.
Overview
CCI Forex Robot (code GD-8813) is an EA for MetaTrader 4 and MetaTrader 5 that trades the CCI indicator (Commodity Channel Index). CCI measures how far the typical price is from its 20 candle average: above +100 is overbought, below -100 oversold, around 0 means price is at its average.
The EA has 3 setups switched on or off separately: extreme zone exit (default), zero line cross, and strong break through +100, -100. The default stop loss is 2 x ATR 14 so it adapts to volatility, take profit 5000 points; the EA also closes trades when CCI reaches the opposite extreme zone, meaning the move has played out. Turn on the EMA filter to trade only with the trend. Signals always come from closed candles.
Default settings are made for gold XAUUSD. On brokers quoting gold with 3 decimals (for example 2650.125), 1 gold price unit = 1000 points: a 5000-point take profit is 5 price units. With 2 decimals, 1 unit = 100 points, so divide the point inputs by 10.
Example with default settings on H1: CCI of the 09:00 candle is -121.7, the 10:00 candle closes with CCI -86.4, just leaving the oversold zone. At 11:00 the EA opens a BUY 0.01 lot at about 2646.800; ATR 14 is 2.100 so the stop loss is 4.200 dollars away, take profit 5000 points away. If CCI reaches +100 before take profit, the EA closes the trade.
The panel on the chart shows CCI of the last closed and previous candles, the CCI zone, EMA filter status, enabled setups and open trades. One single file for a 7 day demo trial and live trading with a license. Every trade has the comment "www.HoangTrong.com", default Magic number 8813.
Changelog
Version 1.024/11/2026
First release of CCI Forex Robot.
Exit from overbought, oversold
Zero cross
Strong break
Close at the extreme zone
ATR stop loss, EMA filter
Self computed CCI, panel on the chart
FAQ
Is the trial version different from the full version?
No. Each product has a single file. Without a license it runs for 7 days on a demo account. Buy a license for your account ID and it runs on your live account, no new download needed.
What is WebRequest and why does the EA need it?
WebRequest is the permission that lets an EA connect to an address on the internet. HoangTrong.com EAs use it to activate the license, then check themselves offline. See how to enable WebRequest.
How do I activate the license?
Buy a license for the correct MetaTrader account ID, then click Activation in the EA. You don't need to enter or store any key. After reinstalling, just activate again.
What if I want to use the EA on another account ID?
A license is permanently tied to the account ID it was bought for. To use the EA on another ID, buy an extra ID right on the product page: if you already own the license, each extra ID costs only 100,000 VND.
Draws BUY, SELL arrows on the price chart when CCI exits overbought, oversold, crosses the zero line or breaks strongly through +100, -100, EMA filter and phone notifications.
The EA opens BUY and SELL orders on RSI signals in the overbought and oversold zones, with built-in stop loss, take profit, break-even and Trailing Stop.
3 RSI entry scenarios, each can be switched on or off
Stop loss, take profit, break-even and Trailing Stop
Limits on order count, trading hours, spread, 1 order per candle
EA opens orders on RSI overbought and oversold signals, filters signals with the RSI of 5 timeframes switched on or off separately, multi-timeframe RSI table right on the chart.
3 RSI entry scenarios, same as GD-8801
5 RSI filter timeframes, each with its own inputs and on/off
Multi-timeframe RSI table on the chart, unused filters clearly marked