INVITE-ONLY SCRIPT
Atualizado

Swing elite Trend Direction

37
Swing Elite Trend Direction
This indicator provides a structured approach to market analysis by combining swing point detection with trend confirmation logic derived from Smart Money Concepts (SMC).
How It Works
The core algorithm identifies swing highs and lows using a configurable lookback depth, then classifies each pivot based on its relationship to prior swings. A swing high that exceeds the previous swing high is labeled HH (Higher High), while one that fails to do so becomes LH (Lower High). The same logic applies to lows, producing HL (Higher Low) and LL (Lower Low) classifications.
Trend confirmation follows ICT/SMC principles: a bullish trend is confirmed only when a Higher Low is followed by a Higher High, establishing the classic bullish market structure sequence. Conversely, bearish confirmation requires a Lower High followed by a Lower Low. When price creates a counter-structure pivot (such as a Lower High appearing during a bullish sequence), the trend status shifts to "Unconfirmed," alerting traders to potential reversals before they fully develop.
What Makes This Indicator Useful
Rather than displaying isolated swing points, this indicator synthesizes the relationship between consecutive pivots to provide actionable trend status. The multi-timeframe dashboard extends this analysis across three user-defined timeframes, allowing traders to assess trend alignment — a key filter for higher-probability setups.
Structure trendlines automatically connect relevant pivot sequences (HH→LH for resistance, LL→HL for support), visualizing the trajectory of market structure rather than arbitrary price connections. Break levels mark the specific prices where structure would shift, giving clear invalidation points for trade management.
The Fibonacci retracement draws automatically between the two most recent pivots, providing potential entry zones within the established structure context.
Intended Use
This tool is designed for traders who use market structure analysis as their primary framework. It automates the manual process of labeling swing points and tracking structure sequences, reducing subjectivity while maintaining the discretionary trader's analytical approach. Works across all markets and timeframes.

Swing elite Trend direction
A comprehensive market structure indicator that identifies swing highs/lows, labels them with HH/HL/LH/LL structure, draws dynamic trendlines, and provides multi-timeframe trend analysis.

🔹 FEATURES
Market Structure Analysis

Automatically detects swing highs and swing lows
Labels each pivot with its structure type: HH (Higher High), HL (Higher Low), LH (Lower High), LL (Lower Low)
Color-coded zigzag lines based on confirmed trend direction

Structure Trendlines

Downtrend Line: Connects HH to LH (resistance in bearish structure)
Uptrend Line: Connects LL to HL (support in bullish structure)
Extended projection for potential future price interaction

Swing Trendlines

Connects the last 2 swing highs (resistance trendline)
Connects the last 2 swing lows (support trendline)
Optional extension to project future levels

Break Levels

Horizontal lines at key structure points (HH, HL, LL, LH)
Visual reference for potential breakout/breakdown levels
Customizable colors for bullish and bearish breaks

Fibonacci Retracement

Auto-drawn between the last two pivots
Customizable levels: 0, 0.236, 0.382, 0.5, 0.618, 0.786, 1.0
Individual toggle and color settings for each level

Multi-Timeframe Dashboard

Displays trend status across 3 customizable timeframes
Shows trend direction: Bullish / Bearish / Neutral
Shows confirmation status: Confirmed / Unconfirmed
Color-coded for quick visual analysis

Trend Confirmation Logic (ICT/SMC Concepts)

Bullish Confirmed: HL followed by HH (Higher Low → Higher High pattern)
Bearish Confirmed: LH followed by LL (Lower High → Lower Low pattern)
Unconfirmed: Counter-structure appears (potential reversal signal)


🔹 SETTINGS
Swing Settings

Depth: Lookback period for pivot detection

Display

Toggle zigzag lines, labels, price on labels
Adjust label size and number of visible swings

Zigzag Settings

Line style: Solid, Dashed, Dotted
Thickness and colors for bullish/bearish trends

Swing Trendlines

Toggle high/low trendlines independently
Customizable colors, style, thickness
Option to extend trendlines

Structure Trendlines

Toggle HH→LH and LL→HL lines independently
Customizable colors, style, thickness
Option to extend trendlines

Break Levels

Toggle HH, HL, LL, LH break levels independently
Customizable colors for each level

Fibonacci

Toggle individual fib levels
Customizable colors and line style

Dashboard

