Skip to content
All library documents

EMA Slope and RSI Signals with Trend and Stretch Filters

Article TradingView scripts

Summary

This strategy combines a moving-average slope oscillator with centered RSI to generate trend and reversal signals. It scales the slope using an arctangent transformation so it can be compared with RSI around a zero center, and uses a no-trade zone to suppress weak slope readings. Entries can also use slope acceleration, price and RSI divergence, or divergence between slope and RSI momentum. A short-versus-long moving-average relationship, recent candle direction, and the distance between the averages can further filter trades. The script evaluates confirmed bar closes to reduce intrabar signal changes.

Position sizing can be set as a percentage of equity or cash, or as a fixed quantity; trailing stops and configurable exit confirmation are also described. The author says default values were tested on BTCUSDT at a 15-minute interval, but the excerpt gives no performance statistics or validation details. The many optional signal paths and thresholds make outcomes sensitive to configuration, and the stated test context does not establish results across other markets or timeframes.

Key ideas

  • The EMA slope is normalized with an arctangent scale and compared with RSI centered at zero.
  • A no-trade zone and minimum slope change threshold filter weak entries.
  • Entries may be based on slope crossings, acceleration, RSI divergence, or slope-RSI divergence.
  • Moving-average alignment, recent candle direction, and average separation can filter trades.
  • The script uses bar-close confirmation, and its reported test context is BTCUSDT on a 15-minute interval.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.