PureBytes Links
Trading Reference Links
|
secutorca
This is a very crude MS "volume by price" indicator (there are one or two
bugs still to be ironed out) but it demonstrates one method of laying
"volume by price" onto a price chart. Make your own improvements and
ajustments.
{Volume By Price}
Bs:=Input("Periods, 0=All",0,2000,200);
Bs:=If(Bs=0,LastValue(Cum(1)-10),Bs);
Sc:=LastValue(Cum(1)-Bs)<=Cum(1);
Tv:=LastValue(Cum(If(Sc,V,0)));
Rh:=LastValue(HighestSince(1,Sc=0,C));
Rl:=LastValue(LowestSince(1,Sc=0,C));
In:=(Rh-Rl)/10;
V1:=LastValue(Cum(If(C<(Rl+In) AND Sc,V,0))/Tv);
V2:=LastValue(Cum(If(C>=(Rl+In) AND C<(Rl+In*2) AND Sc,V,0))/Tv);
V3:=LastValue(Cum(If(C>=(Rl+In*2) AND C<(Rl+In*3) AND Sc,V,0))/Tv);
V4:=LastValue(Cum(If(C>=(Rl+In*3) AND C<(Rl+In*4) AND Sc,V,0))/Tv);
V5:=LastValue(Cum(If(C>=(Rl+In*4) AND C<(Rl+In*5) AND Sc,V,0))/Tv);
V6:=LastValue(Cum(If(C>=(Rl+In*5) AND C<(Rl+In*6) AND Sc,V,0))/Tv);
V7:=LastValue(Cum(If(C>=(Rl+In*6) AND C<(Rl+In*7) AND Sc,V,0))/Tv);
V8:=LastValue(Cum(If(C>=(Rl+In*7) AND C<(Rl+In*8) AND Sc,V,0))/Tv);
V9:=LastValue(Cum(If(C>=(Rl+In*8) AND C<(Rl+In*9) AND Sc,V,0))/Tv);
V10:=LastValue(Cum(If(C>=(Rl+In*9) AND Sc,V,0))/Tv);
ValueWhen(1,LastValue(Cum(1)-Bs)=Cum(1),Rl-In);
ValueWhen(1,LastValue(Cum(1)-Int(V1*Bs))=Cum(1),Rl);
ValueWhen(1,LastValue(Cum(1)-Int(V2*Bs))=Cum(1),Rl+In);
ValueWhen(1,LastValue(Cum(1)-Int(V3*Bs))=Cum(1),Rl+In*2);
ValueWhen(1,LastValue(Cum(1)-Int(V4*Bs))=Cum(1),Rl+In*3);
ValueWhen(1,LastValue(Cum(1)-Int(V5*Bs))=Cum(1),Rl+In*4);
ValueWhen(1,LastValue(Cum(1)-Int(V6*Bs))=Cum(1),Rl+In*5);
ValueWhen(1,LastValue(Cum(1)-Int(V7*Bs))=Cum(1),Rl+In*6);
ValueWhen(1,LastValue(Cum(1)-Int(V8*Bs))=Cum(1),Rl+In*7);
ValueWhen(1,LastValue(Cum(1)-Int(V9*Bs))=Cum(1),Rl+In*8);
ValueWhen(1,LastValue(Cum(1)-Int(V10*Bs))=Cum(1),Rl+In*9);
Roy
----- Original Message -----
From: "Anthony Faragasso" <ajf1111@xxxxxxxx>
To: <equismetastock@xxxxxxxxxxxxxxx>
Sent: Sunday, March 02, 2003 3:09 AM
Subject: Re: [EquisMetaStock Group] Metastock Chart variation
> Hello,
>
> I do not know how to do it in Metastock...But, it is done in
> Amibroker...check the image file.
>
> Thank you
> Anthony
>
> secutorca wrote:
>
> > When I used to use Bigcharts, they had a system where the bar chart
> > could be displayed with volume on the side - showing the volume for
> > price levels - not on a daily basis. Does anyone know how to do
> > this in Metastock. All assistance would be appreciated.
> >
> > Please reply to secutor@xxxxxxxxxxxxxxx
> >
> >
> > Yahoo! Groups Sponsor
> ADVERTISEMENT
>
>
> >
> > To unsubscribe from this group, send an email to:
> > equismetastock-unsubscribe@xxxxxxxxxxxxxxx
> >
> >
> >
> > Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
>
> Yahoo! Groups Sponsor
> ADVERTISEMENT
>
>
>
>
> To unsubscribe from this group, send an email to:
> equismetastock-unsubscribe@xxxxxxxxxxxxxxx
>
>
>
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
>
----------------------------------------------------------------------------
----
------------------------ Yahoo! Groups Sponsor ---------------------~-->
New Yahoo! Mail Plus. More flexibility. More control. More power.
Get POP access, more storage, more filters, and more.
http://us.click.yahoo.com/Hcb0iA/P.iFAA/46VHAA/BefplB/TM
---------------------------------------------------------------------~->
To unsubscribe from this group, send an email to:
equismetastock-unsubscribe@xxxxxxxxxxxxxxx
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
|