OPEN-SOURCE SCRIPT

Gap % Distribution Table (2% Bins)

346
Description

This indicator displays a Gap % Distribution Table categorized in 2% bins ranging from `< -20%` to `> +20%`. It calculates the gap between today’s open and the previous day’s close, and groups occurrences into defined bins. The table includes:

  • Gap range, count, and percentage for each bin
  • A total row summarizing all entries
  • Customizable appearance including:


  1. Font color, cell background fill (with transparency), and table border color
  2. Column headers and full outer border
  3. Date filtering using selectable start and end dates
  4. Position control for placing the table on the chart area


Ideal for analyzing the historical behavior of opening gaps for any instrument.

Aviso legal

As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.