This is flawed because it does not consider the market open time but the clock time. Say for example, my market starts at 9:15 AM and I chose 30mins for separator on a 3 min chart. However, the first separator is drawn at 9:30AM itself instead of drawing at 9:45AM