OPEN-SOURCE SCRIPT

4C Data Table Suite

Updated
Overview
The 4C Data Table Suite is a versatile TradingView indicator, designed for traders who focus on the critical role of prior bar levels in their strategy. By highlighting the high and low points of previous bars, this tool aids in pinpointing crucial support and resistance zones, which often act as psychological triggers for market participants. The unique feature of this indicator is its dual-color coding: it colors bars green for bullish closes and red for bearish closes in the Prior Bar Table, and for the current timeframe, it highlights whether the current price is above (green) or below (red) these levels.

Concepts
1 — This sophisticated indicator is not just about visual cues; it provides a rich tableau of data including:
  • Current timeframe countdown to bar close
  • GMT-adjusted clock for precise trade timing
  • Real-time updates on market internals and volatility measures such as the NYSE TICK and ATR

2 — The configuration is highly customizable, allowing users to:
  • Adjust the table's positioning and text size
  • Choose color settings for text, background, and borders to suit their visual preference
  • Toggle the display of various data components based on their trading needs

3 — The Prior Bar Table is particularly valuable for:
  • Traders using prior bar levels as triggers for trade entries and exits
  • Quick visual assessment of market sentiment
  • Real-time decision-making supported by dynamic color coding based on current price movements relative to prior highs and lows

Features
• Prior Bar Levels Table: Visualizes high and low levels of prior bars with intuitive color coding, aiding traders in assessing market trends.
• Dynamic Color Coding: Updates colors based on the closure of the previous bar and current price positions relative to the past bar's highs and lows.
• Comprehensive Market Data: Includes a suite of essential data such as market internals, the prior bar’s range, and the latest price information.
• Customizable Visuals: Offers extensive options for customizing the appearance and data presented, ensuring the tool fits seamlessly into any trader's strategy.

How to Use
1. To add the indicator, search for "4C Data Table Suite" under indicators on TradingView and apply it to your chart.
2. Navigate to the indicator settings to customize the display properties, including table position, color schemes, and which data points to display.
3. Utilize the toggles within the "Prior Bar Levels Table" settings to adjust the visibility and behavior of the table, depending on your trading approach.

Limitations
• This indicator is optimized for use on time-based charts and may not perform as intended on tick charts or non-standard timeframes.
• The color coding is based on the closure of bars, which may not always reflect intrabar movements, potentially affecting real-time decision-making in highly volatile markets.

Notes
• Ensure your TradingView interface is set to the correct timezone settings to align the GMT clock accurately.
• The dynamic color updates are designed to provide at-a-glance insights but should be used in conjunction with other analysis tools for best results.
*If you find that the indicator is blocking some of the candles at the bottom of the screen, go to (Chart) Settings, Canvas, and then adjust the Bottom/Top margin by increasing the % Amount.

Thanks
Special thanks to the TradingView community and developers whose feedback and insights have helped refine the functionalities of the 4C Data Table Suite. Your collaborative spirit is what makes continuous improvement possible.
Release Notes
Update Description
Custom Hourly Session Handling in TradingView

This update addresses a key issue with how TradingView handles hourly candles, particularly for users operating on EST. Unlike some other charting platforms, TradingView's hourly candles begin at 9:30 AM EST and close at 10:30 AM, rather than closing at the top of each hour as is standard (e.g., 10:00 AM, 11:00 AM, etc.). This discrepancy can create a significant disadvantage for traders who rely on hourly candles to align with broader market analysis.

To resolve this, we’ve implemented custom session handling within the indicator, along with a toggle option to easily switch between TradingView’s regular hourly bars and the adjusted sessions. This allows users to accurately calculate and plot hourly highs and lows as if the candles were closing at the top of each hour, starting at 10:00 AM. The 09:30 to 10:00 AM period is treated as a single 30-minute session, but it is considered as a "full hour" in terms of high and low calculation. Each subsequent session follows the standard hourly intervals (10:00 AM, 11:00 AM, etc.).

With this toggle option, users have the flexibility to choose between TradingView's default hourly bars and the custom sessions, ensuring that they can view hourly charts in a way that is consistent with other major platforms, without compromising the accuracy of moving averages or other time-sensitive indicators.
breadthBreadth IndicatorscandleCandlestick analysisclockcountdowninternalsPivot points and levelsprevioushighlowpriorhighpriorlowtable

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