Data Gap Pointer

Updating the v3 script made by u/Lemrin + some mods

What this does:
  • Paints a blue "down arrow" pointer at an intraday bar that has occurred with a skip (e.g. a 1min bar that occurs a few minutes after the previous bar)
  • Checks for whether the market is open, and only paints arrows if inside open hours (because Extended Hours have lots of bar gaps)
Release Notes: Added descriptive elements to the chart
Release Notes: Minor Update:
  • Change the shape from down arrow to down triangle for better visibility when painting thinner candles
  • Cleaned up the sample chart for library clarity purposes
Release Notes: Added a NaN fixer and reduced the arrow size
Release Notes: Updated chart
Release Notes: re-added triangle editable size

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.


The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?