Professional Documents
Culture Documents
ATR Bands Indicator
ATR Bands Indicator
ATR Bands Indicator
Many traders will use ATR as a way to determine their stops. It usually works like this:
Stop loss for a short trade = high of last candle + ATR value
Stop loss for a long trade = low of last candle – ATR value
In order to make it easier to visually see where those stops would be, I’ve created an ATR bands
indicator. This indicator will show an upper and lower band around the price, showing where
you can put your stops (or trail them in open positions).
As you might know, ATR is a measure of the average true range of the price, meaning that it is a
way to show the average volatility of an instrument.
Features
For now, I’ve added the following features, which can be configured using the indicator
properties:
ATR period
By default, this is set to 24 with the rationale that one day has 24 hours so that way, we’re getting
the average price movement for the past day.
However, it could be useful to have a shorter ATR period, for example if you want to make
recent price volatility more relevant.
ATR multiplier
This is simply a multiplier, so let’s say your current ATR value is 20 pips and you use a
multiplier of 2, then the bands will be 40 pips on each side. By default, this is set to 1 (no
multiplier).
ATR applied to
With this setting, you can choose whether the ATR bands are applied to the highs and lows of
the candles or if you want to use the close price of each candle. Using the close price will
naturally give you slightly more narrow ATR bands.
Bands offset
This is a simple offset parameter, like so many indicators have one. For example, if you want to
have the ATR bands calculated based on the previous candle instead of the current one, you can
use an offset of 1.
With this parameter, you can choose to only show the bands for the last, say, 50 candles. Use this
if you don’t want to have the bands show up on all of your chart and instead only show the bands
for the most recent candles.
TradingView Version
Next to the Metatrader 4 indicator, I’ve also created a version for TradingView, an online
charting platform. You can find the indicator by clicking on the Indicators and Strategies
button and searching for “SFL ATR Bands“.
Download and TradingView link
To state the obvious: I make no claims that this indicator will make you money and I’m not
responsible for any kind of losses you incur as a consequence of using this indicator. That said, I
hope you find it useful.
TradingView version.