Grid Martingale Pro

GRID MARTINGALE PRO v1.30

Capped Grid Engine with Trend-Bias Gate & Profit-Cycle Autopark
Symbol: EURUSD  |  By DEFPARAM Labs

⚠ READ FIRST — HONEST PRODUCT STATEMENT

Grid Martingale Pro is a risk-managed trading tool, not a profit machine. No expert advisor, indicator or strategy can guarantee profits. Martingale and grid money management carry a substantial risk of loss, including loss of the entire deposit. Some trading cycles will fail by design; the caps described below limit how large each failure can be. Backtests, screenshots and videos are demonstrations only and do not guarantee future results. Trade only with money you can afford to lose entirely.

WHAT THIS EA IS

A layered grid engine for EURUSD with a capped martingale multiplier, a higher-timeframe trend-bias gate, and a Profit-Cycle mission system: you define a financial goal (your withdraw target), and the EA parks itself — or removes itself from the chart — the moment the mission ends, whether by target, failure cap or timeout. It is built for traders who want bounded, repeatable missions instead of an always-on system with unlimited tail risk.

NEW IN v1.30 — TREND-BIAS GATE (DAILY / WEEKLY)

The EA now reads the higher-timeframe bias (last closed daily and weekly bars versus their SMA) and refuses to open counter-trend missions: no buy cycles on bearish days, no sell cycles on bullish days.

  • TREND_OFF — no filter (classic grid behaviour).
  • TREND_DAILY (default) — daily bias gates new missions: bullish day → buy missions, bearish day → sell missions.
  • TREND_WEEKLY — weekly bias gates new missions (swing-style alignment).
  • TREND_BOTH — strictest mode: daily AND weekly must agree; on conflict the EA stands aside completely.
  • Flip policy — choose what happens if the bias flips while a basket is open: KEEP_ADDING (default, layers keep averaging — preserves martingale recovery) or STOP_ADDING (freeze new layers on the counter-trend side).
  • Bias periods are fully adjustable (defaults: D1 = 20, W1 = 10).
  • The live panel displays the current D1 / W1 bias and gate mode at all times.

CORE MECHANICS

  • Direction modes: Buy-only, Sell-only, or Both-sides hedged start (default: Both, combined with the trend gate so only the aligned side opens).
  • Grid layers: additional positions opened every N points against a loss.
  • Capped martingale: lot multiplier per layer with a hard maximum layer count — the tail risk is bounded by construction.
  • Basket take-profit: the whole position basket closes at a fixed profit in account currency, followed by a cooldown pause before the next mission.

PROFIT-CYCLE MODE — THE WITHDRAW PLAN

Set one mission; the EA executes it and stops:

  • Target modes: fixed amount (USD), percent of starting balance, or an absolute balance goal.
    Examples: deposit $200 → TM_BALANCE = 300 stops when the account reaches $300; TM_USD = 300 stops after $300 of profit; TM_PERCENT = 100 doubles the starting balance.
  • Cycle failure cap (USD or percent): maximum acceptable loss for the whole mission. If hit, all positions close and the EA parks.
  • Cycle timeout: maximum mission duration in days.
  • Optional self-removal (ExpertRemove) at mission end — ideal for the "hit target → withdraw → re-attach" workflow.
  • Parked state survives terminal restarts (stored in terminal global variables); one input click (InpResetCycle) clears it for a new mission.

RISK MANAGEMENT STACK (ALL ENABLED BY DEFAULT)

  • Daily loss cap (USD or percent): realized + floating limit per day. When hit, everything closes and trading resumes only the next day.
  • Trend-bias gate (see above): blocks counter-trend missions.
  • Spread filter: no entries when the spread exceeds your point limit.
  • Trading-hours schedule (server time).
  • Cooldown pause after each closed basket.
  • Automatic order-filling detection (FOK / IOC / Return) per symbol.
  • Magic-number isolation: the EA touches only its own positions.
  • Full diagnostics: environment report, first-tick report and named BLOCKED reasons in the Journal — the EA never fails silently.

LIVE TRADE PANEL

