Download MetaTrader 5

iHighest iLowest

To add comments, please log in or register
BigAl
489
BigAl  
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
10617
Keith Watford  
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  
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