I am experiencing a strange problem using iHighest to find out the index of the highest bars. It works for smaller number of bars , but if i test it with large number of bars then its giving me meaningless index value. int val_index=iHighest("EURUSD",5,MODE_HIGH,650,600); Print(val_index); the code