Skip to content
All library documents

EMA, RSI, ADX, and Volume Filters with an ATR Trailing Exit

Article TradingView scripts

Summary

This long-only strategy combines trend, momentum, strength, and volume conditions for entries. It requires the 50-period EMA to be above the 200-period EMA, price to be above both averages, RSI to be rising and between its configured threshold and ceiling, ADX to exceed its filter, and volume to top the preceding ten-bar high. The script places an entry when those conditions hold.

For exits, it initializes a stop two ATRs below the close and raises it as price advances, closing the position when price closes beneath the stop. The document supplies source code and indicator settings, but no performance results or market-specific evaluation. Because its rules are defined on chart bars and use chosen thresholds, their usefulness depends on instrument, timeframe, execution assumptions, and testing; the displayed strategy report is not included.

Key ideas

  • The entry rule combines a bullish EMA alignment with price above both averages.
  • RSI must be rising and remain above its minimum but below its ceiling.
  • ADX and a volume breakout provide additional entry filters.
  • The exit trails upward at a fixed ATR multiple and triggers on a close below the stop.

Tags

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