Adding MFI Threshold Alerts to a Trading Indicator
Summary
This document describes an alert-enabled signal indicator built around the classic Money Flow Index. It marks signals when the oscillator exits overbought or oversold territory, then adds configurable sound alerts, email messages, and mobile push notifications. Users can choose the bar used for signal detection and limit how many alerts are sent.
The implementation adds buy and sell routines that inspect the indicator’s signal buffers, select the relevant bar while accounting for array orientation, and format the symbol, timeframe, time, and price details for notifications. It also explains that the routines should each be called once after indicator calculations and that signal buffers need appropriate empty values. The document provides code-level implementation detail, but no evidence about signal accuracy, profitability, or robustness. It is an alerting example rather than a validated trading strategy, and its output depends on the underlying MFI signals and platform configuration.
Key ideas
- Signals are generated when the Money Flow Index exits overbought or oversold territory.
- Sound, email, and mobile notifications can be enabled or disabled through inputs.
- The routines inspect buy and sell buffers at a configurable bar and report market context.
- Each signal routine should be called once after the indicator calculation cycle.
- The document gives no backtest or evidence that the signals are profitable.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.