Zee Ichimoku Trend Follower
- Experts
- Zeemart Maxino
- Versione: 1.0
- Attivazioni: 5
Ichimoku traders — this one's for you.
You've been there. A clean setup, solid structure, and then noise shakes you out right before the move. Manual trading does that. An automated EA built on Ichimoku doesn't.
Let the framework run. Stop babysitting the chart.
Zee Ichimoku Trend Follower is a fully automated Expert Advisor built on the complete Ichimoku Kinko Hyo system with RSI confirmation, designed to capture sustained trend moves on instruments like Gold (XAUUSD).
Unlike simplified Ichimoku strategies that only check price vs cloud, this EA enforces all five classical Ichimoku conditions — including Chikou Span freedom — before entering a trade. It manages risk through cloud-based trailing stops, a minimum stop loss filter, daily drawdown protection, and a fresh-signal gate that prevents entering moves already in progress.
Strategy Overview
This Expert Advisor operates based on the following logic:
- Evaluates the full Ichimoku structure: Tenkan-sen, Kijun-sen, Kumo (cloud), and Chikou Span
- Confirms momentum direction using the RSI filter
- Enters only on fresh signals — if conditions are already active when the EA starts, it waits for a new setup
- Places stop loss beyond the opposite edge of the cloud with configurable padding
- Trails the stop loss dynamically as the cloud moves in the trade's favor
- Supports optional take profit via Risk/Reward ratio targeting
Entry Conditions
Buy Entry — All 5 conditions must be true simultaneously:
- Close is above the Tenkan-sen (Conversion Line)
- Close is above the Kijun-sen (Base Line)
- Close is above the Kumo (Cloud Top — the higher of Senkou Span A and B)
- Chikou Span is free of both price action and cloud across the full displacement window
- RSI is above 50
Sell Entry — All 5 conditions must be true simultaneously:
- Close is below the Tenkan-sen (Conversion Line)
- Close is below the Kijun-sen (Base Line)
- Close is below the Kumo (Cloud Bottom — the lower of Senkou Span A and B)
- Chikou Span is free of both price action and cloud across the full displacement window
- RSI is below 50
If any single condition is not met, no trade is executed.
Key Features
- Complete Ichimoku implementation — enforces all five classical conditions including Chikou Span freedom, not just price-vs-cloud
- RSI momentum confirmation — filters out weak or counter-trend signals
- Fresh-signal gate — on startup, the EA does not trade immediately; it waits until conditions cycle off and back on to ensure entry at a proper price level, not mid-move
- Risk/Reward take profit — optional take profit calculated as a multiple of the stop loss distance, allowing systematic profit targeting based on the trade's risk
- Cloud-based trailing stop — stop loss trails dynamically below the cloud bottom (buys) or above the cloud top (sells), locking in profit as the trend develops
- Minimum stop loss distance — rejects entries where the cloud is too close to price, preventing trades with inadequate risk/reward
- Daily drawdown protection — monitors equity vs start-of-day balance and closes all positions + halts trading for the day if the drawdown limit is breached
- Automatic position management — closes opposite positions on signal reversal (e.g., closes sells when a buy signal fires)
- One trade at a time — maintains a single directional position, no grid or martingale logic
- Designed for MetaTrader 5 — uses native MQL5 indicator handles and the CTrade library for reliable order execution
Input Parameters
Ichimoku Settings
| Parameter | Default | Description |
|---|---|---|
| InpTenkan | 9 | Tenkan-sen period (Conversion Line) |
| InpKijun | 26 | Kijun-sen period (Base Line) |
| InpSenkouB | 52 | Senkou Span B period (Leading Span B) |
| InpDisplacement | 26 | Displacement / Cloud Shift |
RSI Setting
| Parameter | Default | Description |
|---|---|---|
| InpRSILength | 14 | RSI period for momentum confirmation |
Trade Settings
| Parameter | Default | Description |
|---|---|---|
| InpLotSize | 0.01 | Fixed lot size per trade |
| InpMagicNumber | 123456 | Unique identifier — set a different number per chart |
Take Profit
| Parameter | Default | Description |
|---|---|---|
| InpAutoTP | 5000 | Auto Take Profit in points (0 = disabled) |
| InpUseRRForTP | false | Use Risk/Reward ratio for TP instead of fixed points |
| InpRRRatio | 4.5 | Risk/Reward ratio — e.g., 4.5 means TP distance is 4.5× the SL distance |
Trailing Stop
| Parameter | Default | Description |
|---|---|---|
| InpUseCloudTrail | true | Enable or disable cloud-based trailing stop |
| InpCloudPadding | 150 | Padding beyond the cloud edge in points (e.g., 150 = $1.50 on Gold) |
Risk Management
| Parameter | Default | Description |
|---|---|---|
| InpMinSLDistance | 300 | Minimum stop loss distance in points — rejects entries with tight stops (e.g., 300 = $3.00) |
| InpUseDailyDD | true | Enable daily drawdown protection |
| InpMaxDailyDD | 4.0 | Maximum daily drawdown as a percentage of start-of-day balance |
Diagnostics
| Parameter | Default | Description |
|---|---|---|
| InpDebugLog | false | Enable detailed logging to the Experts journal for troubleshooting |
All parameters can be adjusted according to user preferences.
How to Use
- Attach the Expert Advisor to a chart in MetaTrader 5
- Configure the input parameters as needed
- Enable automated trading
The EA will wait for a fresh signal before placing its first trade — it will not enter immediately if conditions are already active. Once a valid entry forms, the system executes and manages the trade automatically including trailing stop adjustments.
Recommended Settings
- Instrument: Optimized for Gold (XAUUSD)
- Timeframe: H1 is the primary tested timeframe; H4 and D1 are also suitable
- Leverage: 1:100 or higher recommended for proper position sizing with micro lots
Important Notes
- Trading results may vary depending on market conditions, broker execution, and spread
- The EA uses one position at a time with no grid, martingale, or averaging logic
- Proper risk management is essential — adjust lot size and daily drawdown limit to match your account size
- Past backtest performance does not guarantee future results

