Repainting indicator " The repainting indicator is one that goes on changing in its value as an indicator repositioning its line at the point where the current price bar is forming. Such indicators take the help of future data to bring forth the values and signals for entry. In this way, repainting indicators ensure their exit and entry signals in the past look highly accurate and has zero error. The repainting indicator looks accurate on the chart, but in real trading, they are not. Naturally, all Tradingview Programmers writing in pine-script will encounter questions regarding the validity of a given script and how it handles repainting. For those who may be unfamiliar, here is the direct definition of repainting from the Tradingview Pine-Script Manual Historical data does not include records of intra-bar movements of price; only open, high, low, and close (OHLC). This leads to a script sometimes working differently on historical data and in real-time, where only the open price is known and where the price will typically move many times before the real-time bar's final high, low, and close values are set after the real-time bar closes. Strategies using calc_on_every_tick=true. can trigger a repaint warning. Even strategy with parameter calc_on_every_tick = false may also be prone to repainting but to a lesser degree. Using security for requesting data from a resolution higher than the resolution of the chart's main symbol can also trigger repainting.