v1.68 โ€” MT4 & MT5

EA Budak Ubat

A powerful grid-based martingale Expert Advisor for MetaTrader 4 & MetaTrader 5. Designed for ranging pairs on the M5 timeframe with 4 analysis methods and volatility-based AutoConfig.

Free / Partner Whitelist

Community Whitelist Edition

Run 100% free on unlimited Demo accounts or register a Live account under our broker partner link for permanent authorization.

  • โœ“ MetaTrader 4 & MetaTrader 5 (.ex4 / .ex5)
  • โœ“ 100% Unlimited Free Demo Account Trading
  • โœ“ Whitelist Registration via Partner Brokers
  • โœ“ Full Access to Presets & Risk Calculator
Official MQL5 Market
$149USD / Lifetime

Try the free demo in the MT5 Strategy Tester before you buy, or start with a monthly rental.

โš ๏ธ Grid and martingale trading can lose significant capital. Test on a demo account first; past performance does not guarantee future results.

๐Ÿ›ก๏ธ20 Terminal Activations
โšกZero Account Restriction
๐Ÿ”„Lifetime Free Updates
โ˜๏ธInstant Cloud MT5 Delivery
MQL5
MetaQuotes Certified Product
โ˜…โ˜…โ˜…โ˜…โ˜…5.0 Official Rating
Verify on MQL5.comโ†—
โœ“
100% Automated Validation Passed

Tested in MetaQuotes Strategy Tester against rigorous tick simulations

โœ“
Netting & Hedging Certified

Compatible with all MT5 broker margin accounting systems worldwide

โœ“
Zero DLL / Pure Native MQL5

Highest security standard โ€” zero external binaries or security risks

โœ“
Instant Hardware-Bound DRM

Automatic download and 20 terminal activations right in MetaTrader 5

๐Ÿš€

What's New in v1.68

Margin safeguards fixed on MT4 and MT5: Min Margin Level now pauses new orders in every build, and the Market Editions follow both margin inputs.

View Full Changelog โ†’
Capabilities

Everything You Need in One EA

Built with precision for automated grid trading on the worlds most popular platforms.

๐Ÿ“Š

Multi-Platform

Runs on both MetaTrader 4 and MetaTrader 5 with identical trading logic.

๐Ÿง 

4 Analysis Methods

Classic Candle, SMA20, Alligator, and Ichimoku for entry signals.

๐Ÿ“ˆ

Grid Martingale

Automatic position layering with configurable multiplier and distance.

๐Ÿ“Š

AutoConfig

Dynamic parameter optimization based on Average Daily Range.

๐Ÿ”„

Hedging Support

Trade both directions simultaneously or restrict to single-direction.

โฐ

Time Filter

Schedule EA active hours with configurable Start/Stop times.

๐Ÿ›‘

Close All Button

One-click close for all open positions directly on the chart.

๐Ÿ”

Authorization System

Account-locked licensing with unlimited demo mode support.

Trading Logic

How It Works

Understanding the EAs step-by-step decision-making process on every tick.

1

Tick Received

On every tick, the EA updates the chart display and checks if the current time is within the configured Start/Stop window.

2

Execution Mode Check

Determines whether the main logic runs on every tick or only when a new bar appears on the chart.

3

Entry Signal

If no positions exist, the EA evaluates the selected analysis method (Candle, SMA20, Alligator, or Ichimoku) with an RSI H1 filter to determine entry direction.

4

Grid Layering

If positions exist and GridTrading is enabled, the EA checks distance from the last position and opens a new position with martingale lot sizing.

5

TP Modification

Take Profit for all positions is updated to the weighted average entry price (break-even) plus the configured TP in pips.

6

Stop Loss

If enabled, stop loss is calculated from the first entry price of the basket for risk protection.

Configuration

EA Parameters

Fine-tune every aspect of the EAs behavior to match your trading strategy.

