FXEA365 Pivot Trend ZigZag Swing
- Indicators
-
Kenichiro Sakamoto
I'm Kenichiro Sakamoto, the developer behind FXEA365 — a studio building transparent, rule-based Expert Advisors for MetaTrader 5. - Version: 1.20
- Updated: 20 September 2026
FREE — ZigZag swing pivots plus a moving-average trend filter, drawn together. It shows the pivot levels and trend context that a pivot-breakout system trades on. Tuned for gold (XAUUSD).
Want this kind of rule traded automatically? See our paid EA Gold Viper Breakout (free demo in the Strategy Tester): https://www.mql5.com/en/market/product/182297
100% free, no limitations. If it earns a place on your charts, a short review is the one thing that helps us most — it takes 30 seconds and it is what lets other traders find this tool.
Platform: MetaTrader 5 (this page). MetaTrader 4 edition: https://www.mql5.com/en/market/product/185646
A pivot break only means something in the direction of the larger trend. This indicator marks each confirmed swing pivot and plots a trend moving average, so you can see at a glance whether a break of the last pivot is with the trend or against it.
=== WHAT IT DRAWS ===
- Confirmed ZigZag swing highs and lows (dots) - the pivots a breakout system reacts to.
- The trend moving average (default MA 50).
=== NO REPAINTING OF CONFIRMED PIVOTS ===
A pivot is only plotted once it is confirmed as the local extreme of its window. Confirmed pivots do not move. (Like every ZigZag, the most recent, still-forming leg is provisional until a new extreme confirms it - that is inherent to swing detection, not a defect.)
=== SETTINGS ===
- ZZDepth (default 12), ZZDev (default 5), ZZBackstep (default 3): swing sensitivity.
- MA_Period (default 50): the trend filter.
Defaults are an XAUUSD configuration - a starting point, not a universal setting.
=== HONEST NOTE ===
A visualisation tool, not a signal service. A pivot breakout with the trend is a setup, not a guarantee. Trend systems have a win rate below 50%. Watch how pivots and the MA behave on your instrument before trading the idea.
=== WHO THIS IS FOR / NOT FOR ===
Right fit: gold traders who work from swing structure, anyone who wants to know whether a pivot break is with or against the larger trend before acting on it, and anyone building a pivot-breakout system who needs to see the levels it would react to.
Not a fit: anyone who expects the most recent leg to be final — every ZigZag's forming leg is provisional — anyone who wants entry signals rather than structure, and anyone running the gold defaults on an unrelated instrument.
=== 5-MINUTE CHART CHECK ===
1) Open XAUUSD, the instrument the defaults were fitted on.
2) Scroll back and check the dots: each confirmed pivot should sit exactly on a local high or low, and none of them should have moved from where they were drawn.
3) Now watch the right edge. The newest leg will shift as new extremes appear. That is inherent to swing detection, not a defect — and it is why you never trade the forming leg as if it were confirmed.
4) Take the last confirmed pivot and ask the question this tool exists for: is a break of it with the MA 50 or against it? Only the first case is a setup.
5) Move ZZDepth to 8 and then to 20 and watch how many pivots appear and vanish. Pick the sensitivity that matches the swings you actually trade, then stay with it.
A pivot breakout with the trend is a setup, not a guarantee. Trend systems win under half their trades.
More free tools from us (FXEA365):
- Donchian Trend Engine (EA): https://www.mql5.com/en/market/product/185534
- Donchian ATR Trailing Stop (indicator): https://www.mql5.com/en/market/product/185547
- Crypto Trend Channel Donchian (indicator): https://www.mql5.com/en/market/product/185642
- Dip Buyer Zones RSI Pullback (indicator): https://www.mql5.com/en/market/product/185644
- Volatility Squeeze BB Keltner (indicator): https://www.mql5.com/en/market/product/187032
- Currency Strength Meter 8 Majors (indicator): https://www.mql5.com/en/market/product/190005
All our products: https://www.mql5.com/en/users/app.develop.sk/seller
=== IF YOU WANT THIS AS AN AUTOMATED SYSTEM (FXEA365) ===
This indicator shows the idea; it does not trade. If you want the same kind of rule executed automatically on gold, with a stop on every position group and figures you can reproduce in the Strategy Tester yourself, this is the EA we built for it:
- Gold Viper Breakout (XAUUSD M30, MT5): https://www.mql5.com/en/market/product/182297
Trades gold only while volatility is expanding and the EMA50/200 trend agrees; every basket is capped by a group stop that the EA executes (keep it running on a VPS). No martingale. Backtest on Exness tick history (history quality 8%, not a 100% real-tick test), 2019.01-2026.09, $10,000: Defensive mode profit factor 1.74, equity drawdown 21.3%, 2,819 trades; Standard (the default) profit factor 1.51, equity drawdown 30.8%.
- Gold Neuron (XAUUSD, MetaTrader 5 only): https://www.mql5.com/en/market/product/187329
Four rule-based decision engines in one EA: a trend core, a momentum breakout, a gradient-boosting entry gate and an M15 Donchian breakout. No martingale, but two engines add same-size positions against the market, closed by the EA's group stop. Backtest of the current v3.15 build (XM real ticks, Ultra = default, 2022.01-2026.08): profit factor 1.22, maximum equity drawdown 27.68%, 611 trades. Long window 2004.01-2026.07 (100% real ticks, two core engines only): Standard mode profit factor 1.34, maximum equity drawdown 29.49%.
Every EA above has a free demo. Run it in the Strategy Tester with the settings listed at the top of its page before you decide. These are backtest figures, not live trading results, and they do not guarantee future performance.
If this tool is useful in your trading, a short review on this page would help, good or bad, including anything you would like improved. It helps other traders decide and tells us what to fix next.
Want this kind of rule traded automatically? See our paid EA Gold Viper Breakout (free demo in the Strategy Tester): https://www.mql5.com/en/market/product/182297
100% free, no limitations. If it earns a place on your charts, a short review is the one thing that helps us most — it takes 30 seconds and it is what lets other traders find this tool.
Platform: MetaTrader 5 (this page). MetaTrader 4 edition: https://www.mql5.com/en/market/product/185646
A pivot break only means something in the direction of the larger trend. This indicator marks each confirmed swing pivot and plots a trend moving average, so you can see at a glance whether a break of the last pivot is with the trend or against it.
=== WHAT IT DRAWS ===
- Confirmed ZigZag swing highs and lows (dots) - the pivots a breakout system reacts to.
- The trend moving average (default MA 50).
=== NO REPAINTING OF CONFIRMED PIVOTS ===
A pivot is only plotted once it is confirmed as the local extreme of its window. Confirmed pivots do not move. (Like every ZigZag, the most recent, still-forming leg is provisional until a new extreme confirms it - that is inherent to swing detection, not a defect.)
=== SETTINGS ===
- ZZDepth (default 12), ZZDev (default 5), ZZBackstep (default 3): swing sensitivity.
- MA_Period (default 50): the trend filter.
Defaults are an XAUUSD configuration - a starting point, not a universal setting.
=== HONEST NOTE ===
A visualisation tool, not a signal service. A pivot breakout with the trend is a setup, not a guarantee. Trend systems have a win rate below 50%. Watch how pivots and the MA behave on your instrument before trading the idea.
=== WHO THIS IS FOR / NOT FOR ===
Right fit: gold traders who work from swing structure, anyone who wants to know whether a pivot break is with or against the larger trend before acting on it, and anyone building a pivot-breakout system who needs to see the levels it would react to.
Not a fit: anyone who expects the most recent leg to be final — every ZigZag's forming leg is provisional — anyone who wants entry signals rather than structure, and anyone running the gold defaults on an unrelated instrument.
=== 5-MINUTE CHART CHECK ===
1) Open XAUUSD, the instrument the defaults were fitted on.
2) Scroll back and check the dots: each confirmed pivot should sit exactly on a local high or low, and none of them should have moved from where they were drawn.
3) Now watch the right edge. The newest leg will shift as new extremes appear. That is inherent to swing detection, not a defect — and it is why you never trade the forming leg as if it were confirmed.
4) Take the last confirmed pivot and ask the question this tool exists for: is a break of it with the MA 50 or against it? Only the first case is a setup.
5) Move ZZDepth to 8 and then to 20 and watch how many pivots appear and vanish. Pick the sensitivity that matches the swings you actually trade, then stay with it.
A pivot breakout with the trend is a setup, not a guarantee. Trend systems win under half their trades.
More free tools from us (FXEA365):
- Donchian Trend Engine (EA): https://www.mql5.com/en/market/product/185534
- Donchian ATR Trailing Stop (indicator): https://www.mql5.com/en/market/product/185547
- Crypto Trend Channel Donchian (indicator): https://www.mql5.com/en/market/product/185642
- Dip Buyer Zones RSI Pullback (indicator): https://www.mql5.com/en/market/product/185644
- Volatility Squeeze BB Keltner (indicator): https://www.mql5.com/en/market/product/187032
- Currency Strength Meter 8 Majors (indicator): https://www.mql5.com/en/market/product/190005
All our products: https://www.mql5.com/en/users/app.develop.sk/seller
=== IF YOU WANT THIS AS AN AUTOMATED SYSTEM (FXEA365) ===
This indicator shows the idea; it does not trade. If you want the same kind of rule executed automatically on gold, with a stop on every position group and figures you can reproduce in the Strategy Tester yourself, this is the EA we built for it:
- Gold Viper Breakout (XAUUSD M30, MT5): https://www.mql5.com/en/market/product/182297
Trades gold only while volatility is expanding and the EMA50/200 trend agrees; every basket is capped by a group stop that the EA executes (keep it running on a VPS). No martingale. Backtest on Exness tick history (history quality 8%, not a 100% real-tick test), 2019.01-2026.09, $10,000: Defensive mode profit factor 1.74, equity drawdown 21.3%, 2,819 trades; Standard (the default) profit factor 1.51, equity drawdown 30.8%.
- Gold Neuron (XAUUSD, MetaTrader 5 only): https://www.mql5.com/en/market/product/187329
Four rule-based decision engines in one EA: a trend core, a momentum breakout, a gradient-boosting entry gate and an M15 Donchian breakout. No martingale, but two engines add same-size positions against the market, closed by the EA's group stop. Backtest of the current v3.15 build (XM real ticks, Ultra = default, 2022.01-2026.08): profit factor 1.22, maximum equity drawdown 27.68%, 611 trades. Long window 2004.01-2026.07 (100% real ticks, two core engines only): Standard mode profit factor 1.34, maximum equity drawdown 29.49%.
Every EA above has a free demo. Run it in the Strategy Tester with the settings listed at the top of its page before you decide. These are backtest figures, not live trading results, and they do not guarantee future performance.
If this tool is useful in your trading, a short review on this page would help, good or bad, including anything you would like improved. It helps other traders decide and tells us what to fix next.
