OPEN-SOURCE SCRIPT

Macro Thesis Fleet: Direction & Cause Overlay

400
Macro Thesis Fleet Overlay

A read-only macro context panel for your chart. Instead of a single trend arrow, it shows how a fleet of independent macro theses currently lean on a mapped symbol — plus the top causal claim behind that lean.

What it shows (top-right table)

Asset name — human label for the matched symbol
Direction — LONG, SHORT, or MIXED from fleet vote aggregation
Room % — estimated unpriced move remaining (Tight / Moderate / Significant band)
Strength label — e.g. Clear signal, Mixed fleet, Flagged (when thesis quality gates fail)
Fleet lean — count of theses leaning up / down / neutral (when available)
Cause one-liner — the dominant D1-level macro claim driving the read (not a price summary)
How direction is computed

Each mapped symbol carries a pre-computed direction code from upstream thesis aggregation:

LONG — net tradable lean is bullish after quality filters
SHORT — net tradable lean is bearish after quality filters
MIXED — material disagreement across the thesis fleet (no forced one-sided arrow)
This is macro context, not an intraday entry signal. Use it as a filter before your own timeframe and risk rules.

How symbol matching works

On the last bar, the script builds candidate keys from syminfo.tickerid, exchange:ticker, and bare ticker, then looks up the first match in parallel embedded arrays (MACRO_TV_KEYS, MACRO_SYMBOLS). If no match, the panel states that the chart symbol is not in the current feed.

Data cadence (important)

Values are embedded at publish time as Pine string/int/float arrays — Pine cannot call external APIs on Community scripts. Republish this script when you need a refreshed snapshot. The embedded Generated: comment in source shows the bake timestamp.

Mapped symbols in this release (31)

BTC · XAUUSD · XAGUSD · NVDA · MSFT · META · GOOGL · AMZN · SPY · QQQ · IWM · GLD · GC · XLE · GDX · TLT · EURUSD · USDJPY · EURJPY · PA · KIE · FXY · AEM · RGLD · URA · UST · NUGT · VALE · TECK · XLRE · VNQ

Matching examples: BINANCE:BTCUSDT, OANDA:XAUUSD, NASDAQ:NVDA, AMEX:SPY.

How to use

Add to a chart for one of the mapped symbols above.
Read direction + room + cause in the panel.
If direction is MIXED or strength is Flagged, treat the read as low conviction until you verify contributing theses yourself.
Republish when the embedded snapshot is stale for your workflow.
Not financial advice. Macro snapshot only — not a trading system.

免責聲明

這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。