OPEN-SOURCE SCRIPT
ที่อัปเดต:

CBC Table [MMT]

3 257
CBC Table [MMT] is a multi-asset Candle-by-Candle status table that lets you monitor confirmed CBC direction across up to three configurable symbols from one chart. It is designed to show the latest confirmed CBC state from a selected timeframe, while only displaying the table when the current chart matches one of the configured symbols.

This makes it useful for traders who want to track correlated or inverse markets such as ES/NQ/VIX, GC/DXY, or any custom asset set without hardcoding the script to one specific pair.

How it works

For each enabled symbol, the script requests data from the selected CBC timeframe and tracks whether that market is currently in a CBC bullish or bearish state based on confirmed candle closes. The status shown in the table is the latest confirmed state, so it does not flip back and forth intrabar while the higher-timeframe candle is still forming.

The script also checks whether the current chart symbol matches one of the enabled symbols. If it does, the table is shown with the CBC status for all enabled assets; if it does not, the script displays a non-matching message instead of showing unrelated pair data.

Features

  • Monitor up to 3 custom symbols
  • User-selectable CBC timeframe
  • Symbol-based chart matching
  • Confirmed-state CBC logic
  • Optional inverse color handling for assets like VIX or DXY
  • Dynamic table sizing based on enabled assets
  • Automatic symbol label extraction from the selected ticker
  • Optional candle markers for CBC flips


How to use

  1. Choose the timeframe you want CBC to be calculated from.
  2. Select up to three symbols in the settings.
  3. Enable or disable any asset slot as needed.
  4. Use invert colors for symbols that are interpreted inversely relative to your main market.
  5. Apply the script to one of the selected chart symbols to see the table and any flip markers.


Example use cases

  • ES / NQ / VIX
  • GC / DXY
  • CL / XLE
  • Any custom intermarket or confirmation set you want to monitor from one chart


Notes

  • CBC state updates only on confirmed candles from the selected timeframe.
  • Flip markers are plotted only for the currently matched chart symbol so markers stay aligned with the candles on the chart.
Release Note
Bug Fix:
Remove the constraint of requiring current chart needs to be one of the tickers in the settings to show

คำจำกัดสิทธิ์ความรับผิดชอบ

ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน