Skip to content
All library documents

Adding Sound, Email, and Push Alerts to a Parabolic Signal Indicator

Article MQL5 code base

Summary

This programming guide explains how to add notifications to a ColorParabolic semaphore indicator. It introduces inputs for selecting the signal bar, enabling sound alerts, limiting alert counts, and turning email or mobile push messages on or off. Separate buy and sell routines inspect the indicator’s signal buffers and prepare messages containing the signal direction, chart symbol, timeframe, timestamp, and price information.

The guide also describes calling both routines after the indicator’s calculations in its calculation handler, and notes that the signal buffers must use zero or an empty-value marker when no signal is present. The material documents alert plumbing rather than the Parabolic indicator’s trading logic or profitability. It offers no tests or performance results, and assumes each alert routine is called only once in the calculation block; readers must adapt buffer names and platform notification settings to their own indicator.

Key ideas

  • The indicator can send sound, email, and mobile push notifications for buy and sell signals.
  • Inputs control the signal bar, alert count, and notification channels.
  • Signal routines read indicator buffers and include chart and price context in messages.
  • The alert functions are called after indicator calculations, with empty buffer values handled explicitly.
  • The guide does not assess 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.