Thank you Herman and Tomasz.



________________________________
From: Tomasz Janeczko <[email protected]>
To: [email protected]
Sent: Wed, November 18, 2009 6:16:29 PM
Subject: Re: [amibroker] MAX of more than 2 variables

  
Any function can be nested, see:
 
Max( Max( Ref( H, -2 ), Ref( H, -3 ) ), Ref( H, -5 ) );
 

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message ----- 
>From: James 
>To: amibro...@yahoogrou ps.com 
>Sent: Thursday, November 19, 2009 1:07 AM
>Subject: [amibroker] MAX of more than 2 variables
>
>
>Is there away to define the max of more than 2 values, something like:
> 
>Max(Ref(H,-2), Ref(H,-3), Ref(H,-5)); 
> 
>without resorting to x > (Ref(H,-2) AND Ref(H,-3) AND Ref(H,-5)) AND ...; 
> 
>James
>



      

Reply via email to