OPEN-SOURCE SCRIPT
Updated

Gann N-Bar Swing Chart

1 160
What it shows:
- Solid swing lines connecting confirmed turns (green=upswing, red=downswing)
- Dashed line for the active in-progress swing
- H/L labels at each confirmed turn (High/Low)
- Bar coloring by current swing direction
- Swing N input in settings to toggle between minor (1), intermediate (2), and major (3) swings

Note: line/label count is capped at 500 each by TradingView — on long charts, oldest markers
auto-delete.
Release Notes
add gann price to degree methods in the tooptip
Release Notes
do not color bars by direction by default

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.