Keelmark Zigzag Breakout MT5

Keelmark Zigzag Breakout is an Expert Advisor for XAUUSD (gold) that trades breakouts of confirmed swing highs and swing lows. It places pending orders beyond the latest swing levels, keeps only one trade at a time, puts a stop loss on every order and exits with a trailing stop.

Launch price: 149 USD. The price goes up by 50 USD after every 10 copies sold (next price 199 USD, then 249 USD, and so on).

Risk notice. This is a breakout EA. Trades start at the moment price breaks a swing level, which is also when spreads widen and stop orders can slip, and many trades last only seconds to minutes. The result depends strongly on execution quality. There were also losing periods in the author's tests. A high share of winning trades does not mean low risk: a losing trade is usually larger than a winning trade, and a price gap can close a trade beyond the stop loss. Test on your own broker and account before using real money; the decision is yours.

Symbol and account

  • Symbol: XAUUSD (any suffix, e.g. XAUUSDm, XAUUSD.raw). The default inputs are set for gold.
  • Timeframe: the swing levels come from a fixed timeframe set in the inputs, so the chart timeframe does not change the result.
  • Quotes: distances are price distances by default, so the EA works the same whether your broker quotes gold with 2 or 3 decimals.
  • Account: low spread (raw / zero / ECN type) and fast execution. Hedging or netting both work (one position only).
  • Volume: lot from a risk % of balance (default 1% at the stop loss) or a fixed lot.
  • Testing: use the model "Every tick based on real ticks". The trailing stop reacts within seconds, so "1 minute OHLC" and "Open prices only" give results that are far too optimistic.

How it works

  • Swing levels – a ZigZag finds the latest confirmed swing high and swing low on closed bars only (no repainting).
  • Orders – a Buy Stop above the swing high and a Sell Stop below the swing low, placed only inside the trading hours and below the spread limit. A swing that has already been traded is not used again.
  • One trade at a time – when one order is filled, the opposite order is deleted. New orders follow after the trade is closed.
  • Exit – fixed stop loss sent with every order, trailing stop once the trade is in profit, optional fixed take profit.
  • Options – buy and sell, buy only or sell only; optional Friday cut-off for pending orders.

Control panel

  • AUTO / BUY / SELL switches. AUTO OFF deletes the pending orders and places no new ones; an open trade keeps its stop loss and trailing.
  • Volume: switch between RISK % and FIXED LOT and change the value with − / + while the EA runs. A value typed in the Inputs tab always replaces the panel value after a restart.
  • CLOSE TRADE closes the open trade at market. SKIP LEVELS deletes the pending orders and waits for the next swings.
  • Figures (numbers only): status, swing levels, pending order prices, next order lot, open position, floating P/L, spread, today's trades and P/L, closed trades and win %.
  • Lines for the swing levels and the pending order prices. The panel scales with the Windows display scaling.

Notes

  • The spread limit and trading hours only control when orders are placed; a pending order that is already in the market can be filled during news.
  • Pending orders stay over the weekend unless the Friday cut-off is used. A weekend gap can fill an order at a worse price.
  • The EA is built and tested for gold. On other symbols the distances are only scaled so that orders stay valid; other symbols were not part of the author's research.
  • One chart = one symbol. Use a different magic number for each chart.
  • The panel shows numbers only; every decision to trade, pause, change the volume or stop is yours.

Disclaimer

  • The EA is provided "as is", as a tool. It does not give investment advice and does not promise any profit. Backtests and videos show past or simulated behaviour only and do not guarantee future results.
  • Trading gold and other CFDs with leverage carries a high level of risk. Only trade with money you can afford to lose.
  • Results differ between brokers, account types, spreads, commissions, swaps, execution speed, slippage and settings. Test on a demo account with your own broker before going live.
  • You stay in control: the symbol, lot size, settings and when to run or stop the EA are your choices, and so are the results that follow from them. The author cannot be held liable for any loss arising from the use of this EA.
  • The EA may be updated as the research continues; behaviour and inputs can change between versions.
