Skip to content
EA
MT4 Expert Advisor VIP Grid & Martingale

IS Red EA Source Code MQ4

A scalping-style expert advisor for XAUUSD on the M1 and M5 charts, designed for traders who prefer frequent small gains and strict capital preservation. The package includes the source code, compiled files, and three risk presets for MetaTrader 4. It suits traders with at least $100 and leverage of 1:100 or higher who can monitor a grid-like approach.

Losses on this strategy have no upper bound

The vendor's own description mentions position-scaling logic that keeps a losing sequence open instead of closing it. A single losing sequence therefore has no defined worst case: a long enough move in one direction takes the account to zero. Systems like this can trade profitably for a long time before that happens, which is why an unbroken track record does not settle the question.

Mechanisms found Martingale Averaging down

How we classify loss mechanisms

IS Red EA Source Code MQ4
Instruments
XAUUSD (Gold)
Timeframe
M1, M5
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 +243.3% −0.2% 1,700 100.0%
Equity curve — 2026 Jun–Aug Started at $10,000, ended at $34,328. Deepest drawdown −0.2%. Account balance Drawdown from peak 2026-06-01 → 2026-08-15
$34,328 -0.0% 2026-06-01 2026-08-14

How concentrated the profit is

80% of the profit came from 38 of 55 trading days (69.1%).

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

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
1700
Long trades (won %)
862 (100.00%)
Short trades (won %)
838 (100.00%)
Winning trades
1700 (100.00%)
Losing trades
0 (0.00%)

Drawdown

Balance drawdown, absolute
3.60
Balance drawdown, maximal
52.50 (0.17%)
Balance drawdown, relative
0.23% (32.06)

Risk and efficiency ratios

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

Data quality

Trading server
BlueberryMarkets-Demo
Modelling quality
25.00%
Bars tested
76251
Ticks tested
14503172
Mismatched chart errors
0
Expert advisor settings used (9 parameters)

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

Risk
0.01
StopLossProcent
10
TakeProfit
1
Tral
20
TimeStart
2
TimeEnd
23
PipsStep
10
OpenTime
10
Magic
2022

How this was tested

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

Traders who will find this EA useful

This expert advisor is aimed at traders who want a systematic, automated approach to gold scalping and are willing to accept the characteristics of a grid-like entry method. It is not a hands-off solution for someone who wants to ignore the account for weeks. Because it opens multiple positions in sequence, the user should understand how adding to a position affects margin and floating drawdown. Traders who prefer a single entry with a wide stop loss will likely find the behaviour unfamiliar.

Those who value transparency in code will appreciate that the package contains the MQ4 source file, not just the compiled executable. That makes it possible to inspect the logic, adjust parameters, or verify that risk controls work as described. The unlimited licence means the EA can be used on any number of accounts without recurring fees.

How positions are opened and managed

The EA focuses exclusively on XAUUSD, taking trades on the M1 and M5 timeframes. The core idea is to capture small price movements repeatedly rather than hold for large trends. A fixed take profit, defined as a percentage of price or account equity, closes each trade quickly. A trailing stop then locks in gains when the market moves favourably, allowing a position to run beyond the initial target under the right conditions.

When a trade moves against the open position, the EA places additional orders at a fixed price interval. This grid-like spacing lowers the average entry price of the basket, aiming to close the whole group at a small net profit. The method is common in mean-reversion scalping but carries a specific risk: a sustained move in one direction creates a growing stack of open positions. The EA includes a time filter to restrict trading to periods of higher liquidity, which reduces the chance of entering during thin, erratic gold trading hours.

What the presets change

The downloadable package includes three set files for the M1 timeframe: Red_High_risk_M1.set, Red_Medium_risk_M1.set, and Red_Low_risk_M1.set. Each preset adjusts the distance between grid orders, the size of the take profit, and the trailing stop parameters. The low-risk preset uses wider spacing between orders and a smaller initial lot size relative to the account balance. The high-risk preset trades more aggressively in both frequency and position sizing. The source code allows traders to create their own presets for the M5 timeframe as well.

