27 October, 2026

Recent High/Low Alert Indicator: Price Breakout Notifications for MT5

Indicators

The RecentHigh/LowAlert trading indicator displays two lines — the highest high and lowest low over the last N bars. By default, the recent high line is blue and the recent low line is yellow. When price breaks above the recent high or below the recent low, the indicator can play a sound file, display a MetaTrader popup notification, and send an email. All three alerts can be disabled independently. To use email alerts, you must configure your MetaTrader platform’s email settings.

Input Parameters

  • N (default = 20) — number of bars used to identify the recent high and low.
  • SoundAlert (default = true) — if enabled, triggers a sound on breakout.
  • PopupAlert (default = false) — if enabled, shows MetaTrader’s native popup notification on breakout.
  • EmailAlert (default = false) — if enabled, sends an email on breakout.
Recent High/Low Alert Indicator
Recent High/Low Alert Indicator

ForTrader’s analysts note that the RecentHigh/LowAlert indicator can be used in several ways. The recent high or low level may act as a trailing stop-loss for open positions. Traders also use those levels to trigger new entries. A breakout of a recent extreme alone is not a strong signal, but it can confirm other setups. Configurable alerts help traders respond quickly to these events.

Download the indicator

You may also be interested in

FAQ

What does the Recent High/Low Alert indicator do?

It plots the highest high and lowest low over a user-defined number of bars and alerts you when price breaks beyond either level via sound, popup, or email.

Can I use it as a trailing stop-loss?

Yes — many traders use the recent high (for longs) or recent low (for shorts) as a dynamic, time-based trailing stop level.

Why isn’t the email alert working?

Ensure MetaTrader’s email settings are correctly configured in Tools → Options → Email, and that EmailAlert is enabled in the indicator’s inputs.

Subscribe to us on Telegram

Fortrader contentUrl Suite 11, Second Floor, Sound & Vision House, Francis Rachel Str. Victoria Victoria, Mahe, Seychelles +7 10 248 2640568

More from this category

All articles

Recent educational articles

All articles

Editor recommends

All articles