VI

Robot Forex CCI

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.

Robot Forex MT4MT5 GD-8813v1.0 Lifetime 7-day trial 24/11/2026
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.
Companion indicator, free
GD-8813 1.00 (XAUUSD,H1)
CommonInputs
VariableValue
ab========================================GENERAL SETTINGS
01Magic number (per product code)
01Max spread to open orders (points, 0 = no limit)
abTrading hours (server time), separate ranges with commas
Timeframe
ab========================================ORDER SETTINGS
½Volume (lot)
Stop loss
01Stop Loss in points (0 = none)
½ATR stop loss: ATR 14 multiplier
01Take Profit (points, 0 = none)
Close trades when CCI reaches the opposite extreme zone
01Min distance between 2 same-direction orders (points, 0 = no limit)
Close opposite orders on a new signal
ab========================================ORDER LIMITS
01Max total BUY + SELL orders (0 = no limit)
01Max BUY orders (0 = no limit)
01Max SELL orders (0 = no limit)
At most 1 order per candle (of the timeframe)
ab========================================CCI SETTINGS
01CCI period (typical price: high + low + close / 3)
½Extreme level (CCI above +level is overbought, below -level oversold)
EMA filter: BUY when price is above the EMA, SELL when below
01EMA period
ab========================================ENTRY SCENARIOS
Extreme zone exit: CCI rising from below -100 BUY, falling from above +100 SELL
Zero line cross: CCI crosses above 0 BUY, below 0 SELL
Strong break: CCI rises above +100 BUY, falls below -100 SELL
Trade direction
ab========================================BREAKEVEN AND TRAILING STOP
Move Stop Loss to breakeven
01When the order is in profit by (points)
01Stop Loss beyond entry price (points, to cover costs)
Trailing Stop: Stop Loss follows price
01Start when the order is in profit by (points)
01Keep Stop Loss away from price (points)
01Minimum step (points)
ab========================================OTHER SETTINGS
Phone notification when orders open / close
LoadSave

How the EA works

The EA computes CCI 20 on closed candles of the entry timeframe (H1 by default). CCI measures how far price is from its average: above +100 is overbought, below -100 oversold. The EA enters when CCI leaves an extreme zone, crosses zero or breaks strongly, and closes when CCI reaches the opposite extreme zone.

1000-100CCI 20BUYSELLSELLBUYBUYSELLBUYSELLBUYBUYSELLBUYCCI 20Entry point
The same price section, with CCI 20 (typical price) computed exactly like the EA. Choose a setup to view: the small yellow dot is the CCI on the signal candle, the large yellow dot is where the EA opens a trade at the start of the next candle. Shaded areas are overbought (above +100) and oversold (below -100).

Entry scenarios

  • 1. Extreme zone exitDefault: YES
    • BUYCCI rises from below -100
    • SELLCCI falls from above +100
  • 2. Zero line crossDefault: NO
    • BUYCCI crosses above 0
    • SELLCCI crosses below 0
  • 3. Strong breakDefault: NO
    • BUYCCI rises above +100
    • SELLCCI falls below -100

When there is a signal

  1. 1Check conditions

    A new order opens only when all of these hold.

    • Within 00:00 - 23:59 (server time), spread no more than 250 points
    • Fewer than 10 orders, at most 5 BUY and 5 SELL
    • At most 1 order per H1 candle
  2. 2Open the order

    ATR stop loss, point take profit.

    • Volume 0.01 lot
    • Stop loss 2 x ATR 14 (can switch to points)
    • Take profit 5000 points
  3. 3Close trades

    Trades close at stop loss, take profit, or when CCI reaches the opposite extreme zone.

    • CCI at +100 or higher: close all BUY trades
    • CCI at -100 or lower: close all SELL trades
    • Break even and Trailing Stop can be added if you want
  • The EA computes CCI itself, no indicator needed. Signals come from closed candles and never repaint.
  • Extreme zone exit suits oscillating markets; Strong break suits trending markets. They can be on together, and if the same candle has both BUY and SELL the EA skips it.
  • Direction: Both BUY and SELL, BUY only, SELL only.
  • To see CCI signals on the chart without automatic trading: CCI indicator CB-8913 (free).
Exit from overbought, oversold

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.

Multi-account licenses

Extra IDs only 100,000 VND/ID

Each license includes 1 account ID. Each extra ID is only 100,000 VND, for both retail and COMBO prices, valid forever.

  1. What is an account ID?It's your MT4/MT5 login number, shown in MetaTrader and in the email the broker sends when you open the account.
  2. Buy several IDs at onceEnter IDs separated by commas, for example 12345678, 87654321. Up to 20 IDs per order.
  3. Add IDs laterOnce you have a license, come back to this page, enter the new ID and click Buy a license. You're only charged 100,000 VND per ID, not the license price again.
Buying extra IDs: sign in firstSign in with the website account you bought the license with to get the 100,000 VND per ID price. With a different website account, the system cannot see your license and charges the full license price.
Example1 ID3 ID
Retail price500,000 VND700,000 VND
COMBO price5,000,000 VND5,200,000 VND
Add IDs later100,000 VND per ID (signed in)

Besides CCI Forex Robot

Other products from HoangTrong.com

View all products
CB-8913IndicatorsMT4MT5

CCI Indicator

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.

  • CCI arrows on the price chart
  • Extreme exit, zero cross, strong break
  • Alert popup, sound and phone notifications
LicensingFree with any EA
Details
GD-8801Indicator-basedMT4MT5

RSI Overbought Oversold Forex Robot

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
Retail price500,000 VND
Details
GD-8805Indicator-basedMT4MT5

Multi-Timeframe RSI Forex Robot

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
Retail price500,000 VND
Details

Need a different feature?

Order a custom EA built on your strategy, priced per feature.