OPEN-SOURCE SCRIPT

bar_index inspector

Updated
This is a tool for developers who are working with index based plots and find themselves adding the bar_index to their indicators on a regular basis during development and debugging.

What it does:
  • shows the bar_index in the status line and data window.
  • plots optional labels (bar index + time) into the chart every 10 bars
Release Notes
added barstate indicators
Release Notes
added islast to data window
debugdevelopmentPine utilitiestools

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 publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer