Harmonic Signal Alerts
- Indicateurs
-
Allan Aparece Ninal
Je développe des indicateurs et des Expert Advisors pour MetaTrader 5.
Ma façon de travailler :
- Chaque indicateur est vérifié contre le repaint : les signaux sont décidés uniquement sur des barres clôturées, et un test sur chaque tick confirme qu'ils ne changent plus ensuite. - Version: 1.0
Harmonic Signal Alerts is a free indicator for MetaTrader 5 that finds ABCD, Gartley and Bat patterns on the chart. When price reaches a pattern's potential reversal zone, it draws the XABCD lines, the zone and an arrow, and can alert you.
It works only from swings that are already confirmed and from closed bars. A pattern is drawn on the bar where it became known and is never moved or removed afterwards.
How it finds a pattern
- Swings: a swing high is a bar higher than the 10 bars before it and not lower than the 5 bars after it (both adjustable). A swing is known 5 bars after it formed, and the indicator waits for that.
- Ratios: the standard Fibonacci ratios of each pattern, with an adjustable tolerance (5% by default).
- Reversal zone: the pattern's D level plus and minus 3% of the XA leg (of the AB leg for ABCD).
- Completion: the first closed bar that reaches the zone. If price had already closed beyond the zone, or went past point C, there is no pattern.
On the chart
- XABCD lines with point labels and the pattern name
- The reversal zone as a box
- Arrow on the bar the pattern completed; buffers for other programs (arrows and which patterns)
- Alerts on the newest closed bar: pop-up, sound, push notification, e-mail
Inputs
- ABCD, Gartley, Bat - on
- Swing bars left / right - 10 / 5
- Ratio tolerance - 5%
- Reversal zone half-width - 3% of XA
- Bars to scan - 3000; lines, zone and labels on or off; colours
Good to know
- A pattern appears only after its swings are confirmed, so it is shown a few bars after the turning points, never earlier.
- Ratios and tolerances differ between authors; these are the commonly published values.
- How often: on 2023-2026 broker history with the default settings, about 2-3 patterns per symbol per month on H1, about 10 on M15 and less than one on H4.
Paid version
Harmonic Scanner MT5 adds Alternate Bat, Butterfly, Crab, Deep Crab and Cypher, scans many symbols and timeframes in one panel, shows patterns forming near their zone, alerts before and at the zone, and counts what price did after each pattern in your own history.
Questions: use the comments on this page or send me a message on MQL5.
Trading involves risk. A pattern is a chart shape, not a prediction; this indicator does not tell you to buy or sell.
