OPEN-SOURCE SCRIPT
Support and Resistance Levels with Breaks

This indicator identifies dynamic support and resistance levels using pivot point analysis and provides clear trading signals when these levels are broken with volume confirmation. Enhanced version with improved signal clarity for better trading decisions.
## 🔧 Key Features
### Support & Resistance Detection
- Automatically identifies key pivot high and low levels
- Draws clear visual lines (red for resistance, blue for support)
- Configurable sensitivity with left/right bar settings
### Enhanced Trading Signals
- **BUY** signals when resistance is broken with volume confirmation
- **SELL** signals when support is broken with volume confirmation
- **Bull Wick** alerts for potential reversals at resistance
- **Bear Wick** alerts for potential reversals at support
### Volume Confirmation
- Built-in volume oscillator using 5 and 10-period EMAs
- Filters out low-volume false breakouts
- Adjustable volume threshold (default: 20%)
### Complete Alert System
- Support Broken alerts
- Resistance Broken alerts
- Bull Wick reversal alerts
- Bear Wick reversal alerts
## ⚙️ Settings
- **Show Breaks**: Toggle signal display
- **Left Bars**: Pivot detection lookback (default: 15)
- **Right Bars**: Pivot detection lookforward (default: 15)
- **Volume Threshold**: Minimum volume increase for valid signals (default: 20%)
## 📈 Best For
- Swing trading strategies
- Breakout confirmation
- Support/resistance trading
- Volume-based entry signals
## 🔍 How It Works
1. Identifies pivot highs/lows using configurable periods
2. Calculates volume oscillator for confirmation
3. Generates BUY signals on resistance breaks with volume
4. Generates SELL signals on support breaks with volume
5. Detects wick patterns for potential reversals
## 📋 Updates in This Version
- Enhanced BUY/SELL signal clarity (replaced generic "B" labels)
- Added Bull Wick and Bear Wick alert conditions
- Updated to Pine Script v6 compatibility
- Improved signal filtering and accuracy
## ⚠️ Disclaimer
This indicator is for educational and informational purposes only. Always conduct your own analysis and risk management before making trading decisions. Past performance does not guarantee future results.
---
**Original Script**: "Support and Resistance Levels with Breaks" by LuxAlgo
**License**: CC BY-NC-SA 4.0
**Enhanced by**: profitgang
**Version**: Pine Script v6
## 🔧 Key Features
### Support & Resistance Detection
- Automatically identifies key pivot high and low levels
- Draws clear visual lines (red for resistance, blue for support)
- Configurable sensitivity with left/right bar settings
### Enhanced Trading Signals
- **BUY** signals when resistance is broken with volume confirmation
- **SELL** signals when support is broken with volume confirmation
- **Bull Wick** alerts for potential reversals at resistance
- **Bear Wick** alerts for potential reversals at support
### Volume Confirmation
- Built-in volume oscillator using 5 and 10-period EMAs
- Filters out low-volume false breakouts
- Adjustable volume threshold (default: 20%)
### Complete Alert System
- Support Broken alerts
- Resistance Broken alerts
- Bull Wick reversal alerts
- Bear Wick reversal alerts
## ⚙️ Settings
- **Show Breaks**: Toggle signal display
- **Left Bars**: Pivot detection lookback (default: 15)
- **Right Bars**: Pivot detection lookforward (default: 15)
- **Volume Threshold**: Minimum volume increase for valid signals (default: 20%)
## 📈 Best For
- Swing trading strategies
- Breakout confirmation
- Support/resistance trading
- Volume-based entry signals
## 🔍 How It Works
1. Identifies pivot highs/lows using configurable periods
2. Calculates volume oscillator for confirmation
3. Generates BUY signals on resistance breaks with volume
4. Generates SELL signals on support breaks with volume
5. Detects wick patterns for potential reversals
## 📋 Updates in This Version
- Enhanced BUY/SELL signal clarity (replaced generic "B" labels)
- Added Bull Wick and Bear Wick alert conditions
- Updated to Pine Script v6 compatibility
- Improved signal filtering and accuracy
## ⚠️ Disclaimer
This indicator is for educational and informational purposes only. Always conduct your own analysis and risk management before making trading decisions. Past performance does not guarantee future results.
---
**Original Script**: "Support and Resistance Levels with Breaks" by LuxAlgo
**License**: CC BY-NC-SA 4.0
**Enhanced by**: profitgang
**Version**: Pine Script v6
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
profitgang
haze
haze
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
profitgang
haze
haze
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.