NexusFi: Find Your Edge


Home Menu

 





VWAP for stock index futures trading?


Discussion in Emini and Emicro Index

Updated
      Top Posters
    1. looks_one JonnyBoy with 126 posts (973 thanks)
    2. looks_two bobwest with 32 posts (152 thanks)
    3. looks_3 jakobe with 23 posts (20 thanks)
    4. looks_4 joe s with 21 posts (6 thanks)
      Best Posters
    1. looks_one JonnyBoy with 7.7 thanks per post
    2. looks_two wldman with 6.4 thanks per post
    3. looks_3 bobwest with 4.8 thanks per post
    4. looks_4 Silvester17 with 4.4 thanks per post
    1. trending_up 204,060 views
    2. thumb_up 1,930 thanks given
    3. group 928 followers
    1. forum 528 posts
    2. attach_file 174 attachments




 
Search this Thread

VWAP for stock index futures trading?

  #71 (permalink)
 
bobwest's Avatar
 bobwest 
Western Florida
Site Moderator
 
Experience: Advanced
Platform: Sierra Chart
Trading: ES, YM
Frequency: Several times daily
Duration: Minutes
Posts: 8,172 since Jan 2013
Thanks Given: 57,525
Thanks Received: 26,292


JonnyBoy View Post
Firstly, it is very simple to calculate


SMCJB View Post
The problem is it's actually not. It's easy to put on a real time chart but that's the only way it can be calculated. If I pull up a CL daily chart how do I add the the 20 day average of the VWAP? I can't because the only way to know the VWAP is to have calculated it already. Sure I could actually have 20 days of 1 min buys and estimate the VWAP for each day from that. But what about when I'm pulling 10 years of daily bars to perform some calculations? I can calculate most (all?) indicators, but not the VWAP.

While VWAP should technically be an average at the level of single trades, as a practical matter I think it is usually computed by taking fairly small time intervals (such as the 1-minute data you mentioned), often averaging something like OHLC to get a more representative price, and basically using that as your price and the volume of the bar in your calculation. This means it's not exactly an "average trade," but the question is whether it is a close enough approximation.

I recall reading something like that in @Fat Tails' NT version of the indicator, although the details temporarily escape me. Approximating the calculation this way would be good enough, at least it seems so to me.

A multi-day VWAP -- say, a weekly VWAP -- would not compute the separate VWAPs for each day, which I think is what you are saying, but would just run the weighted average for the underlying bar series straight through beginning on Monday and ending on Friday, then start over on Monday again.

I don't know if I understood you, but I don't think you would need to calculate individual days' VWAPs. Perhaps I missed your point.

If you wanted to do a 10-year VWAP you would need a rougher approximation than 1-minute bars unless you wanted to be overwhelmed by the volume of computations. But if you're using a large timeframe you can have a large allowance, I would say.

I'm not sure I quite got you point. Does this address it or am I simply confused about what you said?

Bob.

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Cheap historycal L1 data for stocks
Stocks and ETFs
Better Renko Gaps
The Elite Circle
MC PL editor upgrade
MultiCharts
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Quantum physics & Trading dynamics
The Elite Circle
 
  #72 (permalink)
 
bobwest's Avatar
 bobwest 
Western Florida
Site Moderator
 
Experience: Advanced
Platform: Sierra Chart
Trading: ES, YM
Frequency: Several times daily
Duration: Minutes
Posts: 8,172 since Jan 2013
Thanks Given: 57,525
Thanks Received: 26,292


JonnyBoy View Post
I think I understand what you are saying about the placement of VWAP at intervals other than the data series specified on the chart. For that very reason I coded myself a VWAP anchor indicator. I can place a VWAP anywhere on the chart and it will forward project it for me. For example, attached is the 20 day VWAP for CL.

This may or may not be what you are referring to, but I use it in the ES to anchor at LOD, HOD, month, week etc. or as you said a specified period in time you are interested in.

I've done this too. Simple, and you get a VWAP from any arbitrary start point.

Bob.

Reply With Quote
Thanked by:
  #73 (permalink)
 
kashmiami's Avatar
 kashmiami 
Planet Earth
 
Experience: Beginner
Platform: NT,TS
Trading: NQ
Posts: 23 since Aug 2011
Thanks Given: 45
Thanks Received: 21


Anchoring a VWAP at market turns makes much more sense as others have mentioned. The buy/sell group responsible for turning the market usually defends the VWAP levels.
I have tried to anchor it at market pullback to mixed results. It does give a good picture of a tiring trend though.
Also, I have seen people use it as a trade evaluation at eod, by anchoring it at entry price.
Great points everyone.
Cheers.

Sent using the NexusFi mobile app

Reply With Quote
Thanked by:
  #74 (permalink)
 
amoeba's Avatar
 amoeba 
Sydney, NSW, Australia
 
Experience: Intermediate
Platform: Sierra Chart, Python, C#
Broker: Interactive Brokers
Trading: MJNK, ASX, SPI
Posts: 205 since Jan 2014
Thanks Given: 98
Thanks Received: 284

Just wanted to put some different thoughts into this thread too, I did a study back a few years, which is probably still much the same today;



It looked at ES RTH difference between Session Mid and VWAP; 75% of the time it is less than 4ticks difference, 97% is less than 3pts difference. (this was for 2015)

It's not making a conclusion in any direction, but you could perhaps go further and look into times where VWAP is extended away from Mid, what does this mean, etc..

