Skip to content
All library documents

All-Time and 52-Week High Breakouts with ATR or EMA Exits

Article Strategy library · Author: TheDivergentTrader

Summary

This mechanical long-only trend-following strategy enters when price rises above a prior all-time high or 52-week high. The script approximates the all-time high with a configurable rolling lookback and obtains the 52-week level from weekly data. It enters only when flat, using the bar’s high to detect a break above the previous level.

Positions can be managed with a Chandelier-style trailing stop, calculated from the highest price since entry minus an ATR multiple, or with a close below an EMA. The document explains the rationale that new highs may attract momentum traders and leave room for further advances, but it provides no backtest results or performance evidence. The strategy is intended for trending markets and may lose through repeated false signals in sideways conditions. Its behavior will depend on lookback, volatility, exit settings, and execution assumptions; the all-time-high proxy is limited by its finite history window.

Key ideas

  • Entries trigger above a prior rolling all-time high or 52-week high.
  • The strategy opens long positions only when no position is already held.
  • An ATR trailing stop tracks the highest price since entry and adjusts for volatility.
  • An alternative exit closes the position when price falls below an EMA.
  • The document warns that choppy markets can produce losing trades and offers no performance results.

Tags

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