Count the bar in the last day

Created at 14 Apr 2024, 14:23
TI

tikahcm2

Joined 03.02.2024

Count the bar in the last day
14 Apr 2024, 14:23


Hi everybody,
I have a problem with the code in counting candlesticks during the trading day on small time frames (m2,m5,m15).
With the following code. It only appears on the first bar of the day.

Please help me

 

@tikahcm2