PureBytes Links
Trading Reference Links
|
It's been a while since I've worked with Sleazy-Language, but as I recall,
there is some glitch that requires you to assign the result of the
calculation to a variable before taking the Xaverage--
_______________________________________
At 11:23 AM 01/18/2001 -0700, you wrote:
>Here's a strange one. I've got a chart with 2 data series: NQ1H and
>NDX. I created an indicator to display the spread between NQ1H and
>NDX.
>
> plot1( (h+l)/2 - (h data2 + l data2)/2 , "spread");
> plot2( xaverage( (h+l)/2 - (h data2 + l data2)/2 ,5), "xavg");
|