OPEN-SOURCE SCRIPT
ATK/DEF Swing Support & Resistance with Volume

## ATK/DEF Swing Support & Resistance with Volume Analysis
### Overview
This indicator is designed to visualize market structure through automatic Swing High and Swing Low detection combined with volume analysis.
It identifies historical support and resistance levels based on confirmed swing points and provides additional volume information to help users understand the strength of previous market reactions.
This tool focuses on price structure, level visualization, and market observation. It does not generate buy or sell signals.
---
## Main Features
### 1. Automatic Swing Detection
The indicator automatically detects Swing Highs and Swing Lows based on market volatility.
The swing detection period dynamically adjusts using ATR volatility conditions, allowing the indicator to adapt to different market environments.
---
### 2. Support & Resistance Mapping
Detected swing points are displayed as:
🔴 Resistance Levels
🟢 Support Levels
Each level represents a previous area where price showed a meaningful reaction.
The indicator stores recent swing levels and updates them as new market structure develops.
---
### 3. Volume Analysis
Each support and resistance level includes historical volume information from the corresponding swing candle.
Volume comparison is used to highlight stronger activity areas:
🔥 High Volume Marker
A higher-than-average volume condition may indicate increased market participation around that price area.
---
### 4. Market Structure Visualization
The indicator helps users observe:
• Previous reaction zones
• Historical support areas
• Historical resistance areas
• Volume participation around important levels
• Changing market structure
---
### 5. Dynamic Adaptation
Instead of using a fixed swing period, the indicator adjusts detection sensitivity according to market volatility.
This allows the tool to respond differently during:
• Low volatility consolidation
• Normal market movement
• Higher volatility conditions
---
## How To Use
This indicator can be used as a visual reference tool together with your own market analysis.
Possible applications include:
• Studying historical price reaction areas
• Identifying important structural levels
• Observing volume behavior near support/resistance zones
• Combining with price action or other analysis methods
---
## Important Notes
This indicator does not provide trading signals, guaranteed results, or investment advice.
Support and resistance levels represent historical market behavior and should be interpreted together with broader market context, risk management, and personal trading methodology.
---
## Original Concept
The indicator combines three analytical components:
1. Swing Structure
2. Support & Resistance Mapping
3. Volume Participation Analysis
The purpose is to create a clear visual framework for studying how price interacts with important historical levels.
### Overview
This indicator is designed to visualize market structure through automatic Swing High and Swing Low detection combined with volume analysis.
It identifies historical support and resistance levels based on confirmed swing points and provides additional volume information to help users understand the strength of previous market reactions.
This tool focuses on price structure, level visualization, and market observation. It does not generate buy or sell signals.
---
## Main Features
### 1. Automatic Swing Detection
The indicator automatically detects Swing Highs and Swing Lows based on market volatility.
The swing detection period dynamically adjusts using ATR volatility conditions, allowing the indicator to adapt to different market environments.
---
### 2. Support & Resistance Mapping
Detected swing points are displayed as:
🔴 Resistance Levels
🟢 Support Levels
Each level represents a previous area where price showed a meaningful reaction.
The indicator stores recent swing levels and updates them as new market structure develops.
---
### 3. Volume Analysis
Each support and resistance level includes historical volume information from the corresponding swing candle.
Volume comparison is used to highlight stronger activity areas:
🔥 High Volume Marker
A higher-than-average volume condition may indicate increased market participation around that price area.
---
### 4. Market Structure Visualization
The indicator helps users observe:
• Previous reaction zones
• Historical support areas
• Historical resistance areas
• Volume participation around important levels
• Changing market structure
---
### 5. Dynamic Adaptation
Instead of using a fixed swing period, the indicator adjusts detection sensitivity according to market volatility.
This allows the tool to respond differently during:
• Low volatility consolidation
• Normal market movement
• Higher volatility conditions
---
## How To Use
This indicator can be used as a visual reference tool together with your own market analysis.
Possible applications include:
• Studying historical price reaction areas
• Identifying important structural levels
• Observing volume behavior near support/resistance zones
• Combining with price action or other analysis methods
---
## Important Notes
This indicator does not provide trading signals, guaranteed results, or investment advice.
Support and resistance levels represent historical market behavior and should be interpreted together with broader market context, risk management, and personal trading methodology.
---
## Original Concept
The indicator combines three analytical components:
1. Swing Structure
2. Support & Resistance Mapping
3. Volume Participation Analysis
The purpose is to create a clear visual framework for studying how price interacts with important historical levels.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.