ParameterDefaultDescription
EA_Name[https://t.me/SyariefAzman]Display name shown in trade comments
Execution_Modeon Every New BarEvery Tick = instant; Every New Bar = candle close
Pos_ModeBuy & SellBuy & Sell, Buy Only, or Sell Only
HedgingfalseAllows simultaneous buy/sell baskets
MethodIchimokuAnalysis method: Classic Candle, SMA20, Alligator, Ichimoku
Intelligence

AutoConfig: Volatility-Based Settings

Let the EA automatically optimize parameters based on real-time market volatility.

๐Ÿ”

EURUSD Detection

Automatically detects EURUSD (or broker variations) and calculates the 365-day Average Daily Range on D1.

๐Ÿ“

Ratio Derivation

Derives divisor ratios from the EURUSD ADR: TPรท25, minPipStepรท4, PipStepIncrรท(2ร—Multiplier^positions), maxPipStepรท100.

๐Ÿ”„

Dynamic Adaptation

Calculates the 20-day ADR of the current symbol and applies optimized parameters that recalculate every tick/bar.

Trader tools

Preset Studio and grid risk calculator

Generate a ready-made .set file for your pair and account type, and check the gridโ€™s lot progression, margin and drawdown before you trade live.

Getting Started

Installation Guide

Get up and running in minutes with this step-by-step guide.

1

Download EA - Budak Ubat v1.68 - MT4 - 20261230.ex4

2

Open MT4 โ†’ File โ†’ Open Data Folder

3

Navigate to MQL4/Experts/

4

Copy the .ex4 file into this folder

5

Restart MT4 (or right-click Navigator panel โ†’ Refresh)

6

Drag the EA onto a chart (recommended: M5 timeframe, ranging pair)

7

In the EA properties, go to Common tab โ†’ check Allow live trading

8

Configure parameters in the Inputs tab

9

Click OK โ€” the EA will display its status on the chart

10

Make sure the AutoTrading button in the top toolbar is green. Messages and errors appear in the Experts tab (Ctrl+T)

Access & Licensing

EA Budak Ubat Authorization

Check your account status and learn how to get permanent authorization.

Infrastructure

Using a VPS

Run your EA 24/7 with maximum uptime and low latency.

  • โœ“ 24/7 uptime without relying on your PC
  • โœ“ No disruption from power outages or internet drops
  • โœ“ Low latency with data center proximity
  • โœ“ Isolated, secure environment for your trading

Recommended Forex VPS Provider

GB Network Solutions

Reliable. Low Latency. 24/7 Uptime.

Order VPS โ†’
VPS Promotion
โš ๏ธ Important

Risk Management

Martingale strategies carry significant risk. Always use proper risk management.

๐Ÿฆ
Account Sizing

Cent account recommended for small capital; Standard also supported

๐Ÿ’ฐ
Min $100 Capital

Minimum $100 for 0.01 starting lot (Cent recommended)

โšก
Max Leverage

Maximum leverage reduces margin usage per trade

๐Ÿ“‰
Ranging Pairs

Choose low-volatility pairs, avoid trending pairs

๐ŸŽฏ
Set MaxLot

Set a reasonable cap to prevent runaway lot sizes

๐Ÿ›ก๏ธ
Enable StopLoss

Consider enabling SL for additional protection

๐Ÿ‘€
Monitor Daily

Check your account daily, even on VPS

๐Ÿ’ธ
Withdraw Profits

Withdraw regularly, don't let it grow unchecked

Support

Frequently Asked Questions

Start without real money. The free Forex Quest lessons at eabudakubat.com/learn cover the basics (currency pairs, spreads, indicators, risk management and how grid systems work). Then open a free demo account on MT4 or MT5, install the demo version of EA Budak Ubat from this page and follow the setup steps in the guide at eabudakubat.com/guide. Run it on the demo for a few weeks so you see how the grid behaves in both quiet and trending markets before you consider a live account, and start small (a Cent account, 0.01 lots, one pair). If you get stuck, message @SyariefAzman on Telegram.

Yes, but use a different MagicNumber for each chart to avoid conflicts between EA instances.

Yes. Since v1.67 the MT4 and MT5 builds have the same inputs, entry rules, grid maths and protections (RSI filter, spread and drawdown guards, basket break-even, margin safeguards). Only the platform's trading functions differ.

It runs on any symbol your broker offers, and the license belongs to the account number, not to a pair, so a licensed account can run it on as many pairs as you like: one chart per pair, each with its own MagicNumber. The default inputs are tuned for EURUSD. Ranging pairs with a low spread suit the grid best: the Balanced preset in the Set Generator (eabudakubat.com/tools) covers EURUSD, GBPUSD and AUDUSD, and the Conservative preset EURUSD and EURGBP. On other pairs, set AutoConfig = true so the take profit and grid distances scale to that pair's daily range (keep EURUSD in Market Watch, because AutoConfig measures against it). Gold needs the Gold preset and a Cent account (see the Gold question below). Avoid fast-trending or exotic pairs such as GBPJPY. Testing many pairs on demo is fine; on a live account start with one or two, because every pair needs its own capital (about $100 per pair on a Cent account at 0.01 lots).

Yes, with care. Gold moves faster and trends further than EURUSD, so the grid gets deep quickly and the risk is much higher. Use the Gold preset in the Set Generator on the Tools page (eabudakubat.com/tools): TP and grid distances scaled for gold, RSI filter off, MaxTrade 6, drawdown and margin guards on. In the EA's inputs one pip on gold is 0.01 in price, so a StopLoss of 50 that suits EURUSD is only $0.50 on gold; scale TP, StopLoss and grid distances to match. Use a Cent account with 0.01 lots, keep gold on its own account, and test on demo first.

The MT5 version runs on Deriv's MetaTrader 5 like on any MT5 broker, and it is free on a Deriv demo account. Deriv is not one of our partner brokers, so for a Deriv live account use the MQL5 Market version (mql5.com/en/market/product/195399, any broker), or open a live account through a partner broker on eabudakubat.com/brokers for the free license. Deriv's forex pairs work with the normal settings. On synthetic indices the EA counts pips in the symbol's smallest price step, so the default take profit and grid distances become far too small and must be scaled up a lot. The EA is not tuned for synthetic indices, so test them on demo for at least 1โ€“2 weeks first.

About $100 per pair on a Cent account with 0.01 starting lots. A Standard account carries 100 times the risk at the same lot, so the like-for-like figure is about $10,000 per pair; with less on Standard, set a StopLoss, MaxTrade and EmergencyMarginLevel and run one pair. Higher leverage lowers the margin per position, not the loss in a deep grid.

No EA can safely turn a small account into a large one in a day or a week. That needs very large lots, and the same lots can wipe out the account just as fast, so be careful with anyone who promises it. EA Budak Ubat aims for small, frequent basket profits; the result depends on the pair, the lot size against your capital and the market, and a strong trend can bring a deep drawdown. For a small balance, use a Cent account (about $100 per pair at 0.01 lots). The High-Frequency Cent Scalper preset in the Set Generator at eabudakubat.com/tools trades more often but carries more risk and is meant for Cent accounts only. Test it on a demo account first.

Usually not. The EA looks for a first entry once per new bar (Execution_Mode = Every New Bar), and the default Ichimoku method only enters when the last closed candle is above (buy) or below (sell) the Tenkan, the Kijun and both cloud lines, so in a sideways market it can wait for hours. The H1 RSI filter also blocks buys above 70 and sells below 30. New entries are skipped as well when the spread is above MaxSpread_Pips, when the account drawdown is above MaxDrawdownPct (it counts open trades on every chart), or outside StartTime to StopTime (broker server time). Check that the chart panel says 'Account Authorized', Algo Trading is on, and the Experts tab shows no errors. Switching to M1 to force entries is not recommended: it starts baskets on noise and can add a grid layer every minute.

No Stop Loss is the default: StopLoss_Inp = 0, because the grid closes the whole basket at one shared Take Profit instead. If you want one, set StopLoss_Inp in pips, measured from the first entry of the basket (on gold 1 EA pip = 0.01 in price, so 1000 = $10). For Take Profit, each new grid layer opens without a TP, and the EA then moves every order in the basket to the new shared TP (weighted average entry + TakeProfit). A layer can stay without a TP until the next bar if the price is already too close to the new TP level for the broker's stop level, or if a market-execution server rejected the TP (the Experts tab then shows 'Could not attach SL/TP'). The EA updates nothing outside StartTime to StopTime, while Algo Trading is off or while MT4/MT5 is closed, which is why a VPS is recommended. If a TP is still missing after a bar or two, send a screenshot of the Trade and Experts tabs.

That is the grid working as designed. The first trade follows the entry signal (with the RSI H1 filter). If the price then moves against it, the EA opens another trade in the same direction each time the price moves one more grid step away (the steps widen as layers are added: minDistance_Inp, distanceIncrement_Inp, maxDistance_Inp), with a bigger lot each time (MartingaleMultiplier). This pulls the average entry price closer to the market, and the whole basket shares one Take Profit at that average plus TakeProfit_Inp, so a smaller bounce can close every trade together in profit. Sells work the same way when the price keeps rising. The risk is a long one-way move: the basket keeps growing, and so does the floating loss. Limit it with MaxTrade (maximum layers; unlimited by default), StopLoss_Inp (closes the basket at a set distance from the first entry), EmergencyMarginLevel and MinMarginLevelToTrade, keep the starting lot small, and watch it on a demo account first. MaxDrawdownPct only pauses new layers; it does not close trades.

That is the daily rollover, and it happens at every broker, whichever link you joined through. For about an hour from the broker's midnight (around 05:00 Malaysia time, 06:00 from November to March) liquidity is thin and spreads widen a lot, most of all at Monday's open. By default the EA does not check the spread (MaxSpread_Pips = 0). Set MaxSpread_Pips a little above your pair's normal spread (for example 3 on EURUSD; the presets in the Set Generator at eabudakubat.com/tools fill it in) and the EA opens no first entry and adds no grid layer while the spread is above that limit. To skip that hour completely, set StartTime and StopTime in broker server time, for example StartTime = 01:00. Trades already open stay open, and the wider spread shows as a bigger floating loss for a while, so keep StopLoss_Inp (if you use one) well away from the price, because a spike can hit a close stop by the spread alone.

Drawdown grows when the market runs one way and the grid keeps adding bigger layers. To keep it smaller: start with a small lot for your balance (a Cent account for small capital or for gold), use a lower MartingaleMultiplier (for example 1.1 to 1.2, so lots grow slower), wider grid steps and a MaxTrade limit. MaxTrade and MaxDrawdownPct only stop new trades: the open basket still waits for its Take Profit. Only StopLoss_Inp (pips from the first entry) and EmergencyMarginLevel actually close a losing basket. Good times to pause are before high-impact USD news (NFP, CPI, FOMC) and when the market breaks out hard in one direction. The cleanest moment to switch off is right after a basket closes in profit: turning Algo Trading off mid-basket stops new layers but closes nothing. StartTime and StopTime (server time) limit when the EA opens trades and layers, and an open basket keeps its Take Profit outside those hours. Test your settings in the Strategy Tester over a strong trend period before going live. This is product guidance, not financial advice.

The public live record is our MQL5 signal FBS162Multi1 (mql5.com/en/signals/2266921): a real FBS account running EA Budak Ubat since October 2024, with its trade history verified by MQL5. It is an MT4 Standard account (not Cent) that trades very small lots for its balance, which keeps its drawdown low; your results will follow your own lot size, capital and settings. We do not share account logins or investor passwords. Past results do not guarantee future results, so run the EA on a demo account or in the Strategy Tester to see how it trades with your own settings.

No EA wins in every market, and we do not promise profits. EA Budak Ubat is a grid EA with a basket Take Profit: it makes small, frequent profits while the market ranges, and it can lose heavily in a long one-way trend, especially with large lots and no StopLoss. What we offer instead of promises is a way to check it yourself: the demo version is free with no time limit, the live record is public on MQL5 Signals (mql5.com/en/signals/2266921), the Set Generator at eabudakubat.com/tools has presets with drawdown and margin guards, and we will look at your settings if you send the pair, timeframe and inputs. Run it on demo for a few weeks on your own pair and decide from your own results.

Our only contacts are Telegram @SyariefAzman, the channel t.me/EABudakUbat, support@eabudakubat.com and the Facebook Page BuBat's Trading, all linked from eabudakubat.com. We do not offer account management or profit sharing, and we never ask for your trading or investor password, or for money sent to us. The free license only needs your broker, platform and account number, and the paid version is sold only through MQL5 Market. If someone you do not know messages you first on Telegram or WhatsApp offering to trade for you, grow your deposit or sell EA Budak Ubat, treat it as a scam and report it. The same goes for group posts showing huge profits from a small deposit, and for giveaways or bonuses that ask you to pay a fee before you can withdraw. Comments under our Facebook posts and ads that invite you to a Telegram or WhatsApp signals or "VIP" group are not from us, even when they appear as replies to our posts. We hide them when we find them, so please do not contact those accounts.

EA Budak Ubat is a grid system by design. For single-entry trading, use its sister EAs Aligator Gozaimasu (eabudakubat.com/aligator-gozaimasu) and Encik Moku (eabudakubat.com/encik-moku): trend-following, MT4 and MT5, one position per direction, no grid. They raise the lot after a losing trade by default (LotMultiplierOnLoss = 2.25); set it to 1.0 for a fixed lot and set MaxLots. The same license applies (demo free, permanent license through a partner broker). Several of our MQL5 Market products also hold one position at a time with no grid or martingale: see eabudakubat.com/products.

There are three ways to use EA Budak Ubat, and only one of them is paid. 1) On a demo account it is free, with no time limit. 2) On a live account opened through one of our partner brokers (eabudakubat.com/brokers) you get a free, permanent license. The offer needs at least $100 USD deposited in your own trading account; that money stays yours, and the broker pays us a partner commission, so you pay us nothing. 3) The MQL5 Market version is paid ($149 USD for MT5, or rent from $30 USD a month) and is for traders who want to keep their current broker: it works with any broker and account. The price you see is for option 3. We never ask you to send money to us directly.

