OPEN-SOURCE SCRIPT
Updated

Price Data Label

8 622
This indicator gives you the ability to see historical data for each bar on the chart by simply hovering over the high of the bar, similar to the functionality of MarketSmith.

Data for each bar includes:
  • Open
  • High
  • Low
  • Close + Change
  • Percentage Change
  • Closing Range
  • Volume
  • Volume Percent based on 50 day average
  • Distance to 4 selectable moving averages


Example of stats on a historical bar:
snapshot

* Note this only works on the last 500 historical bars. If you use bar replay it will work with 500 historical bars from the last bar.
* If you have multiple indicators on your chart, in order to see the data you will need to use visual order to bring to front. This can be done by clicking the three dots next to the indicator name and selecting visual order.


snapshot
Release Notes
Turned off the label always showing that was needed for picture.
Release Notes
Added moving average values to the label
Release Notes
Update to show index volume for the Nasdaq and SPX as well as calculate the index volume percent change vs 50 day average volume.
Release Notes
Update now allows for selectable weekly moving averages. The label will automatically adjust to the user selected weekly moving averages when looking at a weekly chart.
Release Notes
Volume % calculation is now based on the run rate to show the projected volume finish compared to the average volume.
Release Notes
Added a new required parameter to the time format function in the code.
Release Notes
option to view % as ATR

Disclaimer

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.