ScalpingRipper

EA25 – ADX Martingale 500 Pip

EA25 – ADX Martingale 500 Pip is an automated MetaTrader 4 Expert Advisor that combines ADX-based market direction analysis with a structured Martingale recovery system and basket-level profit management.

The EA first analyzes market conditions using the Average Directional Index (ADX) and its directional indicators. When the required conditions are satisfied, EA25 opens an initial BUY or SELL position.

If the market subsequently moves against the open position, the EA can add another position at a predefined price distance using a larger lot size. This recovery process continues according to the configured Martingale multiplier until the combined basket reaches the configured profit target.

HOW EA25 WORKS

1. ADX Market Analysis

EA25 uses the Average Directional Index (ADX) to determine whether the market has sufficient directional strength for a trade.

The default ADX settings are:

  • ADX Period: 14

  • ADX Threshold: 30

  • Signal Candle: Previous completed candle

The EA uses the ADX together with the directional indicators +DI and -DI.

BUY Conditions

A BUY opportunity is considered when:

  • ADX is above the configured threshold.

  • +DI is greater than -DI.

  • BUY trading is enabled.

  • The EA's other trading conditions are satisfied.

This indicates that bullish directional pressure is stronger than bearish pressure.

SELL Conditions

A SELL opportunity is considered when:

  • ADX is above the configured threshold.

  • -DI is greater than +DI.

  • SELL trading is enabled.

  • The EA's other trading conditions are satisfied.

This indicates that bearish directional pressure is stronger than bullish pressure.

2. Initial Trade

When the required ADX conditions are satisfied, EA25 opens an initial position using the configured starting lot size.

The default starting lot is:

0.10 lots

The EA can be configured to trade:

  • BUY only

  • SELL only

  • BUY and SELL

This allows traders to control the direction in which the EA operates.

3. Martingale Recovery System

The main feature of EA25 is its Martingale position-management system.

If an existing position moves against the EA by the required distance, the EA can open an additional position in the same direction.

The new position uses a larger lot size according to the configured Martingale multiplier.

The default multiplier is:

2.0

For example, starting from 0.10 lots, a theoretical progression can look like:

0.10 → 0.20 → 0.40 → 0.80 → 1.60 → 3.20 → 6.40

The purpose of increasing the position size is to allow a subsequent favorable market movement to contribute more toward recovering the floating losses of earlier positions.

4. Position Distance

EA25 uses a configurable price-distance requirement before adding another recovery position.

The configured distance parameter is:

Distance = 50 pips by default

The EA checks the distance between existing positions and the current market price before adding another position.

It also checks existing positions to avoid unnecessarily placing recovery trades too close to one another.

This creates a structured recovery sequence rather than continuously opening positions on every market tick.

5. Basket Profit Management

EA25 manages the open recovery positions as a combined basket.

Instead of requiring every individual position to become profitable independently, the EA monitors the overall floating result of the relevant positions.

The default basket profit target is:

$20

When the combined floating profit reaches the configured monetary target, the EA can close the corresponding positions.

Example

A basket could contain:

  • Trade 1: - $60

  • Trade 2: - $30

  • Trade 3: + $50

  • Trade 4: + $60

Combined result:

+$20

When the configured basket target is $20, the EA can close the basket.

This allows profitable recovery positions to help offset losses from earlier positions.

6. No Individual Fixed Stop Loss

The standard EA configuration does not rely on a conventional individual hard Stop Loss for each position.

Instead, the strategy primarily uses:

ADX signal → Initial position → Recovery positions → Martingale sizing → Basket profit closure

This is an important characteristic of the strategy.

Because positions can remain open while the EA attempts to recover the basket, account exposure can increase during prolonged adverse market movements.

7. Once-Per-Bar Protection

EA25 includes a once-per-bar mechanism.

This helps prevent the EA from repeatedly opening new positions within the same candle when market prices fluctuate rapidly.

The default signal candle is:

Candle ID 1

which refers to the previous completed candle.

8. BUY Recovery

