vwap

This is a discussion on vwap within the Technical Analysis forums, part of the Methodologies category; Hello, What is the typical period setting for the vwap on an intraday ES chart? i.e. 10, 15, 20 etc. ...

Reply
1 1 Attachment(s)
 
LinkBack Thread Tools
Newbie
 
Join Date: Sep 2006
Location: Chicago, Illinois
Posts: 3
vwap

Hello,

What is the typical period setting for the vwap on an intraday ES chart? i.e. 10, 15, 20 etc. Specifically on a 5 min. chart.

Thanks in advance.
conr is offline   Reply With Quote
Legendary Member
 
Glenn's Avatar
 
Join Date: Mar 2003
Posts: 1,015
Glenn's Trading Profile
There is no 'typical' period setting because there is no period setting.
You start the VWAP calculation at the start of the session and continue to update it until the session ends. Then you start all over again at the start of the next session.

Glenn
Glenn is offline   Reply With Quote
Newbie
 
Join Date: Sep 2006
Location: Chicago, Illinois
Posts: 3
conr started this thread The reason I asked is because a blog I follow, he mentioned a 20 period setting on the ES and at the end of the day yest. his vwap was 4 pts higher than mine.
conr is offline   Reply With Quote
Styles & Strategies and Methodologies Categories
Forum Moderators are volunteer members with junior admin powers to moderate certain forums.
 
Join Date: Aug 2005
Posts: 1,170
vwap may be available as an indicator. I use TradeStation and if you want TS codes, I can post it here. It can be calculated on all intervals.. therefore, current vwap on 60minute chart may be different from that of 1min, 2min etc. For stocks, on an hourly bar, it only calculates 7 times, where as for 10min bars, it will calculate 39times during market hours.
leovirgo is offline   Reply With Quote
Newbie
 
Join Date: Jul 2008
Location: California
Posts: 2
Vwap

Quote:
Originally Posted by leovirgo View Post
vwap may be available as an indicator. I use TradeStation and if you want TS codes, I can post it here. It can be calculated on all intervals.. therefore, current vwap on 60minute chart may be different from that of 1min, 2min etc. For stocks, on an hourly bar, it only calculates 7 times, where as for 10min bars, it will calculate 39times during market hours.

Leo if the offer to post the EL code for TradeStation still exists I would great appreciate it.
gillpups is offline   Reply With Quote
Styles & Strategies and Methodologies Categories
Forum Moderators are volunteer members with junior admin powers to moderate certain forums.
 
Join Date: Aug 2005
Posts: 1,170
Quote:
Originally Posted by gillpups View Post
Leo if the offer to post the EL code for TradeStation still exists I would great appreciate it.
Vwap is an indicator and it needs vwap_h as a function. It should be fine if you import his ELD file. Save this file in your pc and just use File> Import/export easy language and select the file from the saved location.

I will paste the codes below but ELD import should work.
==========================
{ Create VWAP_h function } save indicator as vwap_h
===========================
vars:
PriceW(0),
ShareW(0),
Answer(0);

if date > date[1] then begin
PriceW = 0;
ShareW = 0;
end;

PriceW = PriceW + (AvgPrice * (UpTicks+DownTicks));
ShareW = ShareW + (UpTicks+DownTicks);

if ShareW > 0 then
Answer = PriceW / ShareW;

VWAP_H = Answer;


================================================== ===

{ VWAP Indicator }
================================================== ===

inputs: VWAPlength ( 10 ), UpColor(Magenta), DownColor(Magenta);

variables: upperMPD ( 0 ), lowerMPD ( 0 ), band ( 0 ),
HH ( 0 ), LL ( 0 ), Answer(0);

Answer = VWAP_H;

if AvgPrice >= Answer then
SetPlotColor(1,DownColor)
else
SetPlotColor(1,UpColor);

Plot1(Answer,"VWAP");


IF High > HighD(0) then
HH = High
else Begin HH = HighD(0);End;


IF Low < LowD(0) then
LL = Low
else Begin LL = LowD(0) ; End;

band = ( HH - LL )/ 2 ;

upperMPD = Answer + band ;
lowerMPD = Answer - band ;

Plot2(upperMPD, "upperMPD" );
Plot3(lowerMPD, "lowerMPD" ) ;

{ Alert criteria }
if Last <= lowerMPD then
Alert( "VWAPlowerMPD" )
else if Last >= upperMPD then
Alert( "VWAPupperMPD" ) ;
Attached Files
File Type: eld MP_VWAP.ELD (5.4 KB, 40 views)
leovirgo is offline   Reply With Quote
Newbie
 
Join Date: Jul 2008
Location: California
Posts: 2
Thumbs up

Quote:
Originally Posted by leovirgo View Post
Vwap is an indicator and it needs vwap_h as a function. It should be fine if you import his ELD file. Save this file in your pc and just use File> Import/export easy language and select the file from the saved location.

I will paste the codes below but ELD import should work.
==========================
{ Create VWAP_h function } save indicator as vwap_h
===========================
vars:
PriceW(0),
ShareW(0),
Answer(0);

if date > date[1] then begin
PriceW = 0;
ShareW = 0;
end;

PriceW = PriceW + (AvgPrice * (UpTicks+DownTicks));
ShareW = ShareW + (UpTicks+DownTicks);

if ShareW > 0 then
Answer = PriceW / ShareW;

VWAP_H = Answer;


================================================== ===

{ VWAP Indicator }
================================================== ===

inputs: VWAPlength ( 10 ), UpColor(Magenta), DownColor(Magenta);

variables: upperMPD ( 0 ), lowerMPD ( 0 ), band ( 0 ),
HH ( 0 ), LL ( 0 ), Answer(0);

Answer = VWAP_H;

if AvgPrice >= Answer then
SetPlotColor(1,DownColor)
else
SetPlotColor(1,UpColor);

Plot1(Answer,"VWAP");


IF High > HighD(0) then
HH = High
else Begin HH = HighD(0);End;


IF Low < LowD(0) then
LL = Low
else Begin LL = LowD(0) ; End;

band = ( HH - LL )/ 2 ;

upperMPD = Answer + band ;
lowerMPD = Answer - band ;

Plot2(upperMPD, "upperMPD" );
Plot3(lowerMPD, "lowerMPD" ) ;

{ Alert criteria }
if Last <= lowerMPD then
Alert( "VWAPlowerMPD" )
else if Last >= upperMPD then
Alert( "VWAPupperMPD" ) ;
Perfect thanks.
gillpups is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Vwap Engine leovirgo Trading Journals 394 Nov 6, 2009 9:26am
Vwap Whale Song US Stocks 13 Nov 20, 2005 6:56pm
DOW and VWAP Grey1 US Indices 5 Sep 17, 2003 1:52pm


New To Site? Need Help?


All times are GMT -4. The time now is 3:30am.


Copyright © 2001-2009 Trade2Win Ltd