Position: Top Left, Top Right, Bottom Left, Bottom Right
Size: Tiny, Small, Normal, Large
3 customizable timeframes


🔹 ALERTS

HH Broken: Price breaks above recent Higher High
HL Broken: Price breaks below recent Higher Low
LL Broken: Price breaks below recent Lower Low
LH Broken: Price breaks above recent Lower High


🔹 USE CASES
✅ Identify market structure and trend direction
✅ Spot potential trend reversals (unconfirmed status)
✅ Find key support/resistance levels
✅ Multi-timeframe trend alignment for trade confirmation
✅ Breakout/breakdown trading with break levels
✅ Fibonacci retracement entries
3 hours ago
Release Notes
Swing elite Trend direction
A comprehensive market structure indicator that identifies swing highs/lows, labels them with HH/HL/LH/LL structure, draws dynamic trendlines, and provides multi-timeframe trend analysis.

🔹 FEATURES
Market Structure Analysis

Automatically detects swing highs and swing lows
Labels each pivot with its structure type: HH (Higher High), HL (Higher Low), LH (Lower High), LL (Lower Low)
Color-coded zigzag lines based on confirmed trend direction

Structure Trendlines

Downtrend Line: Connects HH to LH (resistance in bearish structure)
Uptrend Line: Connects LL to HL (support in bullish structure)
Extended projection for potential future price interaction

Swing Trendlines

Connects the last 2 swing highs (resistance trendline)
Connects the last 2 swing lows (support trendline)
Optional extension to project future levels

Break Levels

Horizontal lines at key structure points (HH, HL, LL, LH)
Visual reference for potential breakout/breakdown levels
Customizable colors for bullish and bearish breaks

Fibonacci Retracement

Auto-drawn between the last two pivots
Customizable levels: 0, 0.236, 0.382, 0.5, 0.618, 0.786, 1.0
Individual toggle and color settings for each level

Multi-Timeframe Dashboard

Displays trend status across 3 customizable timeframes
Shows trend direction: Bullish / Bearish / Neutral
Shows confirmation status: Confirmed / Unconfirmed
Color-coded for quick visual analysis

Trend Confirmation Logic (ICT/SMC Concepts)

Bullish Confirmed: HL followed by HH (Higher Low → Higher High pattern)
Bearish Confirmed: LH followed by LL (Lower High → Lower Low pattern)
Unconfirmed: Counter-structure appears (potential reversal signal)


🔹 SETTINGS
Swing Settings

Depth: Lookback period for pivot detection

Display

Toggle zigzag lines, labels, price on labels
Adjust label size and number of visible swings

Zigzag Settings

Line style: Solid, Dashed, Dotted
Thickness and colors for bullish/bearish trends

Swing Trendlines

Toggle high/low trendlines independently
Customizable colors, style, thickness
Option to extend trendlines

Structure Trendlines

Toggle HH→LH and LL→HL lines independently
Customizable colors, style, thickness
Option to extend trendlines

Break Levels

Toggle HH, HL, LL, LH break levels independently
Customizable colors for each level

Fibonacci

Toggle individual fib levels
Customizable colors and line style

Dashboard

Position: Top Left, Top Right, Bottom Left, Bottom Right
Size: Tiny, Small, Normal, Large
3 customizable timeframes


🔹 ALERTS

HH Broken: Price breaks above recent Higher High
HL Broken: Price breaks below recent Higher Low
LL Broken: Price breaks below recent Lower Low
LH Broken: Price breaks above recent Lower High


