Swing Levels for TradingView

Shows high and low swings, with a configurable length parameter which specifies how many leading/following bars must be below the high, or above the low, to confirm a swing point.

Replicates the Swing indicator from NinjaTrader.

The source code for all TradingView indicators listed on this page can be found on GitHub