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

Re: [EquisMetaStock Group] Adding a certain number of days to a date.



PureBytes Links

Trading Reference Links

Hi Chris

I'm afraid I'll need a much more detailed explanation of what you are
wanting to do. I can't tie in what you have said to what I see on the chart.
While I am sure you know exactly what you want I'm finding that the detail I
need is missing. I can't make the appropriate connections. there's no
question in my mind that a solution is feasible - but I need more
information to proceed. If you respond either to this or my private post
I'll be happy to take it further.

Roy

----- Original Message ----- 
From: "Chris " <cjbruni@xxxxxxxxxxxxxxx>
To: <equismetastock@xxxxxxxxxxxxxxx>
Sent: Wednesday, July 23, 2003 5:29 AM
Subject: Re: [EquisMetaStock Group] Adding a certain number of days to a
date.


> Hello Roy,
>      I have put a bmp called sample in the files section of this
> group - it is of an older chart of bmks made in Metastock 1.02.  The
> top half of the chart is the ROC and the bottom is the price chart.
> The colored (tannish) horizontal lines are the time windows on the
> price chart from the ROC high and low.  In 1.02 I can go into pointer
> mode - put the pointer on the date of ROC high & low and then enable
> the macro to construct the lines from the those dates.  I didn't
> think it was anything complicated - but its not easy to do in 6.52
> for whatever reason.  Let me know what you think - if its a
> possiblity.
>
> thanks again,
> bruni
>
> --- In equismetastock@xxxxxxxxxxxxxxx, "Roy Larsen" <rlarsen@xxxx>
> wrote:
> > bruni
> >
> > I only asked for gif's because they are smaller and take less time
> to
> > download by those of us still using modems.
> >
> > Roy
> >
> > ----- Original Message ----- 
> > From: "Chris " <cjbruni@xxxx>
> > To: <equismetastock@xxxxxxxxxxxxxxx>
> > Sent: Tuesday, July 22, 2003 2:29 PM
> > Subject: Re: [EquisMetaStock Group] Adding a certain number of days
> to a
> > date.
> >
> >
> > > 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/
> > > > >
> > > > >
> > > > >
> > >
> > >
> > >
> > > 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 No Snore & Get a Good Night's Sleep. Natural Oral Spray -- $24.95
(1 bottle, 1 month supply, with sweet almond oil, eucalyptus oil & more).
http://www.challengerone.com/t/l.asp?cid=2881&lp=h515.html
http://us.click.yahoo.com/2oMABA/nuYGAA/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/