Gap Detector is an indicator showing price gaps that have never been completely filled (Gap).
Each Gap is indicated by two lines (the lower and upper limit of the gap) and a label indicating whether it is a Gap Bear or Bull and giving information on the Gap price difference.
It works on any indicator.
you can adjust the number of Pips from which you consider it to be a Gap as you wish directly in the options.

Parameters:

  • length: the number of candles being considered in the indicator (max is 3000, by default: 1500).
  • width: the width of the gap lines(by default: 2)
  • pips: adjustment of the number of pips to consider that it is a gap (by default:0.1)

TradingView Script URL

Gaps detector by pathouteone