MT4 & MT5 · Trending Pairs

🏯 Encik Moku

Ichimoku Kinko Hyo + RSI + Stochastic — confirmed across up to 4 timeframes. Buys above the Kumo cloud, sells below. Single-entry, trend-following EA.

Open Source — Free to use. Expires 2026-04-28. By Syarief Azman.

Strategy

How It Trades

Three indicators across multiple timeframes must all agree before entering any trade.

📊 Buy Signal Requirements (all must be true)

Ichimoku Bullish: Tenkan-sen > Senkou Span A AND Tenkan-sen > Senkou Span B AND Tenkan-sen > Kijun-sen (price above cloud)
Stochastic: Main < 80 AND Main > Signal (still rising, not overbought)
RSI: RSI < 70 (not exhausted)

📉 Sell Signal Requirements (all must be true)

Ichimoku Bearish: Tenkan-sen < Senkou Span A AND Tenkan-sen < Senkou Span B AND Tenkan-sen < Kijun-sen (price below cloud)
Stochastic: Main > 20 AND Main < Signal (still falling, not oversold)
RSI: RSI > 30 (not exhausted)
💡 Ichimoku Settings: Tenkan-sen (9), Kijun-sen (26), Senkou Span (52) — the classic Ichimoku parameters used by institutional traders worldwide.

🕐 Multi-Timeframe Modes

ModeLabelTimeframes (Highest → Lowest)Best For
AANo MTFCurrent chart TF onlyQuick testing
BBScalperzH1 → M15 → M5 → M1Scalping
CCIntradayzH4 → H1 → M15 → M5Intraday (default)
DDSwingzD1 → H4 → H1 → M15Swing trading
EEPositionzW1 → D1 → H4 → H1Position trading

⚠️ The chart timeframe doesn't matter — the EA fetches data from the configured timeframes internally.

Features

Core Features

Everything built into the EA.

🏯

Ichimoku Kinko Hyo

Core trend detection — Tenkan-sen must be above (buy) or below (sell) both Senkou Span A, Senkou Span B, and Kijun-sen. Price above/below the Kumo cloud.

📈

Stochastic Filter

Prevents late entries — buys only when not overbought (< 80), sells only when not oversold (> 20). Main vs Signal crossover required.

📉

RSI Confirmation

Additional exhaustion filter — RSI must be below 70 for buys and above 30 for sells, avoiding entries at extreme levels.

🕐

Multi-Timeframe Analysis

5 MTF modes: trade only when ALL 4 timeframes agree on direction. Dramatically reduces false signals.

🔄

Close on Reversal

When a reversal signal appears, automatically closes opposite trades before opening new ones — always positioned with the trend.

📊

Auto-Compounding

6 compounding modes scale lot size with your equity growth — from very conservative to aggressive risk profiles.

🎲

Martingale Recovery

Configurable lot multiplier after losses (default 2.25x) with reset-on-profit. MaxLots safety cap prevents runaway sizing.

Time & Day Filters

Trade only during specific hours and weekdays. Supports overnight ranges (e.g., 22:00 – 06:00).

Setup

Installation Guide

Get up and running in minutes.

1

Download the EA (MT4 or MT5)

Click the Download MT4 or Download MT5 button above to get the compiled .ex4 or .ex5 file.
2

Open Data Folder

Open MetaTrader 4 or 5. Click File → Open Data Folder. Navigate to MQL4\Experts\ (MT4) or MQL5\Experts\ (MT5).
3

Copy the EA File

Place the downloaded .ex4 or .ex5 file into the appropriate Experts folder.
4

Attach to Chart

In MT4/MT5, press Ctrl+N to open the Navigator. Right-click Expert AdvisorsRefresh. Find EA Encik Moku and drag it onto a chart of your chosen trending pair (EURUSD, GBPUSD, XAUUSD, etc.).
5

Configure Settings

