PureBytes Links
Trading Reference Links
|
Hey Roy,
I believe I have some charts saved as gifs. I will upload.
Thanks.
bruni
--- In equismetastock@xxxxxxxxxxxxxxx, "Roy Larsen" <rlarsen@xxxx>
wrote:
> Hi bruni
>
> Can you post a gif chart showing what you are trying to do. The
concept
> eludes me, and therefore so does the solution.
>
> Roy
>
> ----- Original Message -----
> From: "Chris " <cjbruni@xxxx>
> To: <equismetastock@xxxxxxxxxxxxxxx>
> Sent: Tuesday, July 22, 2003 1:21 PM
> Subject: Re: [EquisMetaStock Group] Adding a certain number of days
to a
> date.
>
>
> > Hello Roy,
> > I first want to thank everyone who wrote back and their
comments
> > and suggestions. I love groups like these. What I am trying to
do
> > is create time windows off of the ROC highest and lowest value and
> > project that onto the price chart. The first set of time windows
> > comes 49 - 52 days after the ROC highest or lowest value for the
> > loaded data. The second set is 90 - 98 days out and the third is
> > 120 - 135 days out. And its only a horizontal line that connects
the
> > start day (49) and the end day (52). I used to use metastock ver
> > 1.02 and I had a macro that did this automatically. But the
macros
> > are gone in 6.52. Now its code. And I suck terrible at
> > programming. I didn't think it was complicated but I have been
> > hitting wall after wall with trying to do this. I'm doing it
> > manually now by counting the days after the highest and lowest
> > vlaues - but I'm trying to create my trading system & this is a
big
> > part of it. Any other input would be greatly appreciated.
> >
> > thanks for your time
> > bruni
> >
> >
> > --- In equismetastock@xxxxxxxxxxxxxxx, "Roy Larsen" <rlarsen@xxxx>
> > wrote:
> > > bruni
> > >
> > > What do you mean by "calculate the highest and lowest value of
the
> > roc for
> > > the time period loaded and then add 48 to 52 days to that date
and
> > plot a
> > > line between the two"?
> > >
> > > That doesn't quite make sense to me. I've created a line plot
based
> > on my
> > > first understanding of your request but I see now that you mean
> > something
> > > different. Just what I can't quite decide. Hope the formula
helps
> > anyway.
> > > What it does is find the highest point of the ROC then adds 48-
52
> > bars to
> > > that and plots a line between the two ROC values. It's
apparently
> > not what
> > > you want but all the tools you need should be there.
> > >
> > > Roy
> > >
> > > {Line Plot on ROC}
> > > D:=Input("Line Length",48,52,50);
> > > F:=Input("Roc Periods",5,99,20);
> > > A:=ROC(C,F,%);
> > > B:=BarsSince(A=Highest(A));
> > > D1:=Cum(1)=LastValue(Cum(1))-LastValue(B);
> > > {D1 is first bar of line}
> > > D2:=Cum(1)=LastValue(Cum(1))-LastValue(B)+D;
> > > {D2 is last bar of line}
> > > P1:=A; {start-of-line data array}
> > > P2:=A; {end-of-line data array}
> > > V1:=ValueWhen(1,D1,P1);
> > > V2:=LastValue(ValueWhen(1,D2,P2));
> > > B1:=LastValue(BarsSince(D1));
> > > B2:=LastValue(BarsSince(D2));
> > > Bp:=LastValue(B2);
> > > Line:=V1-Cum(If(D1=0,(V1-V2)/(B1-B2),0));
> > > Line:=Ref(Ref(Line,-Bp),Bp); {blank end of line}
> > > A; {Rate of Change}
> > > Line;
> > >
> > > ----- Original Message -----
> > > From: "Chris " <cjbruni@xxxx>
> > > To: <equismetastock@xxxxxxxxxxxxxxx>
> > > Sent: Tuesday, July 22, 2003 4:48 AM
> > > Subject: [EquisMetaStock Group] Adding a certain number of days
to
> > a date.
> > >
> > >
> > > > Hello everyone,
> > > > I am trying to come up with a function to calculate the
> > highest
> > > > and lowest value of the roc for the time period loaded and
then
> > add
> > > > 48 to 52 days to that date and plot a line between the two. I
> > know
> > > > there is the hhv() and llv() function but is there a date
function
> > > > and then a way to add 48 days to it. Still new to metastock -
any
> > > > help would be appreciated.
> > > >
> > > > Thanks
> > > > bruni
> > > >
> > > >
> > > >
> > > > 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/
> > > >
> > > >
> > > >
> > > >
> >
> >
> >
> > 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/
> >
> >
> >
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges & Refill Kits for Your Epson at Myinks.com
Free shipping on orders $50 or more to the US and Canada.
http://www.c1tracking.com/l.asp?cid=5705&lp=home/epson.asp
http://us.click.yahoo.com/brYXfA/_xWGAA/ySSFAA/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/
|