Download MetaTrader 5

iHighest iLowest

To add comments, please log in or register
Have you made a screenshot in MetaTrader? Share it with friends!
BigAl
489
BigAl 2015.09.08 07:40 
I know what iHighest/iLowest do but have found that these are quite often hit by spikes in the price. Is there an easy way to ignore the highest and/or lowest and get the second or even third highest or lowest.
Keith Watford
Moderator
9603
Keith Watford 2015.09.08 10:14  
Put the values in an array, sort the array, then you can pick whichever you want from their placing in the array
BigAl
489
BigAl 2015.09.08 13:15  
GumRai:
Put the values in an array, sort the array, then you can pick whichever you want from their placing in the array

So simple!!

Thanks

To add comments, please log in or register