The introduction of tick charts on TradingView has led many traders to ask if switching to this chart format will prevent repainting in strategies. Repainting is a common issue where signals or indicators change based on new data, making it difficult to backtest strategies accurately. This guide explains whether tick charts can solve the repainting problem.
The key thing to understand is that repainting occurs due to how the strategy or indicator is programmed, not because of the type of data being used. Whether you’re using tick data or time-based data, the repainting happens because of how the strategy refreshes or recalculates based on the incoming data.
As noted in TradersPost’s office hours, “The repainting occurs based on the rules of the strategy… changing the format of the chart is not going to change how repainting works” . This means that even with tick charts, repainting will still occur if your strategy recalculates or updates historical data.
A tick chart differs from a time-based chart in that it plots candles based on a specific number of trades (ticks), rather than a fixed period of time. This provides a more granular view of price movements within each candle, especially for short-term strategies.
For example, if you’re using a one-tick chart, each candle is generated after a single trade, giving you a much more detailed look at price movement. Traders who prefer more accurate entries or want to follow every movement of the market closely may find tick charts helpful for better visualizing intra-candle data. However, this doesn’t fundamentally alter how repainting issues manifest.
While tick charts may not solve repainting, they can improve backtesting accuracy. One challenge in backtesting is that traditional time-based candles are just snapshots of price movements, and a single candle might hide multiple price fluctuations. Tick charts provide a more detailed picture of what actually happened during the formation of a candle, especially when combined with higher timeframe data.
A TradersPost community member suggested testing tick charts for backtesting improvements: “I want the backtest to more accurately reflect what actually happened at the time… The limitation is that if I’m on the one tick chart, there’s a limit to how far I can go back” .
Although this approach can help capture more accurate market behavior, it still doesn’t prevent repainting from occurring in strategies.
The best way to identify whether an indicator or strategy is repainting is to use TradingView’s bar replay tool. This allows you to replay historical price action and watch for signals that appear and then disappear as the chart updates. If this happens, your indicator is repainting, regardless of whether you’re using a tick chart or a time-based chart.
A clear sign of repainting occurs when a signal is triggered during the replay, but it disappears after new data comes in. As TradersPost’s office hours explained: “If the indicator fires at one point in the replay process but then the signal disappears, that’s how you know it’s repainting” .
In summary, switching to a tick chart will not prevent repainting in your TradingView strategies. Repainting is tied to the logic of your indicator or strategy, not the type of chart data used. However, tick charts can provide more detailed data, which can improve the accuracy of your backtests by giving you a clearer picture of market movements within each candle.
DISCLAIMER:
Trading in the financial markets involves a significant risk of loss. The content and strategies shared by TradersPost are provided for informational or educational purposes only and do not constitute trading or investment recommendations or advice. The views and opinions expressed in the materials are those of the authors and do not necessarily reflect the official policy or position of TradersPost.
Please be aware that the authors and contributors associated with our content may hold positions or trade in the financial assets, securities, or instruments mentioned herein. Such holdings could present a conflict of interest or influence the perspective provided in the content. Readers should consider their financial situation, objectives, and risk tolerance before making any trading or investment decisions based on the information shared. It is recommended to seek advice from a qualified financial advisor if unsure about any investments or trading strategies.
Remember, past performance is not indicative of future results. All trading and investment activities involve high risks and can result in the loss of your entire capital. TradersPost is not liable for any losses or damages arising from the use of this information. All users should conduct their own research and due diligence before making financial decisions.