schroederjoa

PreMarketStats

schroederjoa Updated   
The idea is to catch pre market information (or other relevant data), that basically consists of a single number, in a table instead of using a plot that takes up space in the chart. In this example, I added pre market volume and pre market change in %. Where the second one is as well available in the details tab of the stock, it is not available if this tab is closed or during replays.
Release Notes:
Added extended highs, lows and change since those levels as per user request. All items are now optional to meet specific needs. Please note that volume is pre market only, were high/low levels are based on the full extended session, including yesterday's after market and today's pre market data.
Release Notes:
Following modifications / updates:
- Removed fix cell width so that table width now adjusts automatically to text it contains
- Updated from PineScript v4 to v5
- Removed roundn() function with builtin math.round()
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 a publication is governed by House Rules. You can favorite it to use it on a chart.

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.

Want to use this script on a chart?