NexusFi: Find Your Edge


Home Menu

 





multiple day vwap?


Discussion in Sierra Chart

Updated
      Top Posters
    1. looks_one Big Mike with 22 posts (15 thanks)
    2. looks_two Fat Tails with 17 posts (75 thanks)
    3. looks_3 Neo1 with 16 posts (7 thanks)
    4. looks_4 aslan with 5 posts (3 thanks)
      Best Posters
    1. looks_one Fat Tails with 4.4 thanks per post
    2. looks_two josh with 1.3 thanks per post
    3. looks_3 Big Mike with 0.7 thanks per post
    4. looks_4 Neo1 with 0.4 thanks per post
    1. trending_up 35,884 views
    2. thumb_up 116 thanks given
    3. group 24 followers
    1. forum 91 posts
    2. attach_file 27 attachments




 
Search this Thread

multiple day vwap?

  #1 (permalink)
 gonzofist 
PORTLAND, OR
 
Experience: None
Platform: NinjaTrader
Trading: Futures
Posts: 185 since Jul 2011
Thanks Given: 74
Thanks Received: 168

Hi everyone,

I just watched the Fat Tails webinar on session indicators again, and I was wondering how to plot the vwap for multiple days the way he does. He uses it as a trend filter (price above current day vwap, and current day vwap above 2-day vwap is bullish and so on.)

I am on Sierra Charts and I tried setting the time period length for the study to 2 days. This is similar to what I am looking for but it resets every 2 days, so the day that it resets it lines up with my current day vwap and serves little purpose. I would like it to plot from the previous days data, and the current days data, everyday, instead of every other day.

I threw together an example of what I am talking about, and the slide from his presentation that got my attention. On my chart the pink line is current day vwap, the red is 2 day vwap and the dotted white line is the 1st standard deviation from the current day vwap. As you can see the next day they both reset and match up exactly on mine, and they start at different price levels each day on his.

I'm not sure if this is possible or really useful at all, but I am trying out new ways to identify trends and I liked the way Fat Tails used this in the webinar. Any help is greatly appreciated.


Visit my NexusFi Trade Journal Started this thread Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
Cheap historycal L1 data for stocks
Stocks and ETFs
What broker to use for trading palladium futures
Commodities
Quant vue
Trading Reviews and Vendors
REcommedations for programming help
Sierra Chart
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
 
  #2 (permalink)
 
dakine's Avatar
 dakine 
Volcano, HI
 
Experience: None
Platform: Ninja
Broker: AMP/CQG
Trading: Futura2000
Posts: 200 since Dec 2009
Thanks Given: 389
Thanks Received: 166

Instead of a rolling 3 day vwap I have been using Fat Tails anaRollingPivots indicator with a 3 day lookback to plot the 3 day static VWAP. Hope this helps. Hmm well I see you are using Sierra Charts so I guess this does not help you much sorry.

Reply With Quote
Thanked by:
  #3 (permalink)
 gonzofist 
PORTLAND, OR
 
Experience: None
Platform: NinjaTrader
Trading: Futures
Posts: 185 since Jul 2011
Thanks Given: 74
Thanks Received: 168


I am actually currently using ninja also for that purpose. I was just curious if there was a way to make Sierra do something similar. Thanks for the help though.

Visit my NexusFi Trade Journal Started this thread Reply With Quote
  #4 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,103

Actually a rolling VWAP is a funny animal. To understand it you just need to look at how it has been generated.

The VWAP is an offshoot of the volume weighted moving average VWMA. The VWMA has a fixed period, whereas the VWAP is anchored, usually to the first bar of the session. This means that the bar period of the VWAP increases with every bar of the session, until a new session starts.

Now if you talk about a rolling VWAP, you come back to the original concept of the VWMA. A 3-day rolling VWAP is nothing else than VWMA with a constant lookback period of 3 days. If you use minute charts, you can indeed substitute it directly with the VWMA.

For example on a 5 minute chart for ES you can use a VWMA with a lookback period of 837 bars. The period can be calculated by counting the number of bars per day. A day has 12 x 24 = 288 of those 5-minute bars. If you deduct the two breaks of 15 and 30 minutes, you end up with 279 bars per day. For three days this would be 837 bars.

If you use tick, volume or range charts, it is not so easy to determine the period, but the algorithm needs to deduct the bars that drop out of the period of the beginning and then add the new bars that are added at the end. Also the standard deviation bands cannot be easily calculated.

You would need to code an indicator, which does exactly what you look for.

Reply With Quote
  #5 (permalink)
 crazybears 
Alesia E.U.
 
Experience: Intermediate
Platform: Sierra chart
Trading: Futures
Posts: 168 since Feb 2011
Thanks Given: 146
Thanks Received: 115


gonzofist View Post
I am actually currently using ninja also for that purpose. I was just curious if there was a way to make Sierra do something similar. Thanks for the help though.

Hi Gonzofist

