PROTECTED SOURCE SCRIPT

Tradehook.tech-MTMGBS-SwingStructure

23
Tradehook.tech-MTMGBS- SwingStructure
### Multi-Level Swing Point Detection & Trend Structure

**Category:** Market Structure | **Overlay:** Yes | **Complexity:** ⭐⭐⭐

#### Description
SwingStructure provides clean identification of swing highs and swing lows at multiple levels (minor, intermediate, major), plotting the market's structural rhythm. Understanding swing structure is fundamental to all price action trading methods.

#### Swing Classification
| Level | Strength | Typical Use |
|-------|----------|-------------|
| Minor (S=3) | 3 bars each side | Scalping, micro entries |
| Intermediate (S=5) | 5 bars each side | Day trading, swing entries |
| Major (S=10) | 10 bars each side | Swing trading, trend bias |

#### Key Parameters
| Parameter | Default | Range | Description |
|-----------|---------|-------|-------------|
| `swingStrength` | 5 | 2-20 | Bars required on each side |
| `showMinor` | true | - | Display minor swing points |
| `showMajor` | true | - | Display major swing points |
| `showConnections` | true | - | Draw lines between swings |

#### Trend Determination via Swings
| Swing Pattern | Trend | Action |
|---------------|-------|--------|
| Higher Highs + Higher Lows | UPTREND | Buy dips to swing lows |
| Lower Highs + Lower Lows | DOWNTREND | Sell rallies to swing highs |
| Higher Highs + Lower Lows | EXPANSION | Range breakout possible |
| Lower Highs + Higher Lows | CONTRACTION | Prepare for breakout |

#### Best Use Cases
✅ Trend direction confirmation
✅ Support/resistance identification
✅ Pattern recognition foundation
✅ Stop loss placement (behind swings)

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.