[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: VWAP Support/Resistance Problems



PureBytes Links

Trading Reference Links

Here are a few things I found:
1. You have to enter a start date that actually exists in your open chart.
That is, starting with Day 1, Month 1, Year 2001 won't work because there
was no data that day. Markets closed. Entering 1/2/2001 works. This could be
a way to make a line disappear depending on certain conditions for other
indicators.

2. There is a bug in both MS EOD 7.02 and 7.2 concerning radio buttons
brought up by INPUT command. When I use the radio buttons for year to change
the value of the year, I get an error message. Yes, I'm within the high and
low range for that input command. Yes, even if I change the input range.
The radio button either must be left alone, or the year number has to be
changed from the keyboard. It might have something to do with how thousands
are recognized in INPUT commands.

-Corey.




----- Original Message -----
From: "Claud Baruch" <ClaudB@xxxxxxxxxxxxx>
To: <metastock@xxxxxxxxxxxxx>
Sent: Saturday, April 14, 2001 1:03 PM
Subject: Re: VWAP Support/Resistance Problems


> To those who can't plot the Metastock indicator (I can't either), try
this.
>
> Go to http://www.Wealth-Lab.com
> Look down the left hand column and click on the "Public ChartScripts"
link.
> Then select the "VWAP for support and resistance" ChartScript. (It's
toward the
> bottom of the list.) Then type in any symbol and you'll see the chart
created
> with the VWAP. By default they use 1500 bars for the lookback...but they
say
> you can choose any other number. (I haven't figured out how to do this
yet...but
> I've asked.)
>
> While this is a free site, you might want to register (it's free) to avail
yourself
> of other options available.
>
> I have no personal interest in this website. Just passing along an option.
>
> Claud
>
> stephen bell wrote:
>
> > {In the May 2001 Tech. analysis of Stocks & Commodities, George Reyna
> > presents the following Metastock indicator:
> >
> > Volume Weighted Ave. Price Support/Resistance
> >
> > Problem:
> > The indicator will not plot on any Metastock window.  I checked into the
> > Metastock website to see if they had a correction to the code, but did
> > not see any.  Does anyone on this listserv have success with using this
> > indicator?
> >
> > Thanks,
> > Stephen Bell, Tucson AZ USA}
> >
> > {From P.67, TASC, May 2001
> > MIDAS Volume Weighted Ave Price-Support/resist.}
> >
> > sm:=Input("Starting Month",1,12,1);
> > sd:=Input("Starting day of month",1,31,1);
> > sy:=Input("Starting year",1980,2100,2000);
> > start:= sd = DayOfMonth() AND sm = Month() AND sy = Year();
> > pv:= MP()*V;
> >
> >
denom:=If(Cum(V)-ValueWhen(1,start,Cum(V))=0,1,Cum(V)-ValueWhen(1,start,Cum(
V)));
> >
> > If(BarsSince(start),(Cum(pv)-ValueWhen(1,start,Cum(pv)))/denom,MP())
>