Skip to content
  • Licensed software only
Martingale Expert Advisor cover
Platform
MT4
Strategy
Grid

Overview

This expert advisor for MetaTrader 4 handles the management side of a martingale or grid approach. You pick the direction of the first trade, and the EA adds further orders, sizes them according to your lot rules, and closes the basket when your profit or loss conditions are met.

How it works

The EA does not analyse the market to find entries. You choose a start type: a market buy, a market sell, or a buy limit, sell limit, buy stop or sell stop placed at a price you enter. Once the first trade is open, the EA adds orders in the same direction each time price moves against the basket by the configured gap. The chart panel shows the starting lot, whether a new or single iteration is selected, lot and gap information, profit settings, start and end times, and the trades currently open.

Iterations

One iteration is a full cycle that ends when all running trades are closed together. With new iteration enabled, the EA restarts from the chosen first trade type after each cycle. With single iteration enabled, it runs one cycle and stops.

Lot progression

  • Fixed lot: every trade uses the same size.
  • Incremental lot: a set amount is added to the previous lot.
  • Multiplier lot: the previous lot is multiplied by a chosen factor.

A repeat setting lets you keep the same lot size for several trades before the progression continues.

Gaps

Gaps can be fixed, so every step is the same distance in points, or additive, where an extra amount is added after a chosen number of trades up to a maximum gap. A minimum time gap in minutes stops several orders from opening in quick succession during a fast news move.

Markets and timeframes

The EA is multicurrency and can be attached to any symbol your broker provides. Because spacing is set in points and minutes rather than candles, the chart timeframe has little effect on the logic. Point values differ between instruments and brokers, so adjust gap and profit settings for each symbol.

Settings

GroupSettingPurpose
MainStart trade type, pending open priceSets the first order and its price
MainNew or single iteration, maximum tradesControls restarts and basket size
LotLot type, starting lot, multiplier, increment, repeatDefines how each lot size is calculated
GapTime gap, gap type, gap, gap add, add after, maximum gapDefines spacing between trades
ProfitPoints or currency target, loss in currency, stop-out level, hard TP and SLDefines exits and protection
TimeStop time, Monday and Friday off, daily rangeLimits when new cycles begin
OtherMagic number, commentIdentifies the EA's trades

No default values are listed here, so review each field in the inputs window before running the EA on a live account.

Risk

Martingale and grid methods add to losing positions. A long one-directional move can create a large exposure and heavy drawdown. Settings such as the trade cap, equity stop-out and hard stop-loss reduce this exposure but do not remove it.

Trading carries risk, and past results do not predict future ones. Test on a demo account first and only risk money you can afford to lose.

Installation

  1. In MT4, choose File, then Open Data Folder.
  2. Copy the expert file into MQL4/Experts.
  3. Restart MT4 or refresh the Navigator panel.
  4. Enable algo trading in the toolbar.
  5. Drag the EA onto a chart, set your inputs and confirm that automated trading is allowed in the properties window.

For continuous operation, many users run the terminal on a VPS so that basket management is not interrupted.

Features

  • Manual start direction with automated basket management
  • Market, limit and stop starting orders supported
  • Fixed, incremental or multiplier lot progression
  • Fixed or additive gaps plus a minimum time gap between trades
  • Profit and loss exits in points or account currency, with equity stop-out
  • Day-of-week and daily time-range filters

Specification

Platforms
MetaTrader 4
Strategies
Grid
Product type
Expert Advisor
SKU
FCT-MEA-7CB67B

Requirements

  • Platform: MetaTrader 4 (expert advisor)
  • Category: Expert advisor, grid and martingale trade management
  • Entry method: Manual start direction chosen by the user
  • Markets: Multicurrency; any symbol your broker offers on MT4
  • Timeframes: Any chart timeframe; logic is based on gaps and time, not candles
  • Trade style: Averaging basket with a combined exit
  • Requirements: Algo trading enabled; a VPS is advisable for continuous running

Reviews

No reviews yet. Reviews open once a purchase has been delivered.

Questions

Does this EA decide when to enter the market?

No. You choose the first trade type (buy, sell, or a pending order type) and, for pending orders, the open price. The EA then manages the follow-up trades. It has no entry logic of its own.

Will it work on MT5?

This listing is for MetaTrader 4 only. An MT4 expert advisor cannot be loaded in MT5, so check that you use the MT4 platform before buying.

How do I install it?

Extract the download, copy the expert file into the MQL4/Experts folder through File, Open Data Folder in MT4, then restart the terminal or refresh the Navigator. Drag the EA onto a chart and make sure algo trading is switched on.

Which settings should I check first?

Start with the starting lot, the lot progression type, the gap in points, the maximum number of trades, and the stop-out and hard stop-loss options. Test any values on a demo account first, because the right numbers depend on the symbol, the broker and your account size.

Can I limit how many trades it opens?

Yes. A maximum number of trades setting caps the basket. You can also use the equity stop-out level, a hard stop-loss measured from the first trade, and time filters to restrict activity.

Is a minimum deposit specified?

No fixed figure is given here. Martingale and grid baskets need enough margin to survive a long adverse move, so check your broker's contract size and leverage and size the account with that in mind.

Risk

Trading carries risk

Trading foreign exchange, metals, indices and other leveraged products carries a high level of risk and may not be suitable for all investors. Past performance, backtests and demo results do not guarantee future results. Automated trading software can lose money quickly, especially with leverage. Only trade with capital you can afford to lose, test every tool on a demo account first, and seek independent financial advice if you are unsure. Nothing on this website is investment advice.