VWAP Indicator

Questions about MultiCharts and user contributed studies.
User avatar
ACMilan
Posts: 53
Joined: 08 Feb 2013
Has thanked: 2 times
Been thanked: 2 times

VWAP Indicator

Postby ACMilan » 26 Apr 2013

Does anyone know why the default Time inputs in the VWAP indicator are set as follows?

Time1 0900
Time2 0930
Time3 1129
Time4 1315
Time5 1415

Thank you

User avatar
TJ
Posts: 7742
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2222 times

Re: VWAP Indicator

Postby TJ » 26 Apr 2013

Does anyone know why the default Time inputs in the VWAP indicator are set as follows?

Time1 0900
Time2 0930
Time3 1129
Time4 1315
Time5 1415

Thank you
Which vwap indicator you are referring to? There are various versions floating on the web.
Please always include a link, or copy and paste the code here, so that we are on the same page and talking about the same thing.



ps. how to post codes:
viewtopic.php?f=16&t=11713

User avatar
ACMilan
Posts: 53
Joined: 08 Feb 2013
Has thanked: 2 times
Been thanked: 2 times

Re: VWAP Indicator

Postby ACMilan » 26 Apr 2013

Hi TJ
thanks for the quick reply.
I am talking about the one that is included in the Multichart Indicators Library
That is the only one I have. Here is the code

Code: Select all

input:
Price(AvgPrice),
LocalHrsOffset(0),
time1(0900),
time2(0930),
time3(1129),
time4(1315),
time5(1415),
upColor(Cyan),
dnColor(Magenta);

var:
var0(0);
var0 = VWAPResettable(Price,LocalHrsOffset,time1,time2,time3,time4,time5);
plot1(var0,"vwap_reset");

var: var1(yellow);
if var0 > var0[1] then var1 = upColor;
if var0 < var0[1] then var1 = dnColor;
SetPlotColor(1,var1);

User avatar
TJ
Posts: 7742
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2222 times

Re: VWAP Indicator

Postby TJ » 26 Apr 2013

1. please see link on how to post codes.

2. You can change the time to anything you want. It is an input variable, you can plug in whatever number you feel is suitable for you.

User avatar
ACMilan
Posts: 53
Joined: 08 Feb 2013
Has thanked: 2 times
Been thanked: 2 times

Re: VWAP Indicator

Postby ACMilan » 26 Apr 2013

Sorry to ask you again but If I am trading from 7AM to 1PM for example, would those inputs that start at 9 am still be useful? I am trying to understand the relations between a user trading time preferences and the Vwap inputs. Whoever wrote the codes must have had a reason why he/she used those Time inputs obviously.
Also, the difference between the first 2 is 30Mins, between 2 and 3 is 1hr and 59mins, between 3 and 4 is 1hr and 46 minutes and between 4 and 5 is 1Hr.
This is what is confusing to a newbie like myself.
Thanks TJ

User avatar
TJ
Posts: 7742
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2222 times

Re: VWAP Indicator

Postby TJ » 26 Apr 2013

Sorry to ask you again but If I am trading from 7AM to 1PM for example, would those inputs that start at 9 am still be useful? I am trying to understand the relations between a user trading time preferences and the Vwap inputs. Whoever wrote the codes must have had a reason why he/she used those Time inputs obviously.
Also, the difference between the first 2 is 30Mins, between 2 and 3 is 1hr and 59mins, between 3 and 4 is 1hr and 46 minutes and between 4 and 5 is 1Hr.
This is what is confusing to a newbie like myself.
Thanks TJ
I don't know where you got the code, you have to ask the author. Proper VWAP analysis is from day to day. It makes no sense to break down the VW intraday.

You can try out different times to see the effect; that's what MultiCharts is for -- empowering the user to create their own analysis. You can modify any indicators with the user programmable easy to use EasyLanguage.

