Follow this decision tree before changing the script
Save the symbol, exchange, interval, chart type, session, timezone and two timestamps bordering the suspected gap. Change one setting at a time. A discontinuity between one candle close and the next open is a price gap; it does not by itself mean a time interval is missing.
| Observation | Check | Next branch |
|---|---|---|
| No price candles are visible | Show the main series at the top left. In chart settings, enable Body, Borders and Wick with contrasting colors, then enable autoscale. | If prices reappear, this was a display problem. If not, open the same symbol in a fresh chart. |
| Only an indicator or custom candle layer disappears | Hide that indicator and inspect the main series and Data Window at the same timestamp. | If the main prices remain, inspect script inputs, visibility, conditions and na values. |
| The time labels jump between existing candles | Use standard time-based candles. Match the exchange calendar, session and timezone. | If the interval was outside the selected session, no candle was expected in that dataset. |
| The interval was inside an open session | Check whether that exact venue and instrument traded. Compare a matching provider record where available. | No trades can explain an absent bar. Confirmed activity with absent bars warrants a data report. |
| The same unexplained hole survives a fresh chart | Retain screenshots, exact timestamps, symbol, interval and session for TradingView support. | Treat the cause as unresolved until the provider or support confirms it; changing colors will not repair history. |