PROTECTED SOURCE SCRIPT
Tradehook.tech-MTMGBS-PatternFinder

# TH_MTMGBS_PatternFinder
### M/W Pattern & Double Top/Bottom Detection
**Category:** Patterns | **Overlay:** Yes | **Complexity:** ⭐⭐⭐⭐ | **Version:** 2.2
M PATTERN (Bearish):
Peak1 (High Vol) Peak2 (Low Vol) ← Declining volume = bearish divergence
/\ /\
/ \ ✓Vol / \
/ \ Decline / \____
/ \_/ / Break
W PATTERN (Bullish):
Trough1 (High Vol) Trough2 (Low Vol) ← Declining volume = selling exhaustion
\ /¯¯¯¯\ /
\ / \ / ✓Vol
\ / \ / Decline
\/ \/____
Break
#### Description
PatternFinder detects M patterns (bearish) and W patterns (bullish) with three variants each.
Now includes **optional volume confirmation** to filter for higher-probability setups.
#### Pattern Variants
| M Patterns (Bearish) | W Patterns (Bullish) |
|---------------------|----------------------|
| Double Top (Equal Highs) | Double Bottom (Equal Lows) |
| Lower High M | Higher Low W |
| Higher High M (Failed BO) | Lower Low W (Failed BD) |
#### Key Parameters
| Parameter | Default | Range | Description |
|-----------|---------|-------|-------------|
| `swingStrength` | 5 | 2-20 | Pivot detection sensitivity |
| `maxPatternBars` | 100 | 20-300 | Max bars for pattern width |
| `minPatternBars` | 10 | 5-50 | Min bars for pattern width |
| `equalTolerance` | 0.3 | 0.1-1.0 | ATR multiplier for "equal" peaks |
| `minPatternHeight` | 1.0 | 0.5-5.0 | Min height in ATR units |
| `useVolumeFilter` | false | - | Require volume confirmation |
| `volumeDeclinePercent` | 20% | 5-50% | Min volume decline required |
#### Pattern Validation Rules
1. ✓ Correct swing sequence (H-L-H for M, L-H-L for W)
2. ✓ Pattern width within min/max bar limits
3. ✓ Pattern height meets minimum ATR threshold
4. ✓ Peak/trough difference within ATR tolerance
5. ✓ Price breaks neckline (with buffer) for confirmation
6. ✓ Volume declining on second peak/trough (optional)
#### Best Use Cases
✅ Reversal trading at significant levels
✅ Target calculation using measured move principle
✅ High-probability setups with volume confirmation
✅ Failed breakout/breakdown detection
### M/W Pattern & Double Top/Bottom Detection
**Category:** Patterns | **Overlay:** Yes | **Complexity:** ⭐⭐⭐⭐ | **Version:** 2.2
M PATTERN (Bearish):
Peak1 (High Vol) Peak2 (Low Vol) ← Declining volume = bearish divergence
/\ /\
/ \ ✓Vol / \
/ \ Decline / \____
/ \_/ / Break
W PATTERN (Bullish):
Trough1 (High Vol) Trough2 (Low Vol) ← Declining volume = selling exhaustion
\ /¯¯¯¯\ /
\ / \ / ✓Vol
\ / \ / Decline
\/ \/____
Break
#### Description
PatternFinder detects M patterns (bearish) and W patterns (bullish) with three variants each.
Now includes **optional volume confirmation** to filter for higher-probability setups.
#### Pattern Variants
| M Patterns (Bearish) | W Patterns (Bullish) |
|---------------------|----------------------|
| Double Top (Equal Highs) | Double Bottom (Equal Lows) |
| Lower High M | Higher Low W |
| Higher High M (Failed BO) | Lower Low W (Failed BD) |
#### Key Parameters
| Parameter | Default | Range | Description |
|-----------|---------|-------|-------------|
| `swingStrength` | 5 | 2-20 | Pivot detection sensitivity |
| `maxPatternBars` | 100 | 20-300 | Max bars for pattern width |
| `minPatternBars` | 10 | 5-50 | Min bars for pattern width |
| `equalTolerance` | 0.3 | 0.1-1.0 | ATR multiplier for "equal" peaks |
| `minPatternHeight` | 1.0 | 0.5-5.0 | Min height in ATR units |
| `useVolumeFilter` | false | - | Require volume confirmation |
| `volumeDeclinePercent` | 20% | 5-50% | Min volume decline required |
#### Pattern Validation Rules
1. ✓ Correct swing sequence (H-L-H for M, L-H-L for W)
2. ✓ Pattern width within min/max bar limits
3. ✓ Pattern height meets minimum ATR threshold
4. ✓ Peak/trough difference within ATR tolerance
5. ✓ Price breaks neckline (with buffer) for confirmation
6. ✓ Volume declining on second peak/trough (optional)
#### Best Use Cases
✅ Reversal trading at significant levels
✅ Target calculation using measured move principle
✅ High-probability setups with volume confirmation
✅ Failed breakout/breakdown detection
보호된 스크립트입니다
이 스크립트는 비공개 소스로 게시됩니다. 하지만 이를 자유롭게 제한 없이 사용할 수 있습니다 – 자세한 내용은 여기에서 확인하세요.
U cant change what U don't measure, U cant measure what U don't track. Journal the damn thing!
VISIT FOR GIVEAWAYS AND DISCOUNTS!!
makingtradesmatter.carrd.co/
PROPRIETARY TRADING SOFTWARE
TradeHook.Tech
Beta Testers Wanted!
VISIT FOR GIVEAWAYS AND DISCOUNTS!!
makingtradesmatter.carrd.co/
PROPRIETARY TRADING SOFTWARE
TradeHook.Tech
Beta Testers Wanted!
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
보호된 스크립트입니다
이 스크립트는 비공개 소스로 게시됩니다. 하지만 이를 자유롭게 제한 없이 사용할 수 있습니다 – 자세한 내용은 여기에서 확인하세요.
U cant change what U don't measure, U cant measure what U don't track. Journal the damn thing!
VISIT FOR GIVEAWAYS AND DISCOUNTS!!
makingtradesmatter.carrd.co/
PROPRIETARY TRADING SOFTWARE
TradeHook.Tech
Beta Testers Wanted!
VISIT FOR GIVEAWAYS AND DISCOUNTS!!
makingtradesmatter.carrd.co/
PROPRIETARY TRADING SOFTWARE
TradeHook.Tech
Beta Testers Wanted!
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.