I would suggest you to try out different time values, make screenshots of the charts, then do a detailed visual comparison for trading signals. You might find something useful that others have overlooked.

YMMV

User avatar
ACMilan
Posts: 53
Joined: 08 Feb 2013
Has thanked: 2 times
Been thanked: 2 times

Re: VWAP Indicator

Postby ACMilan » 26 Apr 2013

Thanks TJ
The code is from Multichart Power Language library by the way.
Indicators section, fifth from the bottom.

User avatar
TJ
Posts: 7742
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2222 times

Re: VWAP Indicator

Postby TJ » 26 Apr 2013

Thanks TJ
The code is from Multichart Power Language library by the way.
Indicators section, fifth from the bottom.
I did not have it on mine; maybe they are included in the latest build.
You can do a google search, there are lots of write up on the web.

User avatar
ACMilan
Posts: 53
Joined: 08 Feb 2013
Has thanked: 2 times
Been thanked: 2 times

Re: VWAP Indicator

Postby ACMilan » 26 Apr 2013

I see why it sounded weird to you, it might be we have two different build
Mine is 8.5 (6850)
Anyway, thanks for your help

User avatar
arnie
Posts: 1594
Joined: 11 Feb 2009
Location: Portugal
Has thanked: 481 times
Been thanked: 514 times

Re: VWAP Indicator

Postby arnie » 26 Apr 2013

I did not have it on mine; maybe they are included in the latest build.
You can do a google search, there are lots of write up on the web.
As far as I remember that study is in MC a couple of years now.
Which build are you working on TJ?
6.0?
:P

I would love to know what was the intention when that study was created.
Anyway...


ACMilan

Check this one:

http://www.tradersxchange.com/viewtopic.php?f=51&t=538

User avatar
ACMilan
Posts: 53
Joined: 08 Feb 2013
Has thanked: 2 times
Been thanked: 2 times

Re: VWAP Indicator

Postby ACMilan » 26 Apr 2013

Thank you Arnie..
Will check out the link

User avatar
ACMilan
Posts: 53
Joined: 08 Feb 2013
Has thanked: 2 times
Been thanked: 2 times

Re: VWAP Indicator

Postby ACMilan » 26 Apr 2013

I did, there is totally different than the one we currently have in MC
Ty

User avatar
TJ
Posts: 7742
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2222 times

Re: VWAP Indicator

Postby TJ » 26 Apr 2013

I did not have it on mine; maybe they are included in the latest build.
You can do a google search, there are lots of write up on the web.
As far as I remember that study is in MC a couple of years now.
Which build are you working on TJ?
6.0?
:P

I would love to know what was the intention when that study was created.
Anyway...
ACMilan
Check this one:
http://www.tradersxchange.com/viewtopic.php?f=51&t=538
Ok found it. The indicator name is VWAP_Reset.
ACMilan enquired the VWAP indicator (without the Reset), that's why I overlooked it.

User avatar
TJ
Posts: 7742
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2222 times

Re: VWAP Indicator

Postby TJ » 26 Apr 2013

Sorry to ask you again but If I am trading from 7AM to 1PM for example, would those inputs that start at 9 am still be useful? I am trying to understand the relations between a user trading time preferences and the Vwap inputs. Whoever wrote the codes must have had a reason why he/she used those Time inputs obviously.
Also, the difference between the first 2 is 30Mins, between 2 and 3 is 1hr and 59mins, between 3 and 4 is 1hr and 46 minutes and between 4 and 5 is 1Hr.
This is what is confusing to a newbie like myself.
Thanks TJ
Here are some previous discussions; you might find them useful.

viewtopic.php?t=5640

User avatar
ACMilan
Posts: 53
Joined: 08 Feb 2013
Has thanked: 2 times
Been thanked: 2 times

Re: VWAP Indicator

Postby ACMilan » 26 Apr 2013

Thanks and I am glad you also found the Vwap reset


Return to “MultiCharts”