OPEN-SOURCE SCRIPT
Updated Swing High/Low Marker

This indicator allows you to find the swing highs and lows of the chart and offsets it by the ATR and a custom factor to give you concrete breakout and stop loss prices.
Release Notes
Typo fixesRelease Notes
Added: -Hide filled option
-Separate ATR values for highs and lows
-Option to show high/low on last bar
Miscellaneous:
-Fixed hide volume option
-Adjusted default swing size offsets for different time periods
Release Notes
Bugfix:-Removed leftover vertical indicator lines, when swing point was filled
Release Notes
Bugfix:- Checking if a pivot was filled is now checked from the real pivot, not the ATR adjusted level
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.