Yes, with the MQL5 Market version. A funded or challenge account is not opened through one of our partner brokers, so the free license does not cover it. The MQL5 Market version works with any broker or prop-firm account ($149 USD for MT5, or rent from $30 USD a month; an MT4 version is also on MQL5 Market). Before you start, check two things. 1) Your prop firm's rules: many firms restrict or ban grid and martingale strategies or third-party EAs, so confirm with them first. 2) The daily and maximum loss limits: a grid adds positions when the price moves against it, so with the default settings one strong trend can break a daily limit. Use small lots, a limited MaxTrade, a StopLoss_Inp set so that a full basket loss stays below the daily limit, one pair, and the Conservative preset in the Set Generator (eabudakubat.com/tools), and check the sizes with the risk calculator on the same page. MaxDrawdownPct only stops new entries; it does not close open trades. Test the same settings on a demo account or the prop firm's free trial first.

You do not need copy trading to use EA Budak Ubat: install the EA directly on each MT4 or MT5 account you want to trade. Each live account needs its own license, so send every account number with its platform (MT4 or MT5); for the free license, each account must be opened under our partner link (eabudakubat.com/brokers). Copy-trading services are run by the broker, and the broker decides which account types can join. Some brokers leave Cent accounts out, because Cent balances are counted in cents (USC) and the lot sizes do not match Standard accounts, so ask your broker's support whether your account type is supported. Copied trades can also open later or at different prices than the original, which matters for a grid basket, so test on a demo account first.

