Skip to content
All library documents

MT5 Alerts for Price Crossings of Chart Trendlines and Horizontal Lines

Article MQL5 code base

Summary

The document describes an Expert Advisor that watches a chart for horizontal and trend lines in a selected monitoring color. When price crosses a watched line, the tool can issue a platform alert, a mobile notification, or an email, provided the corresponding MT5 settings are configured.

After a crossing, it changes the line to a second specified color and stops monitoring that line until the user changes its color again. This is a chart-notification utility rather than a trading strategy: it does not specify entry or exit rules, assess the reliability of line crossings, or present test results. Its usefulness depends on how the user draws and selects lines and configures notifications.

Key ideas

  • The EA monitors chart trendlines and horizontal lines selected by their color.
  • It can send popup, mobile, or email alerts when price crosses a monitored line.
  • After an alert, it changes the line color and suspends monitoring until the user recolors it.
  • The description provides no evidence about signal quality or trading performance.

Tags

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