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.
the code above printing 1220 but the index value should be something between 650 to 600.
Read the manual https://docs.mql4.com/series/ihighest
The index value should be between [600 … 1249] assuming you have at least 1250 bars.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.