1) Create a free account at mql5.com, open the product page (MT5: mql5.com/en/market/product/195399, MT4: mql5.com/en/market/product/105318) and click Buy or Rent. MQL5 takes the payment upfront, and a rental runs from the day you pay. 2) In MT4 or MT5, go to Tools > Options > Community and log in with the same MQL5 account. 3) Press Ctrl+T (the Toolbox in MT5, the Terminal window in MT4), open the Market tab > Purchased and click Install. Each new computer or VPS uses one of the 20 activations, so install it where it will run, ideally on a VPS. 4) Open the chart (EURUSD M15 for the Conservative preset), find the EA under Expert Advisors > Market in the Navigator and drag it onto the chart. 5) Tick Allow Algo Trading in the Common tab, then click Load in the Inputs tab and choose a .set file from the Set Generator (eabudakubat.com/tools); the Market version uses the same input names. Check that the Algo Trading button is green and that the Experts tab shows no errors. Bought it but never received a file? MQL5 doesn't send one by email: it appears under Market > Purchased once you log in with the same MQL5 account. We only sell EA Budak Ubat on MQL5 and the download version here is free, so anyone else who charged you for it is not us. Before you buy or rent, you can try the free version on a demo account with no time limit.

Register through one of the broker partner links on this page, then send the broker, the platform (MT4 or MT5) and your trading account number to @SyariefAzman on Telegram, or use the license request form at eabudakubat.com/brokers.

