you can just use: WriteVal(Min(Min(10,20),30));
or MIN((MIN(array1,array2),array3); From: bulletdodgerkungfu Sent: Wednesday, April 07, 2010 11:49 AM To: [email protected] Subject: [amibroker] Selecting the lowest / highest from 3 or more arrays Hello, I was wondering if there is a AFL function (or creative use of one) which will allow the selection of the lowest / highest values from 3 or more arrays. ("MIN" only does 2 of them). eg: array1 = 10; array2 = 20; array3 = -50; with the desiredoutput = -50. Thanks and regards James
