OPEN-SOURCE SCRIPT
Updated

Swing High/Low

52 974
Plots the swing high and low points based on user configurable look back settings. Also allows you to plot the most recent swing low as a horizontal line for obvious stop point on long setups.
Release Notes
Update to v6
Simplified Code a bit
Default is only the recent swing high/low are shown with the option to show the historical points to clean up the chart visuals.

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.