Volatility Trading Range for ThinkorSwim

Not open for further replies.


Staff member
Volatility Trading Range is an indicator for ThinkorSwim that measures the weekly and monthly movement of a stock based on its usual trading range.

This specific indicator will be plotted as an oscillator on your chart.

Here is what it would look like when you add it to ThinkorSwim.


How do I read this indicator?

Pay attention to the following:
  • The blue line represents the weekly volatility movement
  • The pink line represents the monthly volatility movement
  • The red line is plotted at 100
  • The green line is plotted at -100
  • When the blue line is moving above the 100 level or below the -100 level, it means that the stock is currently exceeding its normal WEEKLY trading range.
  • When the pink line moves above the 100 level or below the -100 level, it means that the stock is currently exceeding its normal MONTHLY trading range.

A few examples:


A: AMD is already trading above its weekly trading range = Over-extended
B: Same thing as box A. AMD is trading above its average weekly AND monthly range to the upside. I would consider this to be an over-extended move.
C: At this level, AMD is trading below its average monthly range. At this level, I would consider it to be undervalued.
D: Same as C but this time it's the weekly trading range.

You get the idea.


Using the default indicator, you can quickly build your own scanner to look for "undervalued" and "over-extended" stocks.

Personal Point of View

Based on my own analysis, it's safe to assume that the stocks in my watchlist don't usually trade outside of their average trading ranges. When they do, I look to trade the opposite direction. However, during this market condition, I don't like to short anything. As a result, the 100 level can be treated as a profit-taking point.

Download Volatility Trading Range Indicator

Current VIP members can download the indicator from the customer area.

If you're not a VIP member yet, consider upgrading your account or you can learn more about our VIP subscription on this page.

Join useThinkScript to post your question to a community of 21,000+ developers and traders.

@Tiredoflosing Of course. There are two ways:

Method #1: see comment #7.

Method #2: Modifying the variable from def to input. This will allow you to choose the timeframe from the dropdown.

Look for the following:

def aggregationPeriod = AggregationPeriod.MONTH;
def aggregationPeriod_nd = AggregationPeriod.WEEK;

replace them with:

input aggregationPeriod = AggregationPeriod.MONTH;
input aggregationPeriod_nd = AggregationPeriod.WEEK;

After that, you can go to the indicator's settings and adjust the timeframe from there.

Looking good. I keep it on daily one.

Thank you so much, I will check for the next few days, but it is looking really good right now .

Have a nice (what ever left from this weekend. )😎

@BenTen I am new to the site and really amazed with a lot of the indicators. Thank you for the awesome support.

I tried the Volatility Trading range and it works well for Stocks. However, no data shows up for Futures..ex NQ. Please see attached screenshot.
@iPR1NT$$ You don't have enough data displayed on your chart. You have the 1D 1m chart up. The indicator pulls data from the monthly and weekly timeframe. I would expand the duration of your current timeframe to something like 30D (30 days) 1m. See if that works.
Hi Ben and team,

Hope you are doing fine, I love this Volatility Study.

If possible I would like to develop a variant. instead of lower, Id like too see in graph sort of like the study as support resistance with previews closure, but this logic.

I tried to create a daily range as well, and want to combine (MONTH,WEEK,DAY) based on close price from previews day.
@luiG Did you check out the Visualizer version? When you use the Visualizer version, go to the indicator's settings and set "percentile_plot" from No to Yes :)

@Dix Ahh, ok, the condition is correct, but it wouldn't work the way you wanted it to.

If you set your scanner to WK, then it's going to be comparing the current VTR to the previous week's VTR. Since TOS does not allow secondary aggregation periods in their scanner, I don't think what you want to scan for is possible. :(
Cool @BenTen . I understand it can't be done. I caught ZM yesterday using the VTR set-up from Thursday. I think the VTR is your best indicator yet...even better than BTD. I have been catching at least one such massive move ($15+) on a weekly basis. Last week I caught it three times. I have the original VTR loaded on the daily chart and I try to see if both VTR lines move in the same direction. I don't use it in isolation but it's one of the things I look for when I am swinging overnight hence the reason I was trying to scan to get all stocks that showed that pattern so I can review them. Now I think I've been more lucky than anything. Hope it continues.
Not open for further replies.

Similar threads

Not the exact question you're looking for?

Start a new thread and receive assistance from our community.

87k+ Posts
204 Online
Create Post

Similar threads

Similar threads

The Market Trading Game Changer

Join 2,500+ subscribers inside the useThinkScript VIP Membership Club
  • Exclusive indicators
  • Proven strategies & setups
  • Private Discord community
  • ‘Buy The Dip’ signal alerts
  • Exclusive members-only content
  • Add-ons and resources
  • 1 full year of unlimited support

Frequently Asked Questions

What is useThinkScript?

useThinkScript is the #1 community of stock market investors using indicators and other tools to power their trading strategies. Traders of all skill levels use our forums to learn about scripting and indicators, help each other, and discover new ways to gain an edge in the markets.

How do I get started?

We get it. Our forum can be intimidating, if not overwhelming. With thousands of topics, tens of thousands of posts, our community has created an incredibly deep knowledge base for stock traders. No one can ever exhaust every resource provided on our site.

If you are new, or just looking for guidance, here are some helpful links to get you started.

What are the benefits of VIP Membership?
VIP members get exclusive access to these proven and tested premium indicators: Buy the Dip, Advanced Market Moves 2.0, Take Profit, and Volatility Trading Range. In addition, VIP members get access to over 50 VIP-only custom indicators, add-ons, and strategies, private VIP-only forums, private Discord channel to discuss trades and strategies in real-time, customer support, trade alerts, and much more. Learn all about VIP membership here.
How can I access the premium indicators?
To access the premium indicators, which are plug and play ready, sign up for VIP membership here.