OPEN-SOURCE SCRIPT
Telah dikemas kini 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.
Nota Keluaran
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.
Nota Keluaran
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.
Nota Keluaran
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.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.