But in the discussion of execution, you could for all purposes just look at above/below session Mid and be mostly the same as VWAP for execution performance.

Reply With Quote
  #75 (permalink)
 
SMCJB's Avatar
 SMCJB 
Houston TX
Legendary Market Wizard
 
Experience: Advanced
Platform: TT and Stellar
Broker: Advantage Futures
Trading: Primarily Energy but also a little Equities, Fixed Income, Metals and Crypto.
Frequency: Many times daily
Duration: Never
Posts: 5,049 since Dec 2013
Thanks Given: 4,388
Thanks Received: 10,207

Thanks @JonnyBoy and @bobwest

To clarify I think VWAP would be like the ultimate daily pivot calculation hence why I would like to be able to use it. When I say 20 day average of the VWAP I specifically mean average(Daily VWAP, 20) and not a VWAP calculation over 20 days. When I talk about 10 years of data, I don't want a 10 year VWAP calculation, I would like 10 years of data with daily OHLC AND daily VWAP. (Be interesting to feed daily VWAP into machine learning algos).

Reply With Quote
Thanked by:
  #76 (permalink)
 
bobwest's Avatar
 bobwest 
Western Florida
Site Moderator
 
Experience: Advanced
Platform: Sierra Chart
Trading: ES, YM
Frequency: Several times daily
Duration: Minutes
Posts: 8,172 since Jan 2013
Thanks Given: 57,525
Thanks Received: 26,292


SMCJB View Post
Thanks @JonnyBoy and @bobwest

To clarify I think VWAP would be like the ultimate daily pivot calculation hence why I would like to be able to use it. When I say 20 day average of the VWAP I specifically mean average(Daily VWAP, 20) and not a VWAP calculation over 20 days. When I talk about 10 years of data, I don't want a 10 year VWAP calculation, I would like 10 years of data with daily OHLC AND daily VWAP. (Be interesting to feed daily VWAP into machine learning algos).

Ah, OK now I got it. A completely different idea, to use the daily final VWAP as an input for an average of x days.

I can see how this would be useful. A little complicated to figure, because you'd have to run the VWAP calculation for each day and store the values, then take the average.

Light slowly dawns....

Bob.

------------------

Edit: Now I get this part too:


SMCJB View Post
I've always been surprised VWAP isn't more available, to the extent I'm a little surprised exchanges don't publish official VWAP numbers.

It would be a lot simpler if they just did that, so you could just grab them up. It is strange they don't... I guess you've checked for it, but are you sure? Seems like a simple, basic statistic that should just be there.

Reply With Quote
Thanked by:
  #77 (permalink)
 
srgtroy's Avatar
 srgtroy 
Los Angeles, California Republic
Legendary  R.I.P. 1965-2023 
 
Experience: None
Platform: Sierra Chart
Broker: CQG
Trading: ES
Posts: 1,928 since Jan 2011
Thanks Given: 1,375
Thanks Received: 3,722


SMCJB View Post
Thanks @JonnyBoy and @bobwest

To clarify I think VWAP would be like the ultimate daily pivot calculation hence why I would like to be able to use it. When I say 20 day average of the VWAP I specifically mean average(Daily VWAP, 20) and not a VWAP calculation over 20 days. When I talk about 10 years of data, I don't want a 10 year VWAP calculation, I would like 10 years of data with daily OHLC AND daily VWAP. (Be interesting to feed daily VWAP into machine learning algos).

Constructed in 5 minutes on Sierra Chart:


R.I.P. Roy Goldberg (srgtroy), 1965-2023.
Please visit [url="https://nexusfi.com/off-topic/60226-srgtroy-r-i-p-brotha.html[/url] for more information.
Reply With Quote
Thanked by:
  #78 (permalink)
 
Silvester17's Avatar
 Silvester17 
Columbus, OH
Market Wizard
 
Experience: None
Platform: NT 8, TOS
Trading: ES
Posts: 3,603 since Aug 2009
Thanks Given: 5,139
Thanks Received: 11,527


srgtroy View Post
Constructed in 5 minutes on Sierra Chart:

reviewed in less than 1 minute with ninjatrader. conclusion > not the desired outcome



Reply With Quote
Thanked by:
  #79 (permalink)
 
bobwest's Avatar
 bobwest 
Western Florida
Site Moderator
 
Experience: Advanced
Platform: Sierra Chart
Trading: ES, YM
Frequency: Several times daily
Duration: Minutes
Posts: 8,172 since Jan 2013
Thanks Given: 57,525
Thanks Received: 26,292

Dueling platforms?

Explanations might be more helpful....

Bob.

Reply With Quote
Thanked by:
  #80 (permalink)
 
Silvester17's Avatar
 Silvester17 
Columbus, OH
Market Wizard
 
Experience: None
Platform: NT 8, TOS
Trading: ES
Posts: 3,603 since Aug 2009
Thanks Given: 5,139
Thanks Received: 11,527



bobwest View Post
Dueling platforms?

Explanations might be more helpful....

Bob.

indeed.

but you know I had to make a smart remark. otherwise @srgtroy would be really disappointed

anyway I just replicated his chart. but I have no clue what the logic behind is.

if I would try to find a solution, I probably would try something with the vwma instead of the vwap. maybe @Fat Tails has a better idea?

Reply With Quote
Thanked by:




Last Updated on June 27, 2022


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts