Trading libraries for MetaTrader 5

Special Offer!

Time Left to Buy:

Up to 25% OFF

Shopping cart

The cart is empty

MetaTrader 5

Top Rated Products MT5

Request a price Boom500 Scalper
Vhutshilo Evidence Masithembi
4.06667 5 15 Product
250 $188 $ KTS poverty killer robot
Thato Modiba
3.85714 5 7 Product
5 500 $4 125 $ Bonnitta EA MT5
Ugochukwu Mobi
4 5 3 Product

ZigzagGridMartinEA

zigzaggridmartinea-logo-200x200-6547
999 $749 $

Free updates are included

We accept crypto: BTC, ETH, BCH and more...

30-Day Money Back Guarantee
100% Guarantee of Originality

Information

Utilities
MetaTrader 5
Nurettin Polat
1.42
5

Overview

ZigZag Directed Grid Martingale Robot

This EA builds a symmetric grid of market orders and toggles Buy/Sell modules based on ZigZag direction. It can grow lots with martingale, and it resets on equity profit/loss, ZigZag direction change, Close All, or Flip. You can change every parameter live from the panel.

How it works

  1. Read ZigZag direction (in AutoZZ mode).

    • up → only Buy module active

    • down → only Sell module active

  2. If the module is active and the distance to the nearest open in that module ≥ GridStep, the EA opens a new market order.

  3. Optional: assign per-position TP/SL.

  4. If Martingale is on, each new order in the same module uses
    lot = base_lot × (Multiplier ^ open_count_in_module) .

  5. When equity change hits Global Profit % or Global Loss %, the EA resets: closes positions (scope depends on your setting) and restarts the initial routine.

  6. On ZigZag direction change, the EA resets if KeepPositionsOnDirChange = false .

Panel shortcuts

  • Start / Stop – run/pause the EA.

  • Close All – close positions (either account-wide or just this EA, per your setting).

  • Flip – invert the active side (works in AutoZZ/BuyOnly/SellOnly).

  • Info lines – Balance/Equity/Margin, P/L, trade count & volume, equity %, current martingale multipliers.

Parameters that matter (and what to watch)

1) General

  • TradeMode: AutoZZ , BuyOnly , SellOnly , Both

    • AutoZZ is safer: only one side trades with trend bias from ZigZag.

    • Both opens both sides (higher exposure and margin use).

  • GlobalProfit% / GlobalLoss% – equity basket levels that trigger a reset.

  • CloseAllPositionsOnReset

    • true : close all account positions.

    • false : close only this symbol & this EA’s magic numbers.

  • KeepPositionsOnDirChange

    • false (recommended): reset on ZigZag flips to avoid fighting the new trend.

2) ZigZag (Depth / Deviation / Backstep)

  • Larger values = less noise, fewer direction flips.

  • Too small = frequent flips/resets and overtrading.

3) Grid & TP/SL (Buy & Sell modules)

  • GridStepPoints – spacing in points from the nearest open in that module.

    • On 5-digit FX: 1 pip = 10 points (e.g., 50 points = 5 pips).

  • Per-Position TP/SL – TP/SL applied to each order.

    • If TP/SL is very tight, spread/slippage can cause missed or premature closes.

4) Martingale

  • Enable with UseMartingale and set Multiplier > 1.00.

  • If ≤ 1.00, the EA warns and won’t scale up lots.

  • Risk: in strong trends, position size grows fast. Pair it with a sensible GlobalLoss%.

5) Lot type

  • Fixed – constant base lot.

  • Auto – base_lot = (Equity / 10,000) × AutoLot

    • Example: Equity $3,000, AutoLot = 0.02 → 0.006 lot.

    • AutoLot is not a percent; think “lots per 10k equity.”

6) Magic numbers

  • InpMagicBuy / InpMagicSell – avoid clashes with other EAs.

