Download MetaTrader 5

ArrayMinimum

To add comments, please log in or register
Dua Yong Rew
5436
Dua Yong Rew 2013.08.17 02:57 
int  ArrayMinimum(
   const void&   array[],             // array for search
   int           start=0,             // index to start checking with
   int           count=WHOLE_ARRAY    // number of checked elements
   );

 does the count means something like this, to be input as a parameter?

int BarNum = ArrayMinimum(Close, 0, count)

 so that it will search the whole array?

Simon Gniadkowski
Moderator
18002
Simon Gniadkowski 2013.08.17 10:30  
doshur:

 does the count means something like this, to be input as a parameter?

 so that it will search the whole array?

You can specify the number of elements to look through,  if you don't specify that parameter then the WHOLE_ARRAY will be used.  This will search the whole array . . .

int BarNum = ArrayMinimum(Close)
Documentation on MQL5: Standard Constants, Enumerations and Structures / Named Constants / Other Constants
Documentation on MQL5: Standard Constants, Enumerations and Structures / Named Constants / Other Constants
  • www.mql5.com
Standard Constants, Enumerations and Structures / Named Constants / Other Constants - Documentation on MQL5
Dua Yong Rew
5436
Dua Yong Rew 2013.08.17 18:05  
RaptorUK:

You can specify the number of elements to look through,  if you don't specify that parameter then the WHOLE_ARRAY will be used.  This will search the whole array . . .

thank u
To add comments, please log in or register