Raghee Horner VWAP Max Tool Indicator for ThinkorSwim

ljones

New member
I'm curious to know how Simpler Trading came up with their VWAP Max Tool Package indicator for ThinkorSwim. How does TOS calculate the VWAP line? It looks like they are starting each day from the open rather than summing from the beginning of the chart's period. Is this a correct interpretation? I am interested in VWAP on the daily chart. I find the Anchored VWAP is lining up with hand calculations but deviating big time from the TOS VWAP.


FYI: The VWAP Max Tool from Simpler Trading or Raghee Horner is the same as one of the Anchored VWAP indicator that Ben posted in this thread.

Additionally, you can even use the script below.

Code:
# n Bars VWAP
# Nube 6.24.19
#

input length = 20;
input price  = vwap;

def p = if IsNaN(price) then p[1] else price;
def v = if IsNaN(volume) then v[1] else volume;

plot VWAP = if IsNaN(price) then Double.NaN else
             Sum(p * v, length) / Sum(v, length);
 
Last edited by a moderator:

BenTen

Administrative
Staff member
Staff
VIP
Lifetime
@ljones That's correct. VWAP will start fresh at the beginning of each day. You can find more info about it here. The Anchored VWAP indicator will allow you to use it on different timeframes.
 
Last edited:

Volatility Trading Range

VTR is a momentum indicator that shows if a stock is overbought or oversold based on its Weekly and Monthly average volatility trading range.

Download the indicator

Slip

New member
Are you aware of a vwap for TOS that works on a range bar chart? The standard vwap seems to work only on minute charts. Thanks!

 
Last edited:

Sherlock

New member
I too would like to see the coding for a VWAP for Range bars. Hopefully it will work on Renko as well. I've tried it myself, but can't seem to get it to plot.
 
Last edited by a moderator:

New Indicator: Buy the Dip

Check out our Buy the Dip indicator and see how it can help you find profitable swing trading ideas. Scanner, watchlist columns, and add-ons are included.

Download the indicator

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.
Top