In the EA dialog:
Common tab: ☑ Check Allow live trading
Inputs tab: Choose your MultiTimeFrame_Mode (default: Intradayz), set Lots, Stoploss_Pips, Takeprofit_Pips
Click OK. Make sure Auto Trading is enabled (green icon in toolbar).
6

Verify It's Running

Check the Experts tab at the bottom of MT4/MT5. You should see the EA name displayed and the chart comment showing your equity, lot size, and trade counts. The EA will wait for all indicators to align before placing trades.
Configuration

EA Settings

Fine-tune every parameter to match your trading style.

ParameterTypeDefaultDescription
Lotsdouble0.01Base lot size for each trade
Takeprofit_Pipsint50Take profit distance in pips
Stoploss_Pipsint50Stop loss distance in pips
Close_On_ReversalbooltrueClose opposite trades when a reversal signal appears
MultiTimeFrame_ModeenumCC (Intradayz)Which MTF mode to use — No MTF, Scalperz, Intradayz, Swingz, or Positionz
AutoCompounding_ModeenumA (Off)Auto lot-sizing based on account equity
ECN_BrokerboolfalseSend order without SL/TP first, then modify — required for ECN brokers
TrailingStopboolfalseEnable/disable trailing stop
TrailingStop_Pipsint25Trailing stop distance in pips from current price
TrailingGap_Pipsint7Minimum pip distance before trailing activates
LotMultiplierOnLossdouble2.25Multiply lot size by this after a losing trade
LotsResetOnProfitbooltrueReset to base lot after a winning trade
MaxLotsdouble999Maximum allowed lot size (safety cap)
HoursFrom / HoursToint0 / 24Trading hours filter (local time). Supports overnight ranges.
Monday–SundayboolAll trueEnable/disable trading on specific weekdays
Email_NotificationbooltrueSend trade signals via email
MT4/MT5_MessagesbooltrueSend push notifications to MT4/MT5 mobile app
Important

Risk Warnings

⚠️

Always test on a demo account first before using real money.

🎲

Martingale is risky — the default 2.25x multiplier means after 3 consecutive losses, your lot is ~11x the base size. Set MaxLots to a reasonable cap.

💰

Recommended starting capital: $100 USD minimum per pair.

📊

Best on trending pairs — EURUSD, GBPUSD, USDJPY, XAUUSD, indices. Avoid choppy/ranging markets.

🖥️

VPS recommended for 24/7 uninterrupted operation.

📈

Past performance does not guarantee future results. Ichimoku cloud analysis can be wrong.

FAQ

Frequently Asked Questions

Trending pairs like EURUSD, GBPUSD, USDJPY, XAUUSD, and indices. The Ichimoku indicator works best on instruments that trend clearly. Avoid ranging/choppy pairs.

The multi-timeframe requirement is very strict — all 4 timeframes × 3 indicators must agree. Sometimes it takes hours or days to find a valid signal. This is by design — quality over quantity.

Yes! Attach the EA to different charts. Each instance is independent. The MagicNumber (260328) ensures trades don't interfere.

Martingale carries significant risk. The default 2.25x multiplier means after 3 consecutive losses, your lot is ~11x the base size. Always set MaxLots to a reasonable value.

Yes — trades are closed by TP, SL, trailing stop, or the Close on Reversal feature. The EA does not leave trades unmanaged.

It doesn't matter — the EA fetches data from its configured timeframes internally. Use any chart timeframe you prefer for viewing.

The Kumo (cloud) is formed by Senkou Span A and Senkou Span B. Price above the cloud = bullish bias, below = bearish bias. The EA checks that Tenkan-sen is positioned relative to both spans.

Yes. Open MT4/MT5 → Strategy Tester (Ctrl+R), select the EA, choose a pair and date range, and click Start. Multi-timeframe modes require history data for all relevant timeframes.

Yes! Both MT4 (.ex4) and MT5 (.ex5) versions are available. The MT5 version uses the same strategy with CTrade class for order management and indicator handles for optimized performance.