PureBytes Links
Trading Reference Links
|
I just stumbled across the answer. In TS8, TL getvalue freaks out if it is
used on a log scale chart. Changing the scaling back and forth determines
whether or not the error occurs.
Chris
----- Original Message -----
From: "John Corrion" <corrion@xxxxxxxxxxx>
To: <chris@xxxxxxxxxxxxxxxxxx>
Sent: Saturday, December 18, 2004 12:20 AM
Subject: Re: tl_getvalue & floating pt num overload
> Hi Chris,
>
> I use TS2k and not working right now!
>
> You didn't supply enough info...what are array conditions? You may have
> your overflow there but I am in no position to verify right now.
>
> Try printing out your array values to make sure they are what you think
they
> should be.
>
> John
>
> -------Original Message-------
>
> From: Chris Cheatham
> Date: 12/17/04 23:57:51
> To: Omega List
> Subject: tl_getvalue & floating pt num overload
>
> Hi gang,
>
> I have a line drawing indicator that uses the code...
> if plots[xx,ii]>0 then TL_SetEnd(plots[xx,ii], d, t,
> TL_GetValue(plots[xx,ii], d, t));
>
> where the plots array stores the tl#s...to move the end point of tls every
> bar to the current bar. For some reason, and only on one chart to date
> (intraday @EMD.D) the TL_getvalue code causes a floating point numerical
> overload error. I am baffled. Delete it and works fine. On a daily chart
or
> intraday on another market it works fine. Any ideas? TS8.
>
> Thanks,
> Chris
>
>
|