The chart panel shows in real time: D1/W1 bias and gate mode, layers in use per side versus the cap, floating basket P/L, today's P/L and basket count, cycle progress (amount / target / percent / mode), the daily cap, and the exact current status:

  • TRADING / COOLDOWN
  • BASKET CLOSED AT TARGET (n today)
  • WAIT: TREND FILTER (no aligned direction)
  • SPREAD TOO WIDE / OUTSIDE HOURS
  • STOPPED TODAY: DAILY LOSS LIMIT — resumes tomorrow
  • PARKED: CYCLE TARGET HIT — withdraw & re-attach
  • PARKED: CYCLE STOP HIT — capped failure
  • PARKED: CYCLE TIMEOUT

Every stop event tells you why the EA stopped.

INCLUDED PRESETS (attached files)

Preset Deposit Cycle target Cycle cap Daily cap Max layers Trend gate
DEFPARAM_Cycle100.set $100 +$100 (USD) $60 $25 4 Daily
DEFPARAM_Cycle1000.set $1,000 +50% (percent) 20% 5% 6 Daily
DEFPARAM_Showcase.set demo +$50 (USD) $40 $20 3 Off (video demo)

Load a preset in the Strategy Tester (Inputs → Load) or in the EA properties dialog on a chart. Every parameter remains a user input — experiment freely.

BUYER TUNING GUIDE

You want… Settings
Balanced default (recommended) TREND_DAILY + FLIP_KEEP_ADDING + periods 20/10
Never fight the weekly trend TREND_BOTH (stands aside on D1/W1 conflict)
Swing-style alignment only TREND_WEEKLY, period 10–20
Freeze layers when bias flips FLIP_STOP_ADDING (slower basket recovery — use knowingly)
More responsive bias Daily period 10 (whipsaw risk)
Smoother, slower bias Daily period 50
Classic grid, no filter TREND_OFF

RECOMMENDED SETUP

  • Symbol: EURUSD (the product is designed, tuned and demonstrated on EURUSD only).
  • Timeframe: M15 or H1 (logic is tick-driven; timeframe affects test speed only).
  • Account: minimum $100 for the Cycle100 preset; $500+ recommended; leverage 1:100 or higher; low-spread ECN/raw accounts preferred.
  • Infrastructure: run on a VPS for uninterrupted missions.
  • Before going live: test in the Strategy Tester (every-tick mode) and on a demo account.

WHAT THIS EA IS NOT

It is not a signal service, not a copy-trading product, and not a "set-and-forget forever" system. It is a bounded mission executor with disclosed failure modes. If you need guaranteed income, do not buy this or any other trading product — it does not exist.

VERSION HISTORY

  • 1.30 — Trend-bias gate (D1/W1 SMA, four modes), flip policy for layer additions, bias readout in panel, new defaults (both-sides + daily gate).
  • 1.20 — Flexible cycle targets (USD / percent / balance), direction modes, daily loss cap, enriched panel.
  • 1.10 — Profit-Cycle mode with park / auto-remove and restart-safe state.
  • 1.01 — Automatic filling detection, environment diagnostics, named block reasons.
  • 1.00 — First release: capped grid engine with basket management.

SUPPORT

DEFPARAM Labs answers every comment and message on the product page. Update notes are published with each version.

RISK DISCLAIMER

Trading foreign exchange and CFDs carries a high level of risk and may not be suitable for all investors. The high degree of leverage can work against you as well as for you. Martingale and grid strategies amplify drawdown and can lose deposits faster than linear strategies. Before deciding to trade, carefully consider your investment objectives, level of experience and risk appetite. There is a possibility that you could sustain a loss of some or all of your initial investment and therefore you should not invest money that you cannot afford to lose. You should be aware of all the risks associated with trading and seek advice from an independent financial advisor if you have any doubts. Any performance figures shown are historical simulations or demonstrations and are not indicative of future results. No representation is being made that any account will, or is likely to, achieve profits or losses similar to those shown.
© 2026 DEFPARAM Labs

Video Grid Martingale Pro
Yazarın diğer ürünleri
Session Liquidity Pro — institutional-grade session mapping for MetaTrader 5, by DEFPARAM Labs. WHAT IT DOES • Draws Asian, London and New York session ranges as shaded boxes with High, Low and 50% Equilibrium levels (optionally extended to the right) • Builds a custom Opening Range (ORB) box with user-defined start time and duration • Detects confirmed liquidity sweeps (stop hunts): when price takes out a completed session high/low and closes back inside, an arrow prints on the closed bar • L
Filtrele:
Değerlendirme yok
Değerlendirmeye yanıt