Home > Indicators > Pivot Trend

FreeXAUUSD

Pivot Trend — مجاني، لـ XAUUSD

Swing pivots in their trend context - the two things a pivot-breakout trader needs

A pivot break only means something in the direction of the larger trend. This indicator marks each confirmed swing high/low (dots) and plots a trend MA (default 50), so you can see at a glance whether a break of the last pivot is with the trend or against it. A pivot is only drawn once confirmed as the local extreme of its window - confirmed pivots never move.

Features

  • ✓Confirmed swing highs/lows as dots (permanent once confirmed)
  • ✓Trend MA (default 50) for directional context
  • ✓The event to watch: a break of the last confirmed pivot in the MA's direction
  • ✓Defaults tuned for XAUUSD

Free download

No registration, completely free, full source included. A compiled version (and MT4 build) is also free on the MQL5 Market.

Download (.mq5)

Parameters

ParameterDefaultDescription
ZZDepth12Swing window (bars on each side of a pivot)
ZZDev5ZigZag deviation (points)
ZZBackstep3ZigZag backstep
MA_Period50Trend moving-average period
———

Installation

  1. 1Put the downloaded .mq5 into MT5: File → Open Data Folder → MQL5 → Indicators.
  2. 2Restart MT5 (or refresh the Navigator) and drag it onto a chart.
  3. 3It works with the defaults; re-fit the parameters to your instrument.

Note

A visualisation tool, not a signal service. A with-trend pivot break is a setup, not a guarantee. As with every ZigZag, the newest still-forming leg is provisional until a new extreme confirms it - confirmed pivots are permanent.

Related tools

هل تفكر في EA مدفوع؟

بعد التعوّد على الأدوات المجانية، تتوفر روبوتاتنا المدفوعة المختبرة بالتيك الحقيقي في سوق MQL5. جرّب المجاني أولًا ثم قرّر.

عرض جميع المنتجات في سوق MQL5