Skip to content
All library documents

Volume-Confirmed Swing Breakouts with EMA and ATR Risk Controls

Article TradingView scripts

Summary

This strategy defines support and resistance using confirmed swing pivots, then enters when a bar closes across the latest level with volume above a moving average threshold. An optional EMA filter limits long trades to prices above the average and short trades to prices below it. The script is intended for instruments with meaningful traded volume and cautions against using it on spot foreign exchange or thin over-the-counter markets.

Stops can be placed beyond the opposing structural level with an ATR buffer, or at an ATR distance from the close; profit targets are also ATR-based. The code includes a date range for testing and can reverse direction on an opposite breakout. The document offers parameter suggestions and emphasizes testing across different market regimes, but supplies no strategy performance statistics. Pivot levels only become available after their right-side confirmation bars, and breakout behavior may vary with symbol, settings, execution assumptions, and regime.

Key ideas

  • Swing pivots provide the reference levels for breakout entries.
  • A volume surge and optional EMA direction filter must confirm a close beyond support or resistance.
  • Stops can use the opposing pivot with an ATR buffer or a fixed ATR distance.
  • Profit targets use an ATR multiple, and a date filter constrains the backtest period.
  • The description warns that volume quality and market regime affect applicability, and reports no measured results.

Tags

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