Tick Chart for Filter

Hello everyone,

Ask a question about group K sticks,
Because my current database uses Tick as the base, the candlestick chart is 120T

I found a problem today, because 120T sometimes the K bar will cross the day, so when I use the filter, I only look at the day market, and the K bar will be different when I watch the day and night markets at the same time. Is there a solution for this, we are Think, the first tick of the first K-bar every day counts from the first tick of each trading day, how do you set this

This is the picture without filter


This is a picture with filter