Download MetaTrader 5

the fast way to find a duplicated items in array

To add comments, please log in or register
Traders have already contributed more than 300 articles. Write your own one!
Rohi Finish
142
Rohi Finish 2016.01.24 19:12 

Hello,

 

can someone tell me what is the fast and best way to find a duplicated/or more items in array in MQL4 ?

 

thanks 

Carl Schreiber
6580
Carl Schreiber 2016.01.24 19:49  
sort the array and compare the neighbours
Supun Sameera Manasinghe
169
Supun Sameera Manasinghe 2016.01.25 07:15  
Use array sorting and find if a value is duplicated. Easy with loops.
To add comments, please log in or register