Skip to content
EA
MT4 Expert Advisor VIP Trend Following

Safe Bot EA Source Code MT4

A source-code-included MT4 EA for EURUSD, XAUUSD and US30 on the H1 timeframe. The developer describes a trend-following approach with H4 trend confirmation, drawdown protection, and dynamic position sizing after losing streaks. Minimum deposit is $100 with 1:100 leverage or higher. Set files and unlimited licence are provided.

Losses on this strategy are capped

Every trade carries a hard stop and position size does not increase after a loss, so the worst case of one losing sequence is known in advance. That says nothing about whether this product is profitable, only that it can survive a bad month. We backtest products in this group.

How we classify loss mechanisms

Safe Bot EA Source Code MT4
Instruments
EURUSD, XAUUSD (Gold) and US30 (Dow Jones)
Timeframe
H1 (60 minute chart)
Minimum deposit
$100

Backtest results

Simulation — not a live account

Run in the MetaTrader Strategy Tester on real tick data. These are simulated results: a backtest shows how a strategy would have behaved on past prices, not how it will behave on your account.

Period Return Max drawdown Trades Win rate Profit factor
2026 Jul–Aug 1 months +2.9% −6.8% 12 83.3% 1.96
Equity curve — 2026 Jul–Aug Started at $10,000, ended at $10,292. Deepest drawdown −6.8%. Account balance Drawdown from peak 2026-07-01 → 2026-08-10
$10,292 -3.0% 2026-07-13 2026-08-05

How concentrated the profit is

80% of the profit came from 2 of 7 trading days (28.6%).

A smooth equity curve can still be a handful of exceptional days plus a long flat stretch.

Longest losing streak: 2 trades

Full test statistics

Every figure below is copied from the MetaTrader report exactly as it appears there, so you can check it against your own run.

Trade counts

Total trades
12
Long trades (won %)
7 (71.43%)
Short trades (won %)
5 (100.00%)
Winning trades
10 (83.33%)
Losing trades
2 (16.67%)

Drawdown

Balance drawdown, absolute
434.31
Balance drawdown, maximal
696.74 (6.79%)
Balance drawdown, relative
6.79% (696.74)

Risk and efficiency ratios

Profit factor
1.96
Expected payoff per trade Average result of one trade. A big number with a low win rate means it depends on rare large wins.
24.37

Data quality

Trading server
BlueberryMarkets-Demo
Modelling quality
90.00%
Bars tested
1672
Ticks tested
1632146
Mismatched chart errors
0
Expert advisor settings used (45 parameters)

The exact parameters this test ran with, taken from the report. Results are only comparable when the settings are.

EnableSetups
true
EnableExtens
true
EnableBuyNums
-1
EnableSellNums
-1
Risk
1
MaxLost
50
x_TakeProfit
20
WorkBegin
00:00
WorkEnd
00:00
fastZigZag
4
MagicNumber
11191
MaxOpenOrders
8
x_TrailStart
15
x_TrailStop
15
WhenCandleClose
false
FixLot
0
MaxFirstLot
1
UseCalibr
false
DynamicProfit
0
eurusd_instr
EURUSD
stepprof_val
0
stepprof_pause
2
EnableHStart
1
EnableTStart
1
LotForOpen
0.2
EnableRects
false
WorkWithCanals
false
MinWCanal
320
ProfitClosePack
2
EnableTokars
true
TokWorkTF
240
TokAmplit
4
TokEnableClose
true
TokOrdersNum
2
TokLotMulti
1.5
ShowPanel
true
WorkWithLines
true
LineColors
=========================================
closelineClr
Yellow
t_closelineClr
Lime
startslineClr
Blue
trendslineClr
Red
stopslineClr
Aqua
openslineClr
Orange
nextslineClr
Green

How this was tested

Broker
BlueberryMarkets-Demo
Trading server
BlueberryMarkets-Demo
Symbol
EURUSD.cn
Timeframe
H1
Starting balance
$10,000
Tick data
90% modelling quality
Spread
30 points, fixed

Tick data below 99% quality. Interpolated ticks tend to flatter high-frequency strategies, so this run is only used to rule the product out, never to claim it works.

This period does not cover June–August 2025, when a sharp gold trend closed out a number of expert advisors that had never had a losing month.

Specifications

Minimum leverage 1:100 or higher
Set files Available
License type Unlimited

Screenshots

Description

Product essentials

  • Platform: MetaTrader 4 only.
  • Timeframe: H1 (60-minute chart).
  • Instruments: EURUSD, XAUUSD (Gold) and US30 (Dow Jones).
  • Minimum deposit: $100.
  • Leverage: 1:100 or higher.
  • Source code: Included as an MQ4 file.
  • Licence: Unlimited.
  • Set files: Available.

The vendor positions Safe Bot as a stabilised automated system for traders who want visibility into the execution logic. Because the MQ4 source file is part of the package, the strategy can be inspected, modified or recompiled before live use.

How trade direction is determined

Safe Bot uses a trend-following framework. According to the vendor, the core entry signal relies on an H4 trend confirmation that feeds into the H1 execution. This means the EA checks a higher-timeframe bias before opening a position on the H1 chart.

The system combines several components:

  • Adaptive indicator reading for trend detection.
  • Signal filtering to discard setups that do not meet a minimum intensity threshold.
  • Wave-based entry logic tied to the prevailing trend structure.

