ATR By Time Indicator

Premium Indicator

ATR By Time Indicator Thumbnail
TradingView Username:

25.00 USD / year

Or Join My Mailing List for a 14 Day Free Trial!


What is ATR By Time?

This indicator was inspired by my RVOL By Time indicator.

Instead of calculating the ATR by recent price data, it calculates an ATR value for each candle based on that candle’s time of day.

For example, if you set the Lookback setting on this indicator to 14, then instead of calculating the ATR based on the past 14 candles, it will calculate an ATR value based on the past 14 trading sessions for each candle.

This is extremely useful for day traders in particular as it allows you to gauge the average range of candles during certain times of day instead of only by the most recent price action.

It also draws a regular ATR (optional) – so this is essentially an enhanced ATR script that gives you multiple readings on price volatility.

The reason why this is a premium script that requires payment to access is because it took a lot of time, research and development in order to create. The other advantage of charging for it is that it retains exclusivity to only a select few dedicated traders.

By paying the yearly fee you get access to ALL of my premium indicators including lifetime updates and technical support.

If you don’t want to pay for this script then I completely understand and I have plenty of other free scripts that you might be interested in!


How It Works

This script uses a complex formula to calculate ATR values across distant historical bars.

Depending on the timeframe you select it will skip through historical bars to find previous bars from the same time of day. It collects these values then applies the traditional ATR formula to them.

The ATR value is determined by the maximum result of the following three calculations:

  • Current high minus the current low
  • The absolute value of the current high minus the previous close
  • The absolute value of the current low minus the previous close

Whichever of these three calculations comes out highest, that is your ATR for the given candle.

Once this value is calculated for historical bars the ATR indicator’s reading is typically determined by a 14-period moving average of these individual ATR values. So the ATR reading you see on your screen is an average of the past 14 ATR values.

This means that as markets expand and contract this volatility reading will adapt to the change in candle price ranges.

The difference with the ATR By Time indicator’s calculation formula is that rather than referencing recent bars it references bars based on their time of day.

For example, if you are on the 1-Hour chart and you check the ATR By Time value at 9:00AM with a Lookback period of 14, then the value you see will be the result of the ATR calculation of every 9:00AM 1-Hour candle over the past 14 trading sessions.

You can also choose to enable the ATR moving average in the settings menu if you wish. This will give you a smoothed ATR reading by averaging the current session’s ATR value with previous sessions.

This versatility gives you a sophisticated reading on price volatility which is particularly helpful for day trade setups based around market opens or market closes when volatility tends to spike.

The regular ATR indicator will not account for this on the lower timeframes, but this indicator will!


Settings

Market:
You can choose from Forex, Crypto, Stocks and Futures. This setting is important – if you choose the wrong one the indicator will be inaccurate.

Lookback Period:
This sets how many sessions the indicator will look back. For example, if you set this to 1, then it will show you today’s ATR relative to yesterday’s ATR.


Free Trial

I am a trader myself and so I know how skeptical you might be that this indicator is worth your time and money.

That is why I am offering a free 14 day trial of the indicator. All you need to do to initiate your trial is Join My Mailing List!

Once you have subscribed to the list I will receive an email notifying me of your interest. As soon as I possibly can, I will login to TradingView and grant you access to the indicator.

Make sure to include your TradingView username so that I can find your profile to add to the list of authenticated users.

If you have any questions during (or after) your trial you can contact me any time at matt@zenandtheartoftrading.com or leave a comment below.


Yearly Subscription

If you are satisfied with the indicator after your trial you can purchase access to the indicator for a yearly fee of $25.00 USD by filling out your TradingView username and clicking the button below.

TradingView Username:


This price includes lifetime updates and support for so long as you remain a subscriber.

If you run into any issues with the indicator whatsoever then I will personally help you resolve them for as long as I’m alive, you’re subscribed and TradingView continues to operate.


Source Code

The source code to this script is private and proprietary. As it took me a long time to create this indicator I have decided to keep this project’s source code hidden.

If you are a PineScript coder and you are curious about the formula behind this script then you can check out the source code to my free RVOL By Time indicator which is very similar.

Leave a Comment, Question or Suggestion