Calculating time of the last 5 lows

 

Hi all,


I am trying to write a dynamic tradehour.. I need to count the lowest lows of the last five days and find a time for each low for the calculation.


Does anyone have any idea how I can do this? Better still does someone have an example line of code I can work from.


thanks