Skip to content
All library documents

Setting Price-Level Alerts in MetaTrader

Article MQL5 code base

Summary

This document describes a MetaTrader indicator for monitoring three price conditions: crossing above a chosen level, falling below one, or reaching a level exactly. It displays separate chart lines for those levels and provides a control panel for adjusting alert prices and settings.

Alerts can appear as platform popups, emails, or push notifications. Email and push delivery depend on configuring the corresponding platform settings. Users can choose which price reference triggers alerts, including Ask, Bid, or the previous candle’s close. The description covers setup options rather than a trading strategy or evidence of performance. It does not explain how to select meaningful alert levels, handle repeated alerts, or evaluate the indicator’s reliability. The indicator is described as available for MT4 and MT5.

Key ideas

  • The indicator monitors upward crossings, downward crossings, and exact price levels.
  • Separate chart lines mark each configured level.
  • Alerts can use popups, email, or push notifications when platform settings support them.
  • The chosen price reference can be Ask, Bid, normal Ask/Bid, or the previous candle’s close.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.