When a BUY basket is active and the market moves against the BUY positions, EA25 can evaluate whether another recovery position should be opened.

The general process is:

BUY position

↓

Market moves lower

↓

Required distance reached

↓

Check existing positions

↓

Calculate larger Martingale lot

↓

Open additional BUY

↓

Continue monitoring the basket

9. SELL Recovery

The SELL recovery process works in the opposite direction.

SELL position

↓

Market moves higher

↓

Required distance reached

↓

Check existing positions

↓

Calculate larger Martingale lot

↓

Open additional SELL

↓

Continue monitoring the basket

DEFAULT SETTINGS
Parameter Default
Initial Lot 0.10
ADX Period 14
ADX Threshold 30
Martingale Multiplier 2.0
Distance 50 pips
Basket Profit Target $20
Signal Candle 1
BUY Trading Enabled
SELL Trading Enabled
Magic Number Configurable
KEY FEATURES

✓ ADX Trend-Strength Filter

Uses ADX and directional indicators to identify markets with sufficient directional strength.

✓ BUY and SELL Trading

Allows automated trading in both market directions, with the ability to disable either direction.

✓ Automated Martingale Recovery

Can progressively increase position size when the market moves against an existing basket.

✓ Structured Recovery Distance

Additional positions are only considered after the required price distance has been reached.

✓ Basket Profit Target

Multiple positions are managed collectively and can be closed when the combined result reaches the configured profit target.

✓ Once-Per-Bar Protection

Helps prevent excessive order execution within the same candle.

✓ Automated Trading

Once configured and attached to a chart, the EA can monitor market conditions and manage positions automatically.

RISK MANAGEMENT

EA25 uses a Martingale-based recovery strategy, which means that position sizes can increase significantly during consecutive adverse market movements.

For example:

0.10 → 0.20 → 0.40 → 0.80 → 1.60 → 3.20

Therefore, traders should carefully consider:

  • Account balance

  • Initial lot size

  • Martingale multiplier

  • Maximum number of recovery positions

  • Maximum acceptable drawdown

  • Leverage

  • Symbol volatility

  • Broker margin requirements

  • Trading timeframe

  • Maximum acceptable exposure

A prolonged one-directional market movement can result in multiple open positions and substantially increased exposure.

Martingale trading does not guarantee recovery of losses.

RECOMMENDED USE

Before using EA25 with real funds, it is strongly recommended to:

  1. Backtest the EA using your broker's historical data.

  2. Test different symbols and timeframes.

  3. Use conservative initial lot sizes.

  4. Monitor maximum drawdown.

  5. Monitor the maximum number of recovery positions.

  6. Forward-test the EA on a demo account.

  7. Evaluate performance across different market conditions.

  8. Ensure sufficient free margin is available.

  9. Never use a lot size that exposes the account to unacceptable risk.

Performance may vary depending on the broker, spread, execution speed, leverage, symbol, timeframe, and market conditions.

IMPORTANT NOTICE

EA25 – ADX Martingale 500 Pip is an automated trading system and does not guarantee profits.

Martingale strategies can involve significantly increased exposure during losing sequences. Past performance, optimization results, and backtest results do not guarantee future performance.

The trader is responsible for selecting appropriate settings and understanding the risks associated with automated trading and Martingale position sizing.

Always test the EA thoroughly on a demo account before using it with real funds.

STRATEGY SUMMARY

The EA's overall operating process can be summarized as:

ADX Market Analysis

↓

BUY / SELL Signal

↓

Initial Trade

↓

Market Moves Against Position

↓

Required Distance Reached

↓

Martingale Recovery Trade

↓

Continue Monitoring Basket

↓

Combined Profit Target Reached

↓

Close Basket

EA25 is designed for traders looking for an automated ADX-driven trading and Martingale basket-recovery framework, with configurable entry conditions, position sizing, recovery distance, and profit-target parameters.


