SR DYNAMIC V2 Trading Guide
Last updated: July 22, 2026
The Support Resistance - Dynamic v2 is a quantitative technical analysis tool. Support/Resistance Dynamic v2 (ported from Pine) - Detects pivot highs/lows - Clusters pivots into S/R zones by max channel width
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
- Pivot Period (
prd): Controls the calculation period and sensitivity for market detection. - Source (
src): Controls the calculation period and sensitivity for market detection. - Max Pivot Count (
maxPivots): Controls the calculation period and sensitivity for market detection. - Max Channel Width % (
channelW): Controls the calculation period and sensitivity for market detection. - Max S/R Levels (
maxSR): Controls the calculation period and sensitivity for market detection. - Min Strength (
minStrength): Controls the calculation period and sensitivity for market detection. - Label Location (
labelLoc): Controls the calculation period and sensitivity for market detection. - Line Style (
lineStyle): Controls the calculation period and sensitivity for market detection. - Line Width (
lineWidth): Controls the calculation period and sensitivity for market detection. - Show Pivot Points (
showPP): Controls the calculation period and sensitivity for market detection. - Min Level Age (bars) (
minAge): Controls the calculation period and sensitivity for market detection. - Min Breakout Bars (
minBreakout): Controls the calculation period and sensitivity for market detection. - Support Level (nearest) (
supportLevel): Controls the calculation period and sensitivity for market detection. - Resistance Level (nearest) (
resistanceLevel): Controls the calculation period and sensitivity for market detection. - Support Strength (
supportStrength): Controls the calculation period and sensitivity for market detection. - Resistance Strength (
resistanceStrength): Controls the calculation period and sensitivity for market detection. - S/R Count (
srCount): Controls the calculation period and sensitivity for market detection. - Levels Below (Support) (
levelsBelow): Controls the calculation period and sensitivity for market detection. - Levels Above (Resistance) (
levelsAbove): Controls the calculation period and sensitivity for market detection. - Dist to Support % (
distToSupport): Controls the calculation period and sensitivity for market detection. - Dist to Resistance % (
distToResistance): Controls the calculation period and sensitivity for market detection. - Zones Below (full band) (
zonesBelow): Controls the calculation period and sensitivity for market detection. - Zones Above (full band) (
zonesAbove): Controls the calculation period and sensitivity for market detection. - Zones Containing Price (
zonesContaining): Controls the calculation period and sensitivity for market detection. - Resistance Broken (Cross Up) (
crossedOver): Controls the calculation period and sensitivity for market detection. - Support Broken (Cross Down) (
crossedUnder): Controls the calculation period and sensitivity for market detection. - Resistance Line (
resistanceLine): Controls the calculation period and sensitivity for market detection. - Support Line (
supportLine): Controls the calculation period and sensitivity for market detection. - Label Text (Light) (
labelTextLight): Controls the calculation period and sensitivity for market detection. - Label Text (Dark) (
labelTextDark): Controls the calculation period and sensitivity for market detection. - Support Level (nearest) (
supportLevel): Controls the calculation period and sensitivity for market detection. - Resistance Level (nearest) (
resistanceLevel): Controls the calculation period and sensitivity for market detection. - Resistance Broken (
crossedOver): Controls the calculation period and sensitivity for market detection. - Support Broken (
crossedUnder): Controls the calculation period and sensitivity for market detection. - Levels Below (Support) Count (
levelsBelow): Controls the calculation period and sensitivity for market detection. - Levels Above (Resistance) Count (
levelsAbove): Controls the calculation period and sensitivity for market detection. - Distance to Support % (
distToSupport): Controls the calculation period and sensitivity for market detection. - Zones Below (full band) Count (
zonesBelow): Controls the calculation period and sensitivity for market detection. - Zones Above (full band) Count (
zonesAbove): Controls the calculation period and sensitivity for market detection. - Zones Containing Price Count (
zonesContaining): Controls the calculation period and sensitivity for market detection. - Distance to Resistance % (
distToResistance): 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
crossedOver- Resistance Broken (Cross Up) event signal.crossedUnder- Support Broken (Cross Down) event signal.crossedOver- Resistance Broken event signal.crossedUnder- Support Broken event signal.
2. Filters and Trade Levels
prd- Pivot Period value used for structural qualification or thresholds.src- Source value used for structural qualification or thresholds.maxPivots- Max Pivot Count value used for structural qualification or thresholds.channelW- Max Channel Width % value used for structural qualification or thresholds.maxSR- Max S/R Levels value used for structural qualification or thresholds.minStrength- Min Strength value used for structural qualification or thresholds.labelLoc- Label Location value used for structural qualification or thresholds.lineStyle- Line Style value used for structural qualification or thresholds.lineWidth- Line Width value used for structural qualification or thresholds.showPP- Show Pivot Points value used for structural qualification or thresholds.minAge- Min Level Age (bars) value used for structural qualification or thresholds.minBreakout- Min Breakout Bars value used for structural qualification or thresholds.supportLevel- Support Level (nearest) value used for structural qualification or thresholds.resistanceLevel- Resistance Level (nearest) value used for structural qualification or thresholds.supportStrength- Support Strength value used for structural qualification or thresholds.resistanceStrength- Resistance Strength value used for structural qualification or thresholds.srCount- S/R Count value used for structural qualification or thresholds.levelsBelow- Levels Below (Support) value used for structural qualification or thresholds.levelsAbove- Levels Above (Resistance) value used for structural qualification or thresholds.distToSupport- Dist to Support % value used for structural qualification or thresholds.distToResistance- Dist to Resistance % value used for structural qualification or thresholds.zonesBelow- Zones Below (full band) value used for structural qualification or thresholds.zonesAbove- Zones Above (full band) value used for structural qualification or thresholds.zonesContaining- Zones Containing Price value used for structural qualification or thresholds.resistanceLine- Resistance Line value used for structural qualification or thresholds.supportLine- Support Line value used for structural qualification or thresholds.labelTextLight- Label Text (Light) value used for structural qualification or thresholds.labelTextDark- Label Text (Dark) value used for structural qualification or thresholds.supportLevel- Support Level (nearest) value used for structural qualification or thresholds.resistanceLevel- Resistance Level (nearest) value used for structural qualification or thresholds.levelsBelow- Levels Below (Support) Count value used for structural qualification or thresholds.levelsAbove- Levels Above (Resistance) Count value used for structural qualification or thresholds.distToSupport- Distance to Support % value used for structural qualification or thresholds.zonesBelow- Zones Below (full band) Count value used for structural qualification or thresholds.zonesAbove- Zones Above (full band) Count value used for structural qualification or thresholds.zonesContaining- Zones Containing Price Count value used for structural qualification or thresholds.distToResistance- Distance to Resistance % value used for structural qualification or thresholds.
Strategy Example: Enter Long when buySignal is true and trendFilter == 1, ensuring trades align with dominant momentum.