Skip to content
All library documents

Mechanical Breakouts Above All-Time and 52-Week Highs

Article TradingView scripts

Summary

This strategy enters long when price makes a new high relative to either a rolling all-time-high proxy or a 52-week high calculated from weekly bars. The trader can enable either or both breakout levels. Entries are allowed only while flat, and the signal uses the bar’s high to detect a level break.

For exits, the strategy offers a Chandelier-style stop based on the highest price since entry minus an ATR multiple, or a close below a configurable EMA. The description frames the method as trend following and warns that sideways markets can produce losing trades. It provides no performance results or tested evidence, and its cross-market suitability is an author claim. The rolling lookback is only a proxy for a true all-time high, and the document advises forward testing and risk management.

Key ideas

  • A long entry triggers when price exceeds the previous bar’s rolling high or weekly 52-week high, depending on enabled settings.
  • The rolling lookback approximates an all-time high and may not cover an instrument’s full history.
  • The primary exit trails an ATR-based stop below the highest price since entry.
  • An optional alternative closes the position when price closes below an EMA.
  • Trend-following behavior can struggle in sideways or choppy conditions.

Tags

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