Adding Alerts to a DeMarker Threshold-Crossing Indicator
Summary
This document describes adapting a semaphore-style indicator based on the DeMarker oscillator so it can notify a trader when its buy or sell signal buffers contain a signal. The alert logic checks a selected bar, tracks a counter, and can issue a sound alert, email, or mobile push notification. It also formats the chart timeframe for the notification message and uses the chart symbol, time, close, and spread data in the alert details.
The instructions call for adding input settings and helper functions, then calling the buy and sell checks after indicator calculations. The document gives implementation details but no performance evidence or trading results, so it explains notification plumbing rather than validating the signal as a strategy. There is also an apparent mismatch: the described indicator is based on DeMarker, while the example calls use a different indicator name. Users would need to verify the buffer conventions and price and spread handling in their own indicator before relying on the alerts.
Key ideas
- The indicator checks buy and sell buffers at a configurable bar position for signals.
- Sound, email, and push notifications can be enabled independently.
- A counter limits repeated alerts and resets when the number of calculated bars changes.
- The example explains alert integration but provides no evidence of trading performance.
- The example's indicator name does not match its stated DeMarker basis.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.