Repainting
Repainting is when a script's historical signals change after the fact, so the chart shows signals that were not available at the time they appear to have occurred.
How it works
Three distinct causes produce it. Acting on an unclosed bar means a condition true mid-bar can be false at the close. Higher-timeframe requests with lookahead enabled hand past bars a value that was not yet known. Some functions and drawings back-adjust historical values when new data arrives. Each cause needs a different fix; gating on barstate.isconfirmed addresses only the first.
Why it matters on a funded account
A repainting strategy passes every backtest and fails every live evaluation, because the backtest is scored on signals that could never have been traded. On a funded account this produces breaches from trades that never truly existed.
Read next
Part of the Puravida Edge prop trading glossary. Firm-specific figures verified September 2026; rules change frequently — confirm on the firm's site.