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
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
profitgang
haze
haze
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
profitgang
haze
haze
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。