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

Re[3]: Odd calculation problem



PureBytes Links

Trading Reference Links

Hello  Mark,


actually   input:price1((h data2 + l data2)/2);

MB>

RA>> It's been a while since I've worked with Sleazy-Language, but as I recall, 
RA>> there is some glitch that requires you to assign the result of the 
RA>> calculation to a variable before taking the Xaverage--
RA>> _______________________________________
RA>> 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 - (    , "spread");
>>>   plot2( xaverage( (h+l)/2 - (h data2 + l data2)/2 ,5), "xavg");




MB> --
MB> Have a Great Day,  Mark Brown

MB>   "It pays to have a Cray" 
MB>     - www.markbrown.com -




--
Have a Great Day,  Mark Brown

  "It pays to have a Cray" 
    - www.markbrown.com -