For the three supported instruments, the H4 confirmation is intended to reduce counter-trend entries. The EA will not necessarily trade all instruments at the same time; set files can limit which symbols are active. The included .set file references a GBPUSD M15 configuration, which differs from the stated H1 specification, so buyers should verify the set file contents against their chart setup.

T indicator integration

The vendor describes an automated 'T Indicator' that performs the H4 trend analysis. The indicator is part of the package and is used for direction filtering, not as a standalone signal generator. This distinguishes the EA from simpler moving-average crossovers: the H4 bias must align with the H1 trigger before a trade package can be opened.

Order handling and exposure logic

Safe Bot groups its positions into directional 'trade packages'. Rather than placing a single order per signal, the EA can manage multiple related orders as one unit. The vendor states that this package structure includes stability rules for execution order and direction.

Profit management is performed at package level. Trailing functions and balance targets can be applied to the whole group, not only to individual positions. This affects how partial closes and trailing stops behave compared with EAs that manage each ticket independently.

After a losing sequence, the EA can adjust future position sizing. The vendor calls this 'dynamic losing streak adjustment logic'. The exact formula is visible in the source code, which is relevant for traders who want to know whether the scaling is aggressive, linear or capped.

Risk controls

The vendor lists drawdown protection and customisable trade exposure settings as separate functions. While specific parameters are not documented in the marketing text, the source code exposes the logic. Traders can inspect the drawdown threshold behaviour and lot sizing rules before deployment.

The EA includes on-chart visual elements that show active control lines and trading functions. This is useful for monitoring thresholds such as trailing levels or package boundaries.

Minimum deposit is $100, which makes the EA accessible on smaller accounts. However, with XAUUSD and US30 both available, the required margin per trade can be high on a $100 balance. Traders should calculate lot sizes based on their leverage and the symbol being used.

Setup notes

The package contains the .ex4 compiled file, the .mq4 source file, several custom indicators and at least one set file. The listed indicators are SimpleBars, TrendMagic, PZ-LopezTrend and DT_ZZ_optimized. These must be installed for the EA to load correctly, as missing indicators will prevent chart execution.

Set files are provided, but the one named in the vendor description references GBPUSD on M15. This does not match the primary specification of EURUSD, XAUUSD and US30 on H1. A buyer should treat the included set file as a starting point and test parameter combinations in the strategy tester before live use.

Since the licence is unlimited, the EA can be run on multiple accounts and terminals without additional activation. Source code access also allows compilation for personal modifications.

Before running live

The gap between the set file specification and the stated timeframe and pairs should be resolved first. The H4 confirmation logic means the EA relies on history from the higher timeframe; a fresh chart with limited H4 data may produce fewer trades until enough bars are loaded.

Testing on XAUUSD and US30 is recommended separately, as their tick values and volatility differ notably from EURUSD. The drawdown protection and losing streak adjustment should be verified against historical drawdowns for each symbol.

The source code is the strongest point of control here. All risk logic, order management and signal filtering can be audited line by line before capital is committed.

Frequently asked questions

Which chart timeframe does Safe Bot need?

The EA is designed for the H1 timeframe. The vendor also uses H4 trend confirmation from a higher timeframe, so sufficient H4 history should be present on the chart or available in the terminal.

Can I run Safe Bot on all three supported symbols at once?

Yes, the specified instruments are EURUSD, XAUUSD and US30. Each chart instance should be set to H1. Set files can be used to control which symbols are active and to store symbol-specific parameters.

Does the package include the source code?

Yes, both the compiled .ex4 file and the MQ4 source file are included. This allows inspection, modification and recompilation. The licence is unlimited.

What is a trade package?

The vendor describes 'smart trade package management', meaning orders are grouped by direction and managed together. Trailing, profit targets and position scaling can apply to the package as a whole rather than to each order individually.

Why does the included set file mention GBPUSD M15?

The vendor packaging lists a GBPUSD_M15.set file among the contents, while the primary specification is EURUSD, XAUUSD and US30 on H1. Buyers should verify the set file parameters before using it, as it may not match the officially supported configuration.

Tags

Quantum OmniGold EA MT5
Expert Advisor · MT4 XAUUSD (Gold)

Quantum OmniGold EA MT5

A fully automated trading tool for XAUUSD on the MetaTrader 4 platform. It combines ZigZag pattern recognition, a moving average trend filter, and stochastic momentum confirmation to identify entries, with fixed stop loss and dual take profit management. Designed for ECN accounts from $100, it avoids grid and martingale methods and includes a low-risk profile suitable for proprietary trading firm evaluations.

Loss capped
M5, M15, M30, H1 Minimum deposit $100
Gianluca Arrigo EA MT5
Expert Advisor · MT5 XAUUSD (Gold)

Gianluca Arrigo EA MT5

An automated MetaTrader 5 expert advisor for XAUUSD on the M1 chart, built around Smart Money Concepts, ICT methodology, and AI-based filtering. It focuses on institutional-style entries with multi-timeframe confirmation and volatility checks. Minimum deposit is $100, on ECN or raw spread accounts. This product suits traders who prefer systematic, low-frequency execution over scalping or grid-based strategies.

Loss capped
M1 (1 minute chart) Minimum deposit $100+