Support Board
Date/Time: Fri, 31 Jan 2025 18:53:16 +0000
Post From: calculate bars per x time
[2019-05-15 14:44:59] |
Sawtooth - Posts: 4164 |
You could do it with the Spreadsheet Study study. First round the bar timestamp to the nearest 5 min multiple, e.g in cell O3: =MROUND(A3,5/1440) Then count the bars from each 5 min multiple, e.g. in cell P3: =IF(O3<>O4,1,P4+1) |