happymab

(mab) ATR Band

happymab Updated   
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.
The study plots a simple ATR band if the options for floating ATR are disabled.
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

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.

Want to use this script on a chart?