I am looking for a code snippet to identify the lowest low over a specific period – let’s say 200 bars and the function should return following 3 values:
the value of the low candle
the date when the low occured in format YYYYMMDD
the time when the low occured in format HHMMSS
has anybody already coded this or a hint, how to do this smart?
There is no built-in instruction to find it, and you did it the good way. For future readers, we should say that your code snippet is made to identify the timestamp of the lowest bar in an intraday timeframe.