Skip to content
All library documents

SPY Swing Strategy Using EMA Crossovers and Momentum Filters

Article TradingView scripts

Summary

Designed for four-hour charts, this strategy seeks swing entries through a fast and slow EMA crossover. A long entry requires the fast EMA to cross above the slow EMA, with RSI and ADX thresholds, a stochastic condition, a higher close than the previous bar, and a true-range ceiling. It exits longs through a combination of a stop, a bearish momentum setup using MACD and smoothed RSI slope, and a volatility-related VIX rule. After a specified favorable move, it can place a partial exit and adjust stop and target levels.

The script exposes stop and target percentages and indicator periods as inputs, and its description suggests adjusting those risk settings for instruments beyond its intended use. The author characterizes high VIX conditions as unsuitable for the approach and says the strategy is intended to capture longer swings. No backtest statistics or comparative evidence are supplied, so the rules should be evaluated across instruments and market regimes, including trading costs and execution assumptions.

Key ideas

  • Long entries combine a fast EMA crossover with RSI, ADX, stochastic, price-change, and range filters.
  • Long exits can be triggered by a stop, bearish momentum conditions, or a VIX-based rule.
  • The strategy can take partial profits after a favorable move and reset its exit levels.
  • The description favors four-hour charts and cautions that risk settings may need adjustment for other instruments.
  • No performance evidence is provided in the document.

Tags

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