Skip to content
EA
MT4 Expert Advisor VIP Grid & Martingale

IS Blue EA Source Code MT4

A grid and pyramiding expert advisor for MetaTrader 4 that trades XAUUSD and major forex pairs on the M1 chart. The source code is included, so traders can audit every parameter and modify the logic themselves. It starts with a 0.01 lot risk per trade and can manage up to 200 open positions, making it more suitable for those with a clear plan for grid exposure than for casual users.

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

IS Blue EA Source Code MT4
Instruments
XAUUSD (Gold), Major Pairs
Timeframe
M1 (1 minute chart)
Minimum deposit
$100
Version
2.0

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 Jun–Aug 2 months +5.4% −0.2% 99 91.9% 319.62
Equity curve — 2026 Jun–Aug Started at $10,000, ended at $10,542. Deepest drawdown −0.2%. Account balance Drawdown from peak 2026-06-01 → 2026-08-15
$10,542 -0.0% 2026-06-01 2026-08-12

How concentrated the profit is

80% of the profit came from 17 of 23 trading days (73.9%).

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

Longest losing streak: 1 trades

Stop loss is switched off in these settings

  • StopLossProcent=0

With no stop loss, a single position has no defined worst case — it is closed either by a profit target or by the broker.

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
99
Long trades (won %)
27 (92.59%)
Short trades (won %)
72 (91.67%)
Winning trades
91 (91.92%)
Losing trades
8 (8.08%)

Drawdown

Balance drawdown, absolute
13.20
Balance drawdown, maximal
21.50 (0.21%)
Balance drawdown, relative
0.21% (21.50)

Risk and efficiency ratios

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

Data quality

Trading server
BlueberryMarkets-Demo
Modelling quality
90.00%
Bars tested
6028
Ticks tested
14502694
Mismatched chart errors
3
Expert advisor settings used (11 parameters)

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

Risk
0.01
StopLossProcent
0
DistancePuramid
500
StepPuramid
50
MaximumOrders
200
TakeProfit
50
TimeStart
2
TimeEnd
23
PipsStep
30
OpenTime
10
Magic
2023

How this was tested

Broker
BlueberryMarkets-Demo
Trading server
BlueberryMarkets-Demo
Symbol
XAUUSD.cn
Timeframe
M15
Starting balance
$10,000
Tick data
90% modelling quality
Spread
28 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

Description

Setting up the EA and included files

The download contains the MQ4 source file, a compiled EX4, and two preset files: one for XAUUSD and one for major pairs. After placing the files in the appropriate MetaTrader 4 folders, attach the EA to an M1 chart of the chosen symbol and load the relevant preset. The minimum deposit stated by the vendor is $100, with a leverage of 1:100 or higher. Because the strategy is grid-based, available margin and the ability to withstand multiple open trades matter more than the initial amount.

The unlimited licence removes restrictions on the number of accounts or terminals where the EA can be used. Traders who want to inspect the grid logic before running it can open the MQ4 file directly in MetaEditor. The source code also allows adjustments beyond the exposed inputs, but changing core behaviour requires solid programming knowledge.

Position building and trade closure rules

IS Blue EA builds positions in a grid pattern. When price moves against the existing trade, the EA can add new orders at intervals set by the user. The number of simultaneous positions can reach 200, which means that in a strong one-directional move the total floating exposure can grow significantly. The initial lot size is fixed at a conservative 0.01, but the sum of all open lots depends on how the grid expands.

Each trade or cycle uses a take profit of 50 points. That short target is designed to close a basket quickly once price retraces enough to bring the group into profit. There is no fixed stop loss described in the available documentation. Instead, the OpenTime parameter can force trades to close after a maximum open duration, and the trading window runs from 02:00 to 23:00 server time. Trades are not opened outside those hours, which helps avoid the widest spreads and thinnest liquidity around the daily rollover.

Magic number and running alongside other experts

A unique magic number identifies every order opened by this EA. That separation allows IS Blue EA to run on the same account as other advisors without interfering with their trade management. The magic number is particularly relevant on an M1 gold chart, where several strategies might otherwise confuse their respective open positions.

