Skip to content
All library documents

ATR-Based Supertrend Strategy with Date-Filtered Trend Reversals

Article Strategy library · Author: Quantum-Edge-Capital

Summary

This strategy calculates Supertrend-style trailing bands from an ATR measure and a configurable multiplier. The trend state switches from down to up when price rises above the prior upper trailing boundary, and from up to down when price falls below the prior lower boundary. Those state changes trigger long and short entries, respectively. Inputs let a user choose the ATR period, source, calculation method, and display options; a date window restricts when orders may be opened.

The script supplies an implementable trend-following rule and visual signal features, but the document reports no backtest results, market, timeframe, or execution assumptions. It contains no explicit stop-loss, profit target, or independent risk-sizing rule; the opposing signal is the apparent position-reversal mechanism. Because performance depends on ATR settings, price behavior, and order handling, the indicator logic alone does not establish profitability or define risk for an individual trade.

Key ideas

  • ATR-based trailing bands define the current Supertrend direction.
  • A switch to an uptrend opens a long position, while a switch to a downtrend opens a short position.
  • The script supports alternative ATR calculations and adjustable period and multiplier inputs.
  • A date window gates strategy entries, while display settings control chart annotations.
  • No measured results, explicit risk sizing, or standalone stop and target rules are reported.

Tags

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