PROTECTED SOURCE SCRIPT

Leaders Dashboard

344
A compact, glanceable leadership dashboard for monitoring market health via your hand-picked “Top 8” stocks. It tracks trend posture and momentum using practical checks (21-EMA, 50-DMA, rising 21, and proximity to highs), plus optional QQQ/SPY benchmark rows, all in a clean, color-forward table that sits on your chart.

What it shows

  • Sym – your 8 symbols (short format).
  • >21 – price above the 21-EMA.
  • >50 – price above the 50-DMA.
  • ↑21 – 21-EMA sloping up.
  • ΔX% – within X% of high (default logic: ATH; switchable to N-bar High).
  • Price – last price (toggleable).
  • Σ Totals row (optional) – counts “passes” across your 8 names for each column, with Neutral or Majority shading.


Benchmarks (QQQ/SPY) are optional rows for context and do not contribute to totals.

Built for signal at a glance

  • Color-first cells with minimal ink: defaults to labels OFF and ✓ / ✗ markers ON.
  • Δ% header is compact (e.g., Δ2%) to save space.
  • Position & size: snap to any chart corner; Tiny/Small/Medium/Large font presets.
  • Per-column toggles: show/hide any column to match your workflow.


Controls (key inputs)

  • Symbols: 8 user slots (use exchange prefixes, e.g., NASDAQ:PLTR).
  • Benchmark rows: None / QQQ / SPY / Both (not counted in Σ).
  • Table position & size: four corners; Tiny → Large font presets.

  • Opacity mode:
  • Per-color (default) – honors each color picker’s opacity (PF/W defaults set to 50%).
  • Global – one slider controls transparency across the whole table.

  • YES/NO labels: off by default.
  • Cell marker: None / Dot / Check/X (default).
  • Show Price: on by default.
  • Show totals row (Σ): on by default; Totals color mode = Neutral or Majority.
  • Δ% logic: choose ATH or N-bar High and set the % threshold and lookback.


How to use it

  1. Drop it on any timeframe; the stats are computed on your current chart timeframe for each symbol.
  2. Enter your 8 leaders (e.g., AVGO, GEV, HOOD, MSFT, NVDA, PLTR, RBLX, TSM) and optionally add QQQ/SPY.
  3. Keep labels off with Check/X markers for a clean, color-driven read.
  4. Watch the Σ row:
    - 6/8 passing on >21, >50, and ↑21 suggests healthy leadership breadth.
    - A high Δ% count means many leaders are pressing highs.


Notes & tips

  • If a symbol shows as invalid, confirm the exchange prefix (e.g., NASDAQ:, NYSE:, AMEX:).
  • ATH proximity uses up to 10,000 bars; switch to N-bar High if you prefer a rolling window.
  • The table is an overlay; use opacity/size to keep it unobtrusive over price.


Disclaimer: For educational/information purposes only. This script does not provide financial advice, nor does it place or manage orders. Always do your own research.

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.