Repainting: three kinds, shown on real pricesState Street SPDR S&P 500 ETFAMEX:SPYpreuss_steffenWhat does repainting mean, and when is it a problem? This video shows it on real prices. TradingView's definition: a script repaints when it behaves differently on past candles than in real time. Three kinds come up again and again: signals on the running candle, signals drawn into the past (for example a pivot that is only confirmed later), and scripts that look into the future. The first two are normal once you know them; the third makes a script look perfect in hindsight although its signals never existed in real time. The video ends with a five-step routine: set alerts to "Once Per Bar Close", judge signals only after the candle closes, compare a screenshot now with one a few candles later, search open code for lookahead_on without , and ask the author how the script behaves in real time. Images: own charts from SPY 30-minute prices.