Adding Alerts to a DSS Bressert Semaphore Indicator
Summary
This document explains how to extend a DSS Bressert semaphore indicator with sound alerts, email messages, and mobile push notifications for buy and sell signals. It describes configurable inputs for selecting the signal bar, enabling each notification channel, and limiting the number of alerts. The added signal functions inspect the indicator's buy or sell buffer, identify the relevant bar according to array orientation, and build a message with symbol, timeframe, price, and current time.
The functions are called from the indicator's calculation routine after signal calculations, and the indicator buffers must use zero or an empty value when no signal is present. The document assumes each function is called once in that routine and notes a dependency on a separate smoothing library. It provides implementation guidance rather than evidence of trading performance; it does not assess the underlying indicator's predictive value, signal stability, or execution quality.
Key ideas
- The indicator can send sound, email, and mobile notifications when buy or sell buffers contain a signal.
- Inputs control the signal bar, notification channels, and alert count.
- Signal checks account for whether indicator arrays are stored as series.
- The alert functions belong after the indicator calculations and rely on correctly marked empty buffer values.
- The described changes add notifications but provide no evidence about the indicator's trading performance.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.