Thanks for the feedback.

  ----- Original Message ----- 
  From: Edward Pottasch 
  To: [email protected] 
  Sent: Thursday, April 08, 2010 12:38 AM
  Subject: Re: [amibroker] Selecting the lowest / highest from 3 or more arrays


    

  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




  

Reply via email to