What is a repainting indicator?
A repainting indicator rewrites its own history. It adds, removes or moves signals on candles that already closed, usually because the math needs candles that hadn't printed yet.
Nothing about it is hidden in the code. Pivots, ZigZag and centered averages all repaint by design. The problem starts when a chart full of hindsight arrows gets sold as a live signal.