It gaves you a clear look into how many errors the data has for a current market.
Basically it checks if close =open and by how much margin that is correct
This simple script checks for data gaps in an intra-day TradingView chart. I have found that BitMEX 1-minute data is coming in rather holey lately, so I wrote this just to see how prevalent the problem is. It should work on any intra-day timeframe, not just 1-minute.
V1: initial release.