OPEN-SOURCE SCRIPT
SQVIGU Encyclopedia of Chart Patterns

This indicator automatically detects and visualizes 12 classic chart patterns based on the methodology outlined in Thomas Bulkowski's Encyclopedia of Chart Patterns — widely considered the definitive reference for technical pattern analysis.
🔍 Patterns Detected
Reversal Patterns
Pattern Direction Base Reliability
🟢 Head & Shoulders Bearish 75%
🔴 Inverse Head & Shoulders Bullish 85%
🟢 Double Top Bearish 65%
🔴 Double Bottom Bullish 70%
🟢 Triple Top Bearish 70%
🔴 Triple Bottom Bullish 75%
Continuation Patterns
Pattern Direction Base Reliability
🔄 Symmetrical Triangle Directional Bias 55%
📈 Ascending Triangle Bullish 70%
📉 Descending Triangle Bearish 65%
🔻 Rising Wedge Bearish 60%
🔺 Falling Wedge Bullish 65%
🚩 Bull/Bear Flags Directional 70%
⬜ Rectangle Directional Bias 55%
📖 How to Use
Step 1: Setup
1. Add the indicator to your chart
2. Select your desired timeframe (works on all timeframes, recommended: 1H, 4H, Daily)
3. Enable/disable patterns based on your trading strategy
Step 2: Configuration Recommendations
For Day Trading (1H-15min):
```
Pivot Left Bars: 3-5
Pivot Right Bars: 3-5
Min Pattern Bars: 10
Max Pattern Bars: 50
Symmetry Tolerance: 1.0-1.5%
```
For Swing Trading (4H-Daily):
```
Pivot Left Bars: 5-8
Pivot Right Bars: 5-8
Min Pattern Bars: 15
Max Pattern Bars: 100
Symmetry Tolerance: 1.5-2.0%
```
For Position Trading (Daily-Weekly):
```
Pivot Left Bars: 8-12
Pivot Right Bars: 8-12
Min Pattern Bars: 20
Max Pattern Bars: 150
Symmetry Tolerance: 2.0-3.0%
```
Step 3: Reading the Signals
1. Pattern Confirmation: Wait for the price to close beyond the neckline or pattern boundary
2. Entry: Use the plotted "Entry" line as your trigger level
3. Risk Management: Place stops at the suggested "Stop Loss" level
4. Take Profit: Scale out at Target 1, trail stops to Target 2
Step 4: The Information Panel
The dashboard displays:
· Active pattern name
· Directional bias
· Precise entry trigger price
· Stop loss level
· First target level
· Pattern reliability score
🔍 Patterns Detected
Reversal Patterns
Pattern Direction Base Reliability
🟢 Head & Shoulders Bearish 75%
🔴 Inverse Head & Shoulders Bullish 85%
🟢 Double Top Bearish 65%
🔴 Double Bottom Bullish 70%
🟢 Triple Top Bearish 70%
🔴 Triple Bottom Bullish 75%
Continuation Patterns
Pattern Direction Base Reliability
🔄 Symmetrical Triangle Directional Bias 55%
📈 Ascending Triangle Bullish 70%
📉 Descending Triangle Bearish 65%
🔻 Rising Wedge Bearish 60%
🔺 Falling Wedge Bullish 65%
🚩 Bull/Bear Flags Directional 70%
⬜ Rectangle Directional Bias 55%
📖 How to Use
Step 1: Setup
1. Add the indicator to your chart
2. Select your desired timeframe (works on all timeframes, recommended: 1H, 4H, Daily)
3. Enable/disable patterns based on your trading strategy
Step 2: Configuration Recommendations
For Day Trading (1H-15min):
```
Pivot Left Bars: 3-5
Pivot Right Bars: 3-5
Min Pattern Bars: 10
Max Pattern Bars: 50
Symmetry Tolerance: 1.0-1.5%
```
For Swing Trading (4H-Daily):
```
Pivot Left Bars: 5-8
Pivot Right Bars: 5-8
Min Pattern Bars: 15
Max Pattern Bars: 100
Symmetry Tolerance: 1.5-2.0%
```
For Position Trading (Daily-Weekly):
```
Pivot Left Bars: 8-12
Pivot Right Bars: 8-12
Min Pattern Bars: 20
Max Pattern Bars: 150
Symmetry Tolerance: 2.0-3.0%
```
Step 3: Reading the Signals
1. Pattern Confirmation: Wait for the price to close beyond the neckline or pattern boundary
2. Entry: Use the plotted "Entry" line as your trigger level
3. Risk Management: Place stops at the suggested "Stop Loss" level
4. Take Profit: Scale out at Target 1, trail stops to Target 2
Step 4: The Information Panel
The dashboard displays:
· Active pattern name
· Directional bias
· Precise entry trigger price
· Stop loss level
· First target level
· Pattern reliability score
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.