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 -----
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
__._,_.___
**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.
TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com
TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
__,_._,___
|