MT4 and MT5 run the same logic, so pick either one; the license is per account number and platform, so just tell us which when you send the number. With a small balance choose a Cent account (about $100 per pair at 0.01 lots). A Standard account needs about $10,000 per pair for the same risk, or a StopLoss, MaxTrade and EmergencyMarginLevel on one pair. Take the highest leverage the broker offers: it lowers the margin per position, not the loss in a deep grid. Most partner brokers on eabudakubat.com/brokers offer Cent accounts (FBS no longer opens new ones); check that the broker offers Cent on the platform you pick.

No. The EA runs free on a demo account from any broker, with no registration under our link and no expiry. The partner link only matters for the free permanent license on a live account.

Not inside the phone app: the MT4 and MT5 apps for Android and iPhone cannot run Expert Advisors. Run the EA in MT4 or MT5 on a Windows PC or laptop, or on a forex VPS so it keeps trading 24/7 with your computer off (see Using a VPS above). Then log in to the same trading account in the MT4/MT5 phone app to watch the trades, balance and equity from your phone. The phone app shows the trades the EA opens, but the EA only keeps working while the PC or VPS terminal stays on.

Yes. EA Budak Ubat runs on any MT4 or MT5 broker. On a demo account it is free with no expiry. On a live account at a broker that is not a partner, the download version runs in trial mode until the date in the file name. For permanent use on that account, use the MQL5 Market version (mql5.com/en/market/product/195399 for MT5, any broker, $149 USD or rent from $30 USD a month). The free permanent license only covers live accounts opened through one of our partner brokers (eabudakubat.com/brokers).

Save your settings first (Inputs โ†’ Save). Download the latest file from this page, delete the old .ex4/.ex5 from MQL4/Experts or MQL5/Experts, copy the new file in, restart MT4/MT5, attach it again and load your settings. After a big version jump, check the Inputs: MT4 v1.62 โ†’ v1.68 renamed several inputs (*_Inp). A licensed live account stays permanent, so updating is optional.

No. A license belongs to one account number and cannot be moved, because a file sent for that account cannot be recalled. The old account keeps its license for good: if you fund it again, a file built after it was authorized still runs there. For a new account, open it through one of our partner brokers (eabudakubat.com/brokers) and send the account number with MT4 or MT5 for a free license, or use the MQL5 Market version (MT5 #195399), which runs on any broker and covers several accounts with its activations.

The date (currently 20261230) is only the trial cutoff for live accounts that are not whitelisted yet. Demo accounts and whitelisted accounts never expire. New builds with a later trial date are published from time to time, not on a fixed schedule, so the trial can lapse for a while between builds. For uninterrupted use on a live account, get the free permanent license through a partner broker, or use the MQL5 Market version.