Indicator

GL Swing

GL Swing Indicator

A TradingView overlay for Gann swing structure, pivot levels, and chart pattern detection.

What it does
Market structure, levels, and patterns in one overlay.

Gann swings

Swing highs and lows from bar classification.

Pivot levels

Pivot levels, states, and 50% mids.

Chart patterns

Rectangles and triangles from pivots.

Pine Screener

Multi-symbol pattern scanning.

How it works
Gann bar types drive swing direction on your chart.

Up

Higher high and higher low than the previous bar.

Down

Lower high and lower low than the previous bar.

Inside

High and low contained within the previous bar.

Outside

Both a higher high and a lower low than the previous bar.

Swing modes
1, 2, or 3 bar confirmation.
1 bar
Most sensitive. Catches every minor swing (default).
2 bar
Filters noise for intermediate swings.
3 bar
Most filtered. Only major swings.
Higher timeframe overlay
See the bigger picture on any chart.

Display swings from a higher timeframe on your current chart, for example weekly swings on a daily chart.

Real-time HTF
Shows the developing higher-timeframe swing for live trading.
Bar-close HTF
Waits for the HTF bar to close. Better for backtesting without repaint.
Levels
Pivot levels, state tracking, and 50% swing midpoints on your chart.

Level tracking

Every confirmed pivot creates a horizontal level. Price interaction updates its state over time:

  • Untouched levels stay untested
  • Wick touches mark a level as tested
  • Closes through a level flip it to support or resistance

Level states

UntestedSolid cyan

Price has not touched the level yet. Highest-probability zone. Expect a reaction on first touch.

TestedDotted cyan

Price touched the level but has not closed through. Some liquidity absorbed; weaker than untested.

SupportGreen

Price closed above a previous swing high. The level flipped from resistance to support.

ResistanceRed

Price closed below a previous swing low. The level flipped from support to resistance.

50% swing midsDotted white

Dotted horizontal lines at the midpoint of recent swing legs. Price often retraces to the 50% level before continuing.

Useful for

  • Pullback and retracement targets in a trend
  • Continuation entry zones
  • Confluence with pivot levels for stronger reactions
Chart pattern detection
Rectangles and triangles built from confirmed Gann swing pivots. Detection runs on confirmed bars only. No repaint.
RectangleYellow

Flat upper and lower boundaries for range and consolidation.

Ascending triangleLime

Flat resistance with rising support. Bullish compression.

Descending triangleOrange

Falling resistance with flat support. Bearish compression.

When enabled

  • Boundary lines with toucher markers on active patterns
  • Top-right HUD with pattern type, age, and distance to nearest boundary
  • Alerts for pattern formed and invalidated
  • Four Pine Screener columns for multi-symbol scanning
Pine Screener
Scan your watchlist for active chart patterns using GL Swing columns.

GL Swing exposes four screener columns when chart patterns are enabled. Run separate scans per timeframe and swing bar count. Those settings apply globally to each screener pass.

Quick setup

  • Open Pine Screener with GL Swing Indicator on your symbol list
  • Set the chart timeframe to the TF you trade (e.g. Daily, 4H)
  • Match Swing Bar Count and Swing Timeframe in Gann Swing Line settings
  • Enable Chart Patterns in indicator settings
  • Filter Pattern Active = 1, then sort by Pattern Nearest Boundary %

TradingView plan required

Pine Screener is a TradingView feature, not part of the indicator script itself. Per TradingView's requirements, it is only available on Premium and above. Lower tiers can still use the indicator on individual charts.

PlanPine Screener
BasicNot included
EssentialNot included
PlusNot included
PremiumIncluded
UltimateIncluded

Plan names and pricing can change. Confirm on TradingView pricing.

Screener columns

Pattern Active
0 = none, 1 = valid active pattern
Pattern Type
0 = none, 1 = rectangle, 2 = ascending, 3 = descending
Pattern Age Bars
Bars since the pattern formed
Pattern Nearest Boundary %
Distance from price to the nearest boundary line
TradingView
Invite-only script. Request access to add it to your charts.

GL Swing Indicator is published as an invite-only script on TradingView. DM guusl on TradingView to request access. Once granted, it appears under Invite-Only Scripts in your indicator menu.

  1. Open the script page and request access
  2. Add the indicator to any chart and market
  3. Start with 1-bar swing mode and enable levels to see pivot lines and 50% mids
  4. Turn on chart patterns when you want rectangle/triangle detection or screener columns
View on TradingView

The indicator is in active development. DM on TradingView with bugs, feature requests, or feedback from live trading.

Charts & screenshots
Examples of pivot levels, 50% mids, and pattern boundaries in action.
Chart screenshot coming soonSwing lines with pivot levels
Chart screenshot coming soonChart pattern boundaries