Download MetaTrader 5
To add comments, please log in or register
Examine the Top MetaTrader 5 signals. Choose the best one and subscribe to it!
BigAl
487
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
7976
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
487
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