🔹 USE CASES
✅ Identify market structure and trend direction
✅ Spot potential trend reversals (unconfirmed status)
✅ Find key support/resistance levels
✅ Multi-timeframe trend alignment for trade confirmation
✅ Breakout/breakdown trading with break levels
✅ Fibonacci retracement entries
Notas de Lançamento
Swing Elite Trend Direction
This indicator provides a structured approach to market analysis by combining swing point detection with trend confirmation logic derived from Smart Money Concepts (SMC).
How It Works
The core algorithm identifies swing highs and lows using a configurable lookback depth, then classifies each pivot based on its relationship to prior swings. A swing high that exceeds the previous swing high is labeled HH (Higher High), while one that fails to do so becomes LH (Lower High). The same logic applies to lows, producing HL (Higher Low) and LL (Lower Low) classifications.
Trend confirmation follows ICT/SMC principles: a bullish trend is confirmed only when a Higher Low is followed by a Higher High, establishing the classic bullish market structure sequence. Conversely, bearish confirmation requires a Lower High followed by a Lower Low. When price creates a counter-structure pivot (such as a Lower High appearing during a bullish sequence), the trend status shifts to "Unconfirmed," alerting traders to potential reversals before they fully develop.
What Makes This Indicator Useful
Rather than displaying isolated swing points, this indicator synthesizes the relationship between consecutive pivots to provide actionable trend status. The multi-timeframe dashboard extends this analysis across three user-defined timeframes, allowing traders to assess trend alignment — a key filter for higher-probability setups.
Structure trendlines automatically connect relevant pivot sequences (HH→LH for resistance, LL→HL for support), visualizing the trajectory of market structure rather than arbitrary price connections. Break levels mark the specific prices where structure would shift, giving clear invalidation points for trade management.
The Fibonacci retracement draws automatically between the two most recent pivots, providing potential entry zones within the established structure context.
Intended Use
This tool is designed for traders who use market structure analysis as their primary framework. It automates the manual process of labeling swing points and tracking structure sequences, reducing subjectivity while maintaining the discretionary trader's analytical approach. Works across all markets and timeframes.

Notas de Lançamento
Swing Elite Trend Direction
Overview
Swing Elite Trend Direction is a comprehensive market structure analysis tool that automatically identifies swing highs and lows, classifies them as Higher Highs (HH), Higher Lows (HL), Lower Highs (LH), and Lower Lows (LL), and determines trend direction with confirmation status across multiple timeframes.
How It Works
The indicator uses a depth-based pivot detection algorithm to identify significant swing points. When a new swing high or low forms, it compares the current pivot to the previous pivot of the same type to determine structure:

Higher High (HH): Current swing high exceeds the previous swing high
Lower High (LH): Current swing high is below the previous swing high
Higher Low (HL): Current swing low is above the previous swing low
Lower Low (LL): Current swing low is below the previous swing low

Trend Confirmation Logic

Bullish Confirmed: HL followed by HH (higher low leading to higher high)
Bearish Confirmed: LH followed by LL (lower high leading to lower low)
Unconfirmed: When price creates a counter-structure point (e.g., LH in uptrend or HL in downtrend)

Features

Zigzag Visualization: Connects swing points with color-coded lines (bullish/bearish colors based on confirmed trend)
Structure Labels: Displays HH, HL, LH, LL labels at each swing point
Swing Trendlines: Automatically draws trendlines connecting the last two swing highs and last two swing lows
Structure Trendlines: Draws downtrend line from HH to first LH, uptrend line from LL to first HL
Break Levels: Horizontal lines at key structure points for breakout reference
Fibonacci Levels: Automatic Fibonacci retracement between the last two pivots
Multi-Timeframe Dashboard: Displays trend direction and confirmation status for three customizable timeframes

How To Use

Trend Identification: Use the dashboard to quickly assess trend alignment across timeframes. Look for confluence where multiple timeframes show the same confirmed trend direction.
Entry Timing: In a confirmed uptrend, look for pullbacks to HL levels or the uptrend structure line. In a confirmed downtrend, look for rallies to LH levels or the downtrend structure line.
Trend Changes: Monitor for "Unconfirmed" status which signals potential trend weakness. A confirmed trend change occurs when the opposite structure sequence completes.
Break Levels: Use HH and LH break levels for bullish breakout entries. Use LL and HL break levels for bearish breakdown entries.

Settings

Depth: Controls sensitivity of pivot detection. Higher values create larger, more significant swings. Lower values detect smaller swings.
MTF Depth: Separate depth setting for multi-timeframe analysis, allowing faster response on higher timeframes.
Display Options: Toggle visibility of zigzag lines, labels, trendlines, break levels, Fibonacci, and dashboard.
Customization: Full control over colors, line styles, and sizes for all visual elements.

Notes

Pivots require the specified depth of bars to confirm, so the most recent swing may update as new bars form.
The MTF dashboard uses its own depth setting to balance responsiveness with noise reduction on higher timeframes.
Structure trendlines connect significant turning points (HH→LH for downtrend, LL→HL for uptrend) to visualize the trend channel.

Aviso legal

As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.