TradingLine Alerts for Distinguishing Entries, Continuations, and Exits
Summary
This indicator template tracks a synthesized trading state so alerts can distinguish a change into a long or short position from a repeated signal in the same direction. A repeated same-side condition is treated as a continuation alert, which can be used to add to a position. Users can disable short or exit signals, and the script includes configurable example signals based on EMA slope, an ATR envelope, and a MACD-style histogram.
The document describes the alert and state-filtering logic and supplies backtest settings for BTC/USDT futures on Binance over a stated period. It does not report performance metrics or establish that the example signals are profitable. The entry, exit, and continuation conditions are intended to be replaced or adapted for a user's own strategy; the example settings and state logic should therefore be checked against the intended execution and position-management rules.
Key ideas
- The TradingLine state is used to alert when the strategy changes position direction rather than on every repeated signal.
- Repeated signals in the current direction can produce separate continuation alerts for potential position additions.
- Users can disable short trades and exit signals through configuration options.
- The example conditions combine EMA slope, an ATR-based price band, and histogram movement.
- The published backtest configuration is not accompanied by performance results.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.