OPEN-SOURCE SCRIPT
已更新 Tweezer Bull Bear

## Tweezer Patterns Indicator
This indicator detects and displays two candlestick patterns: Tweezer Top (Bearish) and Tweezer Bottom (Bullish).
### Features:
- Detects Tweezer Top and Tweezer Bottom patterns
- Uses SMA for trend detection (customizable)
- Visual indicators: labels and background colors
- Tooltips with pattern explanations
- Configurable alerts
### Tweezer Top (Bearish):
- Occurs in uptrends
- Two-candle pattern: long green followed by red
- Nearly identical highs
- Potential bearish reversal signal
### Tweezer Bottom (Bullish):
- Occurs in downtrends
- Two-candle pattern: long red followed by green
- Nearly identical lows
- Potential bullish reversal signal
### Customization:
- Choose trend detection method: SMA50 or SMA50 + SMA200
- Adjustable label colors
This indicator helps traders identify potential market reversal points with clear visual cues and explanations.
版本注释
Tweezer Bull Bear IndicatorThe Tweezer Bull Bear Indicator is designed to identify potential trend reversals by detecting Tweezer Top (bearish) and Tweezer Bottom (bullish) candlestick patterns. It enhances pattern recognition with trend confirmation, visual alerts, and customizable settings.
Key Features
✅ Pattern Detection – Identifies Tweezer Tops and Tweezer Bottoms
✅ Trend Analysis – Uses moving averages to confirm trends
✅ Visual Alerts – Labels, background colors, and tooltips for clear pattern recognition
✅ Customizable – User-defined color settings for flexibility
Pattern Definitions
Tweezer Top (Bearish Reversal)
🔹 Occurs in an uptrend
🔹 First candle – Bullish (green/white)
🔹 Second candle – Bearish (red/black)
🔹 Both candles have similar highs and body sizes
🔹 Indicates a potential loss of bullish momentum and bearish takeover
Tweezer Bottom (Bullish Reversal)
🔹 Occurs in a downtrend
🔹 First candle – Bearish (red/black)
🔹 Second candle – Bullish (green/white)
🔹 Both candles have similar lows and body sizes
🔹 Signals weakening bearish pressure and potential bullish control
Trend Confirmation
The indicator uses moving averages for trend validation:
📌 SMA50 – Price above/below the 50-period Simple Moving Average
📌 SMA50 & SMA200 – Price and SMA50 above/below the 200-period Simple Moving Average
Pattern Criteria
For valid Tweezer Top/Bottom patterns:
✔ Highs (for Tops) or Lows (for Bottoms) must be within 5% of the average body size
✔ Body sizes of both candles must be within 5% of each other
✔ First candle should not be a doji (or have extreme shadows)
✔ Candles must have opposite colors (one bullish, one bearish)
Visual Indicators
🟢 Labels – "TT" for Tweezer Top, "TB" for Tweezer Bottom
🔴 Background Colors – Light red (bearish), Light blue (bullish)
ℹ Tooltips – Hover for pattern explanations
Trading Implications
⚠ Tweezer patterns are powerful reversal signals, but they should be used with other technical indicators for confirmation. Always analyze the market context and apply risk management strategies before making trading decisions.
版本注释
Tweezer Bull Bear IndicatorThe Tweezer Bull Bear Indicator is designed to identify potential trend reversals by detecting Tweezer Top (bearish) and Tweezer Bottom (bullish) candlestick patterns. It enhances pattern recognition with trend confirmation, visual alerts, and customizable settings.
Key Features
✅ Pattern Detection – Identifies Tweezer Tops and Tweezer Bottoms
✅ Trend Analysis – Uses moving averages to confirm trends
✅ Visual Alerts – Labels, background colors, and tooltips for clear pattern recognition
✅ Customizable – User-defined color settings for flexibility
Pattern Definitions
Tweezer Top (Bearish Reversal)
🔹 Occurs in an uptrend
🔹 First candle – Bullish (green/white)
🔹 Second candle – Bearish (red/black)
🔹 Both candles have similar highs and body sizes
🔹 Indicates a potential loss of bullish momentum and bearish takeover
Tweezer Bottom (Bullish Reversal)
🔹 Occurs in a downtrend
🔹 First candle – Bearish (red/black)
🔹 Second candle – Bullish (green/white)
🔹 Both candles have similar lows and body sizes
🔹 Signals weakening bearish pressure and potential bullish control
Trend Confirmation
The indicator uses moving averages for trend validation:
📌 SMA50 – Price above/below the 50-period Simple Moving Average
📌 SMA50 & SMA200 – Price and SMA50 above/below the 200-period Simple Moving Average
Pattern Criteria
For valid Tweezer Top/Bottom patterns:
✔ Highs (for Tops) or Lows (for Bottoms) must be within 5% of the average body size
✔ Body sizes of both candles must be within 5% of each other
✔ First candle should not be a doji (or have extreme shadows)
✔ Candles must have opposite colors (one bullish, one bearish)
Visual Indicators
🟢 Labels – "TT" for Tweezer Top, "TB" for Tweezer Bottom
🔴 Background Colors – Light red (bearish), Light blue (bullish)
ℹ Tooltips – Hover for pattern explanations
Trading Implications
⚠ Tweezer patterns are powerful reversal signals, but they should be used with other technical indicators for confirmation. Always analyze the market context and apply risk management strategies before making trading decisions.
版本注释
Tweezer Bull Bear IndicatorThe Tweezer Bull Bear Indicator is designed to identify potential trend reversals by detecting Tweezer Top (bearish) and Tweezer Bottom (bullish) candlestick patterns. It enhances pattern recognition with trend confirmation, visual alerts, and customizable settings.
Key Features
✅ Pattern Detection – Identifies Tweezer Tops and Tweezer Bottoms
✅ Trend Analysis – Uses moving averages to confirm trends
✅ Visual Alerts – Labels, background colors, and tooltips for clear pattern recognition
✅ Customizable – User-defined color settings for flexibility
Pattern Definitions
Tweezer Top (Bearish Reversal)
🔹 Occurs in an uptrend
🔹 First candle – Bullish (green/white)
🔹 Second candle – Bearish (red/black)
🔹 Both candles have similar highs and body sizes
🔹 Indicates a potential loss of bullish momentum and bearish takeover
Tweezer Bottom (Bullish Reversal)
🔹 Occurs in a downtrend
🔹 First candle – Bearish (red/black)
🔹 Second candle – Bullish (green/white)
🔹 Both candles have similar lows and body sizes
🔹 Signals weakening bearish pressure and potential bullish control
Trend Confirmation
The indicator uses moving averages for trend validation:
📌 SMA50 – Price above/below the 50-period Simple Moving Average
📌 SMA50 & SMA200 – Price and SMA50 above/below the 200-period Simple Moving Average
Pattern Criteria
For valid Tweezer Top/Bottom patterns:
✔ Highs (for Tops) or Lows (for Bottoms) must be within 5% of the average body size
✔ Body sizes of both candles must be within 5% of each other
✔ First candle should not be a doji (or have extreme shadows)
✔ Candles must have opposite colors (one bullish, one bearish)
Visual Indicators
🟢 Labels – "TT" for Tweezer Top, "TB" for Tweezer Bottom
🔴 Background Colors – Light red (bearish), Light blue (bullish)
ℹ Tooltips – Hover for pattern explanations
Trading Implications
⚠ Tweezer patterns are powerful reversal signals, but they should be used with other technical indicators for confirmation. Always analyze the market context and apply risk management strategies before making trading decisions.
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。