repaint & alerts problem 'pinescript'

Job ID: 35450324

Budget: $10 – $30 USD

I have pinescript code

I added this to the code:
barmerge.gaps_on, lookahead=barmerge.lookahead_on


But it is useless, it still has a repent, can it be removed?
At the same time, notifications arrive late
For example, if the alert came in the script at five o'clock, it will not appear until an hour or more has passed
Related categories: Pine Script Trading