Choosing a risk profile with presets and inputs

Two preset files are provided. The XAUUSD preset is intended for gold, while the major pairs preset covers instruments such as EURUSD, GBPUSD and USDJPY. The vendor describes the defaults as a conservative starting risk, but the grid configuration itself can be changed to suit a more aggressive or more measured approach. Parameters for grid distance, step size, and position count determine how quickly the basket grows during an adverse move.

Because the EA can hold many positions at once, the preset name should not be taken as a fixed risk category. A trader using the XAUUSD file on a small account with high leverage may still face large drawdowns if gold trends for several hours. The OpenTime setting and the trading window offer practical limits, but they do not replace a full understanding of the grid mechanics.

Where the strategy is likely to struggle

IS Blue EA is built for ranging or mean-reverting behaviour on a short timeframe. In a strong trend, the same grid logic that produces small frequent profits can accumulate a large basket of losing positions. The 50-point take profit may be reached often during quiet M1 sessions, but a news-driven breakout in gold can move far beyond that range before the basket returns to breakeven.

The vendor recommends low-spread ECN accounts. On M1 XAUUSD, a higher spread or slippage directly reduces the usefulness of a 50-point target, because a larger part of the movement is consumed by transaction costs. Traders testing this EA should compare the same preset on a standard account and an ECN account before deciding where to run it. The source code allows review of the grid spacing and order sizing, which is the most direct way to judge whether the exposure level matches the available capital.

Frequently asked questions

Does this version include the MQ4 source code?

Yes. The package contains the .mq4 file, the compiled .ex4, and the two preset .set files.

Can I run the EA on both gold and major forex pairs at the same time?

The EA supports XAUUSD and major pairs. Separate preset files are provided for each, so you would need to attach the EA to each chart with the corresponding preset loaded.

How many positions can the EA open at once?

According to the specifications, the EA can manage up to 200 open positions. The exact number that appears on your account depends on the grid settings and market conditions.

Is there a fixed stop loss?

The documented settings do not include a fixed stop loss. Risk is managed through the grid configuration, the OpenTime parameter, and the restricted trading window.

Which preset should I use for XAUUSD?

The package includes a file named Blue_XauUsd.set. Load that preset when attaching the EA to an XAUUSD M1 chart. For major pairs, use the Blue_MajorPairs.set file.

Tags

GoldTrap EA MT5
Expert Advisor · MT5 XAUUSD (Gold)

GoldTrap EA MT5

A recovery-based grid system built specifically for XAUUSD, this EA opens an initial position and then layers in additional orders if price moves against it, aiming to close the whole basket once gold retraces. The fixed session filter and configurable lot multiplier let traders tune exposure, but the martingale-style logic means drawdowns can escalate quickly when gold trends without a pullback.

No loss cap Martingale · Grid
Any Minimum deposit $100
Veloz Scalping Bot MT5
Expert Advisor · MT5 XAUUSD (Gold)

Veloz Scalping Bot MT5

Gold scalping on the M1, M5 and M15 timeframes with a structured grid that caps open orders at six and uses a global trailing stop. Veloz Scalping Bot MT5 targets small intraday retracements on XAUUSD, with spread filtering and an equity drawdown kill-switch. Fixed lot sizing keeps exposure predictable, but the averaging logic means losses can compound if the cycle runs fully against you.

No loss cap Martingale
M1, M5, M15 Minimum deposit $500
Waka Waka EA MT4
Expert Advisor · MT4 AUDCAD, AUDNZD, NZDCAD

Waka Waka EA MT4

A grid-based expert advisor for MetaTrader 4 that trades three correlated Australian and New Zealand dollar crosses on the 15-minute chart. It uses capped grid levels, volatility-adjusted spacing, and built-in news filters to manage exposure. With a minimum deposit of $500 and support for ECN accounts, Waka Waka EA MT4 targets steady accumulation rather than rapid gains. The vendor reports a 74% win rate and 14.

No loss cap Grid
M15 (15 minute chart) Minimum deposit $500