More from author
QueenMother
Antony Kiragu Maina
QueenMother — EMA Trend Expert Advisor QueenMother is a trend-following Expert Advisor designed for MetaTrader 4. The EA combines a 200-period EMA trend filter with a 5/12 EMA crossover strategy to identify potential trading opportunities in the direction of the prevailing market trend. QueenMother is designed to automate trade execution while maintaining predefined Stop Loss, Take Profit, position-sizing and trade-management rules. HOW QUEENMOTHER WORKS QueenMother uses three Exponential
GoldGridRipper
Antony Kiragu Maina
Absolutely. Here is a professional MQL5 Market-ready description based on how the EA actually works, written so you can copy and paste it directly. EA17 – Scalping Grid EA17 – Scalping Grid is an automated MetaTrader 4 Expert Advisor designed to combine trend-following analysis, EMA pullback entries, and grid-based position management . The EA identifies the prevailing market direction using a combination of a 15-period EMA and a 200-period EMA , waits for a pullback, and then opens an initial p
GoldRipper
Antony Kiragu Maina
EA20 – Betting Fibonacci Lots EA20 – Betting Fibonacci Lots is an automated MetaTrader 4 Expert Advisor that combines EMA-based trading signals with Fibonacci-based position sizing . The EA is designed for traders who want to automate a structured trading approach where the position size can change according to the outcome of previous trades. EA20 uses a combination of a fast EMA and slow EMA to identify trading opportunities and applies a Fibonacci-based lot calculation when determining the siz
MacdRipper
Antony Kiragu Maina
EA28 – MACD Martingale 500 Pip EA28 – MACD Martingale 500 Pip is an automated MetaTrader 4 Expert Advisor that combines MACD-based market direction analysis, structured recovery positions, and basket-level profit management . The EA is designed to identify directional momentum using the MACD indicator. When a valid BUY or SELL condition is detected, it opens an initial market position. If the market subsequently moves against the position, the EA can automatically add recovery trades at predefin
RsiRipper
Antony Kiragu Maina
EA29 – RSI Within Limits Martingale 500 PIP EA29 – RSI Within Limits Martingale 500 PIP is an automated MetaTrader 4 Expert Advisor that combines RSI-based market analysis, structured recovery trading, RSI confirmation filters, and basket-level profit management . The EA is designed to identify potential BUY opportunities when the market enters an oversold RSI zone and potential SELL opportunities when the market enters an overbought RSI zone. When an initial trade is opened and the market moves
GridRipper
Antony Kiragu Maina
EA32 – Price Distance Grid EA32 – Price Distance Grid — это автоматизированный советник (Expert Advisor) для MetaTrader 4, разработанный на основе положения рынка относительно EMA 200, входов по расстоянию от цены, восстановления по сетке и управления прибылью корзины . Советник предназначен для выявления ситуаций, когда рынок значительно удалился от 200-периодной экспоненциальной скользящей средней (EMA 200) . Вместо немедленного входа возле скользящей средней EA32 ожидает, пока цена достигнет
TerminalTerminator
Antony Kiragu Maina
Correct Terminal Terminator logic UPWARD TREND At every grid level, the EA has a Buy + Sell . Example with 200 points grid spacing : Level 1 Buy = 0.01 Sell = 0.01 Price moves 200 points upward: Level 2 The Buy 0.01 from Level 1 closes in profit. The Sell 0.01 remains open and is losing. New Buy = 0.01 New Sell = 0.02 So now the Sell side is: 0.01 → 0.02 Price moves another 200 points upward: Level 3 The Buy 0.01 closes. Existing Sell positions remain. New Buy = 0.01 New Sell = 0.03 Sell side: 0
Range Terminator
Antony Kiragu Maina
RANGE TERMINATOR Range Terminator is a MetaTrader 5 Expert Advisor based on a time-range breakout strategy. The EA defines a specific trading range during your chosen time window. It records the highest and lowest prices during the range. When the range ends, Range Terminator automatically places breakout pending orders above and below the range. HOW RANGE TERMINATOR WORKS Define the range period Choose the time when Range Terminator should monitor the market. Example: Range Start: 08:00 Range E
Filter:
No reviews
Reply to review