DYNAMIC STRUCTURE INDICATOR Trading Guide

Last updated: July 22, 2026

The Dynamic Structure Indicator is a quantitative technical analysis tool. Dynamic Structure Indicator (DSI) Based on user-provided PineScript. Detects fractal swing highs/lows and draws zones.

What does the indicator show?

  • Market Structure & Momentum: Visualizes prevailing trend directions and key reversal zones.
  • BUY / SELL Signals: Highlights confirmed entry and exit opportunities based on quantitative rules.
  • Dynamic Boundaries: Provides adaptive levels for managing trade risk and reward expectations.

Key Settings

  • ATR Movement Required (atrMovement): Controls the calculation period and sensitivity for market detection.
  • High/Low Lookback (lookback): Controls the calculation period and sensitivity for market detection.
  • Max Zone Size (× ATR) (maxZoneSize): Controls the calculation period and sensitivity for market detection.
  • Zone Update Count Before Reset (newStructureReset): Controls the calculation period and sensitivity for market detection.
  • Draw Previous Structure (drawPrevLoc): Controls the calculation period and sensitivity for market detection.
  • Resistance Zone Fill (resFill): Controls the calculation period and sensitivity for market detection.
  • Resistance Zone Border (resLine): Controls the calculation period and sensitivity for market detection.
  • Resistance Broken Fill (resBrokenFill): Controls the calculation period and sensitivity for market detection.
  • Resistance Broken Border (resBrokenLine): Controls the calculation period and sensitivity for market detection.
  • Support Zone Fill (supFill): Controls the calculation period and sensitivity for market detection.
  • Support Zone Border (supLine): Controls the calculation period and sensitivity for market detection.
  • Support Broken Fill (supBrokenFill): Controls the calculation period and sensitivity for market detection.
  • Support Broken Border (supBrokenLine): Controls the calculation period and sensitivity for market detection.
  • Prev Resistance Zone (Support) (prevResFill): Controls the calculation period and sensitivity for market detection.
  • Prev Support Zone (Resistance) (prevSupFill): Controls the calculation period and sensitivity for market detection.
  • Resistance Alert (alertResistance): Controls the calculation period and sensitivity for market detection.
  • Support Alert (alertSupport): Controls the calculation period and sensitivity for market detection.
  • Resistance Breakout (alertResistanceBO): Controls the calculation period and sensitivity for market detection.
  • Support Breakout (alertSupportBO): Controls the calculation period and sensitivity for market detection.
  • Resistance Top (res1): Controls the calculation period and sensitivity for market detection.
  • Support Low (sup1): Controls the calculation period and sensitivity for market detection.
  • Hit Resistance Zone (alertResistance): Controls the calculation period and sensitivity for market detection.
  • Hit Support Zone (alertSupport): Controls the calculation period and sensitivity for market detection.
  • Resistance Breakout (alertResistanceBO): Controls the calculation period and sensitivity for market detection.
  • Support Breakout (alertSupportBO): Controls the calculation period and sensitivity for market detection.

How to use Strategy Parameters (Condition Source)

Within the Strategy Tester module, this indicator can be used both as a direct signal source and as a market-state filter.

1. Signal Events

  • alertResistance - Resistance Alert event signal.
  • alertSupport - Support Alert event signal.
  • alertResistanceBO - Resistance Breakout event signal.
  • alertSupportBO - Support Breakout event signal.
  • alertResistance - Hit Resistance Zone event signal.
  • alertSupport - Hit Support Zone event signal.
  • alertResistanceBO - Resistance Breakout event signal.
  • alertSupportBO - Support Breakout event signal.

2. Filters and Trade Levels

  • atrMovement - ATR Movement Required value used for structural qualification or thresholds.
  • lookback - High/Low Lookback value used for structural qualification or thresholds.
  • maxZoneSize - Max Zone Size (× ATR) value used for structural qualification or thresholds.
  • newStructureReset - Zone Update Count Before Reset value used for structural qualification or thresholds.
  • drawPrevLoc - Draw Previous Structure value used for structural qualification or thresholds.
  • res1 - Resistance Top value used for structural qualification or thresholds.
  • sup1 - Support Low value used for structural qualification or thresholds.

Strategy Example: Enter Long when buySignal is true and trendFilter == 1, ensuring trades align with dominant momentum.

Continue Research

Explore the full academy, the product documentation, and the main platform pages for deeper crypto backtesting and strategy research.

Browse all academy guides Read the documentation Compare platform plans See the research engine