PureBytes Links
Trading Reference Links
|
Hi Brian
There is some problem with the function - I can't remember the exact details
however the workaround is to never to use the functions directly but assign
them to a variable and use the variable instead i.e
vars:highd1(0),lowd1(0),highd2(0),lowd2(0) ;
highd1 = highd(1) ;
lowd1 = lowd(1) ;
highd2 = highd(2) ;
lowd2 = lowd(2) ;
Rgds Stuart
From: "Brian" <blink64@xxxxxxxx>
Reply-To: <orcas@xxxxxxxx>
To: "List, Omega" <omega-list@xxxxxxxxxx>
Subject: RE: Problem w/HighD Func
Date: Tue, 21 Nov 2000 13:47:34 -0800
That moves the problem to the next earlier day. This instance of HighD
still seems to have a problem no matter how many days you load.
> -----Original Message-----
> From: Chad [mailto:canutek@xxxxxxxx]
> Sent: Tuesday, November 21, 2000 1:29 PM
> To: orcas@xxxxxxxx; List, Omega
> Subject: Re: Problem w/HighD Func
>
>
> Why not just load an extra day of intra day data in the
> beginning,andexclude
> it from the function test?
>
>
> Chad
> ----- Original Message -----
> From: "Brian" <blink64@xxxxxxxx>
> To: "List, Omega" <omega-list@xxxxxxxxxx>
> Sent: Tuesday, November 21, 2000 12:24 PM
> Subject: Problem w/HighD Func
>
>
> > TS2K has an EL function called HighD. It returns the high of
> the previous
> > day on an intraday chart. I have found what could be a bug with this
> > function and was wondering if someone else has had the same problem.
> >
> > The problem seems to hapen on the first day the signal begins
> to generate
> > orders. If you reference HighD(1) on the first day the signal starts
to
> > generate orders then the function returns -1 instead of the High of the
> > previous day.
> >
> > Here's an example of the output for HighD run on JDSU 5' chart for
> 07062000.
> > The first is the TS2K date, the second # is OpenD(0) and the third # is
> > HighD(1). HighD(1) should be returning 126.75 which was the high (a bad
> > tick) for JDSU on 07052000. Can anyone confirm they've had this
problem
> too
> > and is there a fix aside from rewriting the HighD func?
> >
> >
> > 1000706.00 120.13 -1.00
> > 1000706.00 120.13 -1.00
> > 1000706.00 120.13 -1.00
> > 1000706.00 120.13 -1.00
> > 1000706.00 120.13 -1.00
> > 1000706.00 120.13 -1.00
> > 1000706.00 120.13 -1.00
> > 1000706.00 120.13 -1.00
> > 1000706.00 120.13 -1.00
> > 1000706.00 120.13 -1.00
> > 1000706.00 120.13 -1.00
> > 1000706.00 120.13 -1.00
> > 1000706.00 120.13 -1.00
> > 1000706.00 120.13 -1.00
> > 1000706.00 120.13 -1.00
> > 1000706.00 120.13 -1.00
> > 1000706.00 120.13 -1.00
> > 1000706.00 120.13 -1.00
> > 1000706.00 120.13 -1.00
> > 1000706.00 120.13 -1.00
> > 1000706.00 120.13 -1.00
> > 1000706.00 120.13 -1.00
> > 1000706.00 120.13 -1.00
> > 1000706.00 120.13 -1.00
> > 1000706.00 120.13 -1.00
> > 1000706.00 120.13 -1.00
> > 1000706.00 120.13 -1.00
> > 1000706.00 120.13 -1.00
> > 1000706.00 120.13 -1.00
> > 1000706.00 120.13 -1.00
> > 1000706.00 120.13 -1.00
> > 1000706.00 120.13 -1.00
> > 1000706.00 120.13 -1.00
> >
>
>
|