OPEN-SOURCE SCRIPT
Updated (mab) ATR Band

Simple ATR band as overlay on price chart.
Release Notes
This updated version is more advanced. It plots a simple ATR band on daily and higher time frames. On intraday charts it can plot a dynamic band that takes the previous days ATR as starting point. At new lows it lowers the upper band to the new low plus the previous days ATR. At new highs it rises the lower band to the new high minus the previous days ATR.Release Notes
This update enhances the (mab) ATR Band indicator with multi time frame capabilities. If "Floating daily ATR on intraday charts" is enabled, it shows the previous days ATR value as a starting point at the start of the session on intraday charts. At new lows it lowers the upper band to the new low plus the previous days ATR. At new highs it rises the lower band to the new high minus the previous days ATR.Similarly if "Floating weekly/monthly ATR on daily/weekly charts" is enabled, it shows the previous weeks ATR as starting point on daily charts and the previous months ATR on weekly charts. At new lows it lowers the upper band to the new low plus the previous weeks/moths ATR. At new highs it rises the lower band to the new high minus the previous weeks/months ATR.
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.