Skip to content
All library documents

Dual Supertrend Entries with Configurable Exits and Add-On Signals

Article Strategy library · Author: ThiagoSchmitz

Summary

This Pine strategy uses two Supertrend indicators with the same ATR lookback but different multipliers to identify directional changes. It signals a long when both indicators point upward and at least one has just changed direction; the short condition mirrors this logic. The visible settings allow users to choose exits based on reversals, ATR, or either Supertrend, and expose controls for entries, exits, add-on trades, alerts, and a date window. The code also defines ATR-based target levels and price-range calculations for display or exit logic.

The supplied source is truncated partway through the entry logic, so the complete exit and add-on rules cannot be assessed. It includes no backtest results or discussion of performance, costs, or risk controls. The listed script metadata and strategy settings therefore describe an implementation concept rather than evidence that the signals are profitable.

Key ideas

  • The strategy combines fast and slow Supertrend directions to confirm a change in trend.
  • Long and short signals require alignment between both indicators and a recent direction change in at least one.
  • Exit choices include reversals, ATR levels, or either Supertrend line.
  • The interface includes configurable trade dates, alerts, and add-on entry controls.
  • The source excerpt is incomplete and supplies no performance evidence.

Tags

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