More from author
Keelmark All-In Challenge - FREE. An "all-in" compounding gold robot, so you can see how this style really behaves. Can $10 become $100,000 if a robot puts the whole account into every trade and compounds the wins? This EA does exactly that, so you can run it on a demo and watch the result for yourself. It is an experiment, not an income tool. WHAT IT DOES One basket at a time: several equal market positions in the same direction (default 7). Total lots = capital x Lots per $1. Every win makes t
FREE
Keelmark Order Panel - open several market orders in one click, close them with one button Keelmark Order Panel is a small manual trading panel for MetaTrader 5. You type the lot, the SL and TP distance and how many orders you want, then press BUY or SELL: the panel sends that many market orders at once, each with its own SL and TP. STOP closes them again. The panel does not open trades by itself and gives no buy or sell signals - every order comes from a button you press. ON THE PANEL Lot - lot
FREE
Vtrade Challenge Dashboard shows how much room is left before your prop firm's daily loss limit and maximum loss limit, counted the way the firm counts it: floating profit and loss included, from the firm's own daily reset time. One copy on one chart covers the whole account: every symbol, every Expert Advisor and every manual trade. What it shows Status: protecting, warning, or limit reached. Today's profit or loss and the time left until the firm's daily reset (Prague midnight, UTC, server mid
FREE
VDivergence Pro
Quang Vinh Huynh
VDivergence Pro - Price / OsMA Divergence on Confirmed Swings VDivergence Pro finds Regular and Hidden divergence between price and OsMA (MACD minus Signal) on swings from an ATR-based ZigZag. It works on closed bars only, and every signal is placed on the bar where it actually became known. What you see on history is what you would have seen live. HOW A SIGNAL IS BUILT Swing: the ZigZag locks a swing high/low only after price has reversed by N x ATR (default 2.5) on a closed bar. Divergence: th
Gold Reversal
Quang Vinh Huynh
Gold Reversal is an automated Stop & Reverse trade management tool for XAUUSD, controlled with a single ON / OFF button. It does not predict the market: you decide when to switch it on, and the bot handles the entry, the reverse order at the Stop Loss, the profit lock and the risk limits for you. The idea is simple: the bot always holds one position, and an opposite Stop order is already sitting exactly at that position's Stop Loss. When the market turns and hits your SL, the old position closes
Vtrade Challenge Lock watches the whole account and acts before the prop firm's loss limit is reached: it closes all positions, deletes pending orders and locks trading. The limits are counted the way the firms count them: floating profit and loss included, from the firm's own daily reset time. One copy on one chart covers the whole account: every symbol, every Expert Advisor and every manual trade. Daily loss lock At your safety level (default 80% of the firm's daily limit) it closes all positi
Keelmark Wave Gauge - where the current wave stands, and what waves on your chart did next Keelmark Wave Gauge follows the current price wave and shows it in plain words: which way it goes, how far it has travelled, how long it has been running, how much it has given back, and how straight the last bars pushed with it. A second table counts on the history of your own chart how often price went on with the wave by a fixed distance before turning against it by the same distance. The indicator desc
Keelmark SR Key Zones - support / resistance zones from reaction-weighted swing density Keelmark SR Key Zones finds the price areas where the market turned most often and most strongly, then replays the recent closed bars to show how price behaved on each visit to the zone: held (pushed back) or crossed (accepted on the other side). The zone engine uses closed bars of the source timeframe only, so a zone does not change while the source bar is still forming. HOW A ZONE IS BUILT Swings: an ATR zi
Keelmark All-In Challenge READY - the all-in compounding gold EA, set up for a live account, with manual or automatic lot size. READ THE WARNINGS BEFORE YOU BUY Use a separate live account, only for this EA, with money you can fully afford to lose. Never run it on your main account, savings or borrowed money. Test it first on a demo account, or on a very small live account, so you see how the EA behaves before you put real money in. Study and watch how the EA works and find the way tha
Filter:
No reviews
Reply to review