try removing the space between the double equal signs, as in
LLL  = ValueWhen(L==LLV(Low,  24),Low,1);

 Best Regards
Rick Osborn




________________________________
From: dingl2008 <[email protected]>
To: [email protected]
Sent: Sat, January 2, 2010 2:36:45 PM
Subject: [amibroker] what's wrong with the code?

  
Hi, guru's,

I'd like to get highest and lowest value during last 24 bars.. But the code 
below is not working properly. Anyone can see what's wrong with the code? 
thanks and happy new year&#65281;

...
LLL  = ValueWhen(L= =LLV(Low,  24),Low,1);
HHH = ValueWhen(H= =HHV(High, 24),High,1);
...

D


 

Reply via email to