7) Dependencies

  • ZigZag indicator must be compiled at Indicators\Examples\ZigZag .

    • If missing, AutoZZ won’t trade (the EA pauses that mode and warns).

Safe starting presets (majors on M15–H1)

Cautious (demo / first run)

  • TradeMode: AutoZZ

  • GlobalProfit% / GlobalLoss%: 1.0–2.0 / 2.0–3.0

  • KeepPositionsOnDirChange: false

  • GridStepPoints: 80–120 (8–12 pips)

  • Per-TP/SL: Off (observe first)

  • UseMartingale: Off

  • Lot: Fixed 0.01, or AutoLot 0.01 (≈ 0.01 per 10k equity)

Balanced

  • TradeMode: AutoZZ

  • GlobalProfit% / GlobalLoss%: 2–3 / 3–4

  • GridStepPoints: 60–90 (6–9 pips)

  • Per-TP: On, TP = 100–150 pts (10–15 pips)

  • UseMartingale: On, Multiplier = 1.3–1.5

  • AutoLot: 0.02 (≈ 0.02 per 10k equity)

Aggressive (testing only / experienced)

  • TradeMode: Both or AutoZZ

  • GlobalProfit% / GlobalLoss%: 4–6 / 5–7

  • GridStepPoints: 40–60 (4–6 pips)

  • Per-TP/SL: On, TP = 80–120, SL = 150–250 pts

  • UseMartingale: 1.7–2.0 (high risk)

  • AutoLot: 0.03–0.05

Note: On crypto/commodities or high-volatility symbols, increase GridStep, widen TP/SL. Always confirm the symbol’s point/pip format before setting numbers.

Practical tips

  • ZigZag tuning: Higher Depth/Deviation reduces “fake” flips and lowers reset frequency.

  • Spread/Slippage: The EA uses trade.SetDeviationInPoints(3) . Don’t set ultra-tight TP/SL during wide-spread hours.

  • Timeframe: On H1, wider GridStep and TP are usually healthier.

  • No hard max positions: There’s no built-in cap. Your real safety valves are GlobalLoss% and a modest Multiplier.

  • Flip button: Handy to manually switch bias at turns; not used in Both mode.

  • Reset scope: If you run other EAs, keep CloseAllPositionsOnReset = false so you only close this EA’s trades.

  • Uptime: Use a VPS to avoid missing resets or panel actions.

  • Testing path: Backtest → demo → small live. Scale slowly.

Pre-trade checklist

  1. ZigZag indicator present, compiled, and loaded?

  2. Symbol specs (point size, min/max/step) match your lot/point settings?

  3. TradeMode set correctly (AutoZZ recommended)?

  4. GlobalProfit% / GlobalLoss% realistic for your risk?

  5. GridStep sized to volatility?

  6. If using martingale, start with Multiplier ≤ 1.5.

  7. Magic numbers don’t collide with other EAs?

  8. Pressed Start and checked the log for warnings/errors?

Disclaimer

Grid + martingale is high risk. Test gradually, always set equity-based protection (GlobalLoss%), and start with one symbol. This is not investment advice; you are responsible for the outcome.


Recently Viewed

210 $158 $ RaysFX TMAT3
Davide Rappa
100 $75 $ Trend Oracle
Nadiya Mirosh
99 $74 $ DataSource AC mt5
Andriy Sydoruk
75 $56 $ Pro Trading Analytics
Abdeljalil El Kedmiri
Results 1 - 4 of 4

30-Day Money Back Guarantee

If for any reason you do not like the purchased program, you can request a refund within 30 days from the date of purchase. You can also make an exchange for any other product at an equal cost or by paying the difference.
Simply send a request for refund or exchange with your order number by email: support@fx-market.pro.
Refund requests received more than 30 days after purchase will be rejected.

Email Us Now! Support is available 24/7
by Email: support@fx-market.pro

Do You Need Help?
Click Here To Start Live Chat

Contact Us

Image

Search