Greetings to all the wonderful coders out there!

May I please get some help fixing the indicator?
It's based off the smoother moving average turned into a channel but the upper line is weirdly bending near the recent candle bar

thanks,
PotetoTrader, Tue May 27, 2025 9:59 am