GoldLab Ichimoku Cloud is an Expert Advisor that trades the classic Ichimoku Kinko Hyo trend method. It was designed for XAUUSD (Gold) and also runs on forex pairs and other CFDs. Every trade has a stop-loss.
How it trades
- Trigger: a Tenkan-sen / Kijun-sen cross within the last few closed bars (default 3).
- Cloud filter: buys only when price closes above the Kumo (cloud), sells only when price closes below it.
- Chikou confirmation: the current close must be above (buy) or below (sell) the price 26 bars ago - the Chikou span is free of price.
- Stop-loss: placed beyond the Kijun-sen (or the cloud edge, whichever gives the protective level) plus an ATR buffer, kept between a minimum and a maximum ATR distance.
- Exits: optional take-profit as a multiple of the stop distance, a trailing stop that follows the Kijun-sen bar by bar, and an optional exit on an opposite Tenkan/Kijun cross.
- Signals are evaluated once per closed bar of the signal timeframe, so results do not depend on tick noise.
Risk management
- Risk % per trade (default 1% of equity) - the lot is calculated from the actual stop distance. A fixed lot can be used instead.
- Daily loss limit (default 3% of the day-start equity) - no new trades for the rest of the day once reached.
- Maximum spread filter and optional trading hours.
- Free-margin check, broker volume limits and stop/freeze levels are respected before every order. One position at a time; on netting accounts it never adds to or reverses a position opened by something else.
Inputs and default settings
| Group | Input | Default | Meaning |
|---|---|---|---|
| Strategy | Signal timeframe | H1 | Timeframe used for the Ichimoku signals (chart timeframe can be anything) |
| Strategy | Tenkan / Kijun / Senkou B | 9 / 26 / 52 | Ichimoku periods |
| Strategy | Cross within N bars | 3 | How recent the Tenkan/Kijun cross must be |
| Strategy | Require Chikou / Require cloud | true / true | Confirmation filters |
| Stops | ATR period | 14 | ATR used for buffers and limits |
| Stops | Stop buffer (x ATR) | 0.3 | Extra distance beyond Kijun/cloud |
| Stops | Min / Max stop (x ATR) | 0.8 / 3.0 | Limits for the stop distance |
| Stops | Take-profit (x stop) | 2.0 | 0 = no fixed target, Kijun trail only |
| Stops | Trail by Kijun / Exit on opposite cross | true / true | Exit management |
| Position size | Risk % / Fixed lot / Max lot | 1.0 / 0 / 10 | Position sizing |
| Safety | Daily loss limit % | 3.0 | 0 = off |
| Safety | Max spread (points) | 50 | 2-digit gold scale: 100 = 1.00 USD |
| Safety | Use hours / Start / End | false / 1 / 22 | Optional server-time window |
| Safety | Magic number | 26100601 | Change it to run several copies on one symbol |
Recommended setup
- Symbol: XAUUSD (or your broker's gold symbol). Signal timeframe: H1 or H4.
- Hedging or netting accounts. Low-spread (ECN / raw) accounts preferred for gold.
- Start on a demo account with the default 1% risk and test the settings in the Strategy Tester with your broker's data first. A VPS is recommended for 24/5 operation.
Honest notes
No martingale, no grid, no averaging - every position has a stop-loss. Ichimoku is a trend-following method: it loses in choppy, sideways markets and its strength is catching longer moves. Trading gold, forex and CFDs is high risk and you can lose your capital. No trading system wins every trade, and past or backtested results do not guarantee future results. Only trade money you can afford to lose and always test on a demo account first.


Plan your risk before you run it
- Check the lot the EA will use for your balance and stop with the XAUUSD lot size calculator and the margin calculator.
- Compare targets and stops with the risk reward calculator.
- How to Set a Stop Loss on Gold (ATR Method)
- Best Timeframe for Gold Trading: Pros and Cons
FAQ
Which Ichimoku settings does the EA use?
The standard 9 / 26 / 52 periods are the defaults and can be changed in the inputs. Signals are checked once per closed bar of the signal timeframe.
Is this an Ichimoku EA for MT5, and which timeframe does it run on?
Yes. GoldLab Ichimoku Cloud is an Expert Advisor for MetaTrader 5, built for XAUUSD and designed for the H1 or H4 timeframe. It takes a Tenkan-sen / Kijun-sen cross only when price is on the right side of the cloud and the Chikou span confirms, then trails the stop on the Kijun-sen.
Is there a free demo?
Yes. Every MQL5 Market product has a free demo that runs in the MetaTrader 5 Strategy Tester, so you can test it on your broker's own data before buying.
Does it use martingale, grid or averaging down?
No. Every position is opened with a stop-loss, the lot size comes from your risk % (or a fixed lot), and there is a daily loss limit.
Which broker and account do I need?
Any MetaTrader 5 broker that offers XAUUSD, on a hedging or netting account. A low-spread account and a VPS for 24/5 operation are recommended.
Can this EA guarantee profits?
No. No trading system wins every trade, and backtest or past results do not guarantee future results. Start on a demo account with the default risk.
Trading gold, forex and CFDs is high risk and you can lose your capital. This page is for information only and is not investment advice. Illustrations are not trading results.