Account minimums and recommended environment

The vendor lists a minimum deposit of $100 for this EA. That figure is realistic only when paired with the low-risk preset and a cent or micro account, where position sizes can be kept very small. On a standard account, a $100 balance leaves little room for a grid of gold positions, even with leverage of 1:100 or higher. Traders using the medium or high-risk presets should consider a larger buffer, because the EA may hold several open positions at once during a drawdown phase.

Leverage of at least 1:100 is required. Lower leverage would sharply reduce the number of grid levels the account can support before hitting margin limits. The EA was tested on an ECN-style account with tight gold spreads, which is relevant because scalping small price moves depends on low transaction costs. A broker with wide fixed spreads on XAUUSD will erode the profit margin on every trade. Slippage control is another practical consideration, especially around high-impact news events when the liquidity filter may not fully protect order execution.

Because the EA trades on M1 and M5 charts, a stable connection to the MetaTrader 4 server matters. Price data on these timeframes updates every minute, and a gap in connectivity can cause the EA to miss an entry or exit signal. The vendor has verified performance on third-party trackers for periods in 2020–2022, but those results are not guarantees of future behaviour. Past gold volatility differs from today’s market conditions.

Points that need attention before live trading

The grid-like entry method is the main risk. When gold trends strongly in one direction, the EA keeps adding positions at fixed intervals. The floating loss grows with each new order, and the margin required increases accordingly. The built-in percentage-based stop loss is meant to close the entire basket when the drawdown reaches a preset threshold, but the actual loss depends on the executed prices, not theoretical levels. A fast market can produce slippage on both entries and the final stop-out order.

The time filter helps avoid low-liquidity sessions, but no filter can eliminate all news-related spikes. Gold reacts sharply to central bank statements, inflation data, and geopolitical events. A trader running the high-risk preset during such periods should expect larger drawdowns than the backtest figures suggest. Regular monitoring is recommended, at least daily, to check the number of open grid levels and the margin use.

The source code is a genuine advantage. A trader can verify that the trailing stop and time filter work as described, audit the grid spacing logic, and change the magic number to avoid conflicts with other expert advisors on the same terminal. However, modifying the code also means the trader takes responsibility for any new behaviour. The vendor’s own testing covers the default presets, not custom variations.

License terms are unlimited, so there is no restriction on the number of accounts or rental expiry. The $1,900 price reflects the inclusion of source code and the vendor’s brand positioning. Traders who only need the compiled EA may find the package more than they require, but those who want to learn from or adapt the logic will see the source access as the primary value.

Frequently asked questions

Can I run this EA on a $100 live account?

The minimum deposit listed by the vendor is $100. In practice, that only works with the low-risk preset and a micro or cent account. On a standard account with normal gold contract sizes, a larger balance is safer because the grid trades may hold several positions at once.

Does the EA use a martingale system?

The EA uses grid-like spacing with additional positions at fixed intervals, but the lot size for each new trade is not necessarily increased. The vendor describes the approach as cost averaging with a conservative risk percentage. The source code allows you to verify the exact position sizing logic before running it live.

Why does the EA include source code files?

The package contains the .mq4 files for both IS Red EA and IS Red EA 2.0. This lets you modify parameters, inspect the risk controls, and compile your own version. The compiled .ex4 files and three preset set files are also included.

Which timeframe should I use, M1 or M5?

The vendor specifies both M1 and M5 for XAUUSD. The provided presets are designed for the M1 chart. If you want to run the EA on M5, you will need to create your own set file using the source code as a reference for the logic and the M1 presets as a starting point for parameter values.

Is this EA suitable for a prop firm challenge?

The EA trades XAUUSD aggressively on low timeframes, and the grid-like method can produce a drawdown that exceeds typical prop firm daily loss limits. The minimum leverage of 1:100 fits most prop firms, but the trading style itself may conflict with their rules. Test it carefully in a demo environment that matches the prop firm’s conditions before considering it.

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