PureBytes Links
Trading Reference Links
|
Hello Ron,
i remember this you have to make those prices an input for it to work.
input:price1(h data2 + l data2)/2));
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");
--
Have a Great Day, Mark Brown
"It pays to have a Cray"
- www.markbrown.com -
|