take a look to th Running Vwap Bands study.
you find it under :studies->Add Custom study ->UserContributedStudies->RunningVwapBands

Reply With Quote
Thanked by:
  #6 (permalink)
 tradentravel 
Phoenix AZ
 
Experience: Intermediate
Platform: Sierra Chart
Broker: Optimus
Trading: /ES /YM
Posts: 10 since Apr 2013
Thanks Given: 3
Thanks Received: 8

I personally really like the idea of a rolling VWAP. I struggle to interpret the VWAP immediately after it resets. I used to look at the previous month's, but then I didnt know when to switch to the new. The rolling VWAP seems to fix that issue for me.

Reply With Quote
  #7 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,103


prohlfer33 View Post
I personally really like the idea of a rolling VWAP. I struggle to interpret the VWAP immediately after it resets. I used to look at the previous month's, but then I didnt know when to switch to the new. The rolling VWAP seems to fix that issue for me.

21 days would be rolling month, 5 days a rolling week. For me personally a rolling month is good for the bigger picture. But then I am also after a rolling week, which tells me a lot about the current trend.

Below are chart for CL with the monthly and weekly rolling VWAP.





Reply With Quote
  #8 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,463 since Jun 2009
Thanks Given: 33,236
Thanks Received: 101,658

I wanted to explore using a rolling VWAP, but am having trouble with Sierra.

It would seem the setting of "continuous non-resetting" would be correct. For example, if you specify 21 days then what I would expect is a 21-day rolling VWAP, where the 22nd session is continually dropped.

But that isn't the actual result. Where am I going wrong?

For example, to create a 21-day rolling VWAP (monthly) and a 5-day rolling VWAP (weekly).

Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
  #9 (permalink)
 
josh's Avatar
 josh 
Georgia, US
Legendary Market Wizard
 
Experience: None
Platform: SC
Broker: Denali+Rithmic
Trading: ES, NQ, YM
Posts: 6,245 since Jan 2011
Thanks Given: 6,782
Thanks Received: 18,254


Big Mike View Post
I wanted to explore using a rolling VWAP, but am having trouble with Sierra.

It would seem the setting of "continuous non-resetting" would be correct. For example, if you specify 21 days then what I would expect is a 21-day rolling VWAP, where the 22nd session is continually dropped.

But that isn't the actual result. Where am I going wrong?

For example, to create a 21-day rolling VWAP (monthly) and a 5-day rolling VWAP (weekly).

Mike

@Big Mike Use the user contributed "ECIVwapChannelV1.4" that wwwingman added. It is a rolling VWAP, which the built-in study does not do. The built-in study begins on day 1 of the chart (or whatever the start date of VWAP study is), and resets every X days, instead of doing what you are intending.

Still, a moving average like you are wanting to set up will be not drastically different from a price-based 21-period MA, for example--they both are "lagging" and subject to the same fundamental limitations. If you haven't checked it out, the ECIVWapAnchor study lets you easily start the vwap at any place with a mouse click (or use the built in vwap study and manually change the start date/time, though it's a little more cumbersome) and allows you to see vwap over a specified period.

The question with anything like this is, what period to use? Why a 21 day, and not a 10 day? Neither choice takes anything in context. With a daily vwap, the reason is clear for using the day time frame. Anchoring a vwap at 2/2 makes sense, as it's the low of the current move up, or at Oct 31, as it was the beginning of a significant event in the market, or from the mid Oct lows. A rolling/moving average can be useful, but the selection of period is arbitrary and that's what makes it tough for me personally to put lots of confidence in.

Reply With Quote
Thanked by:
  #10 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,463 since Jun 2009
Thanks Given: 33,236
Thanks Received: 101,658



josh View Post
@Big Mike Use the user contributed "ECIVwapChannelV1.4" that wwwingman added. It is a rolling VWAP, which the built-in study does not do. The built-in study begins on day 1 of the chart (or whatever the start date of VWAP study is), and resets every X days, instead of doing what you are intending.

Still, a moving average like you are wanting to set up will be not drastically different from a price-based 21-period MA, for example--they both are "lagging" and subject to the same fundamental limitations. If you haven't checked it out, the ECIVWapAnchor study lets you easily start the vwap at any place with a mouse click (or use the built in vwap study and manually change the start date/time, though it's a little more cumbersome) and allows you to see vwap over a specified period.

The question with anything like this is, what period to use? Why a 21 day, and not a 10 day? Neither choice takes anything in context. With a daily vwap, the reason is clear for using the day time frame. Anchoring a vwap at 2/2 makes sense, as it's the low of the current move up, or at Oct 31, as it was the beginning of a significant event in the market, or from the mid Oct lows. A rolling/moving average can be useful, but the selection of period is arbitrary and that's what makes it tough for me personally to put lots of confidence in.

I want to test a 5-day instead of weekly, 21-day instead of monthly. That is where the numbers come from.

Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote




Last Updated on December 28, 2023


© 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