アップデート済

Valuation Multi-Asset [Open]

589
Description
The Valuation Multi-Asset [Open] is a highly specialized Intermarket Analysis tool designed to determine the relative valuation of your chart's asset by comparing its performance against up to 6 global benchmarks simultaneously.

By releasing this V1.4 edition as an Open-Source tool, traders and Pine Script developers can study advanced concepts such as dynamic multi-timeframe (request.security) arrays, matrix-style data normalization, and complex real-time table drawing.

Underlying Concepts & Methodology
The script operates on the principle of asset correlation and historical mean reversion.

Ratio Calculation: It computes the pure price ratio between the Chart Asset and the selected Benchmark Assets (e.g., DXY, Gold, Bonds).

Smoothing & Normalization: It applies an Exponential Moving Average (EMA) to filter noise, and then normalizes the result over a long-term historical lookback period (default is 156 weeks/3 years).

Scoring (0-100): The normalized data is ranked into a Valuation Index.

< 15 (Green): Historically Undervalued (Cheap) relative to the benchmark.

> 85 (Red): Historically Overvalued (Expensive) relative to the benchmark.

Key Features

Expanded Capacity: Monitor up to 6 simultaneous assets on a single chart to build a complete macro correlation matrix.

MTF Dashboard: A built-in HUD summarizes the Valuation bias (Cheap/Neutral/Expensive) across Daily, Weekly, and Monthly timeframes.

ETF Reference Table: Includes a handy on-chart cheat sheet of major ETFs to use as benchmarks.

How to Use

Contextual Bias: Use the MTF dashboard to get a quick read. If 5 out of 6 comparisons say your asset is "Cheap" on the Weekly timeframe, the probability of a macro mean-reversion (Long trade) increases drastically.

[English Translation of User Interface]

To comply with House Rules regarding non-English UI, here is the translation of the script's settings menu:

1. Seleção de Ativos (Asset Selection)

Usar Timeframe Personalizado = Use Custom Timeframe

Mostrar Ativo (1-6) = Show Asset (Slots 1 to 6)

Símbolo = Symbol (Ticker)

2. Tabela de Referência de ETFs (ETF Reference Table)

Mostrar Tabela Ref. = Show Reference Table

Posição / Categoria = Table Position / Filter Category

3. Parâmetros do Índice (Index Parameters)

Comprimento EMA = Smoothing EMA Length

Comprimento R do VIndex = Valuation Index Lookback Period

4. Níveis de Valuation (Valuation Levels)

Sobrevaloração / Subvaloração = Overvaluation / Undervaluation (Thresholds)

Nível Neutro = Neutral Level

5. Configurações de Tabela (Table Settings)

Tamanho do Texto = Text Size

Tema = Theme (Dark/Light)

Usar Cores Personalizadas = Use Custom Colors

6. Análise Multi-Timeframe (MTF Analysis)

Mostrar D / W / M = Show Daily / Weekly / Monthly Columns

[Português]

Descrição
O Valuation Multi-Asset agora é Open-Source! Esta ferramenta de Análise Intermercado calcula a correlação relativa do seu ativo contra até 6 benchmarks globais (como Dólar, Ouro, SP500).

Ele normaliza os dados históricos e cria um placar de 0 a 100 para te dizer estatisticamente se o seu ativo está "Caro" ou "Barato" em relação ao resto do mundo.

Funcionalidades

6 Slots de Ativos: Monitore uma cesta completa de correlações.

Painel MTF: Resumo de valuation para os tempos Diário, Semanal e Mensal em uma única tabela.

Código Aberto: Estude a manipulação avançada de tabelas e request.security.
リリースノート
Valuation Multi-Asset [Open] — Relative Valuation Oscillator (Larry Williams WVI)

What it does Valuation Multi-Asset measures whether the symbol on your chart is statistically cheap or expensive relative to up to 8 other assets at once, split into two groups: a Macro group (Gold, Dollar Index, Interest Rates, and a Risk gauge that auto-detects High-Yield Bonds or Tether Dominance depending on whether you're on a stock or a crypto chart) and a Tactical group (Sector ETF, Direct Rival, Inverse-correlated Antagonist, and a free "Proxy" slot for any hidden driver you want to track — a commodity, a spread, anything). Each slot plots its own 0-100 oscillator line, with color-coded cheap/expensive zones and an optional multi-timeframe dashboard.

How it works Each slot computes the classic Williams Valuation Index: the ratio of your main symbol's price to the reference asset's price, smoothed by a fast and a slow EMA, then normalized onto a 0-100 scale over a lookback window (default 156 bars — roughly 3 years on Weekly). Two normalization methods are available, selectable from the settings panel: the original Min/Max method (the classic Larry Williams approach — fits the value between the highest and lowest point of the lookback window) and an experimental Percentile Rank method (ta.percentrank, native to Pine) that ranks the current value against its own history instead of measuring distance to an extreme — more resistant to a single outlier bar (a crash or a news spike) permanently skewing the 0-100 scale.

How to use it Turn on the slots you want to compare against (up to 8 at once), pick Min/Max or Percentile Rank for the normalization, and read the dashboard table: green (near 0) means your asset is cheap relative to that reference, red (near 100) means expensive. An optional momentum arrow next to each value shows whether the reading is improving or deteriorating bar-to-bar. Turn on the Multi-Timeframe columns to see the same read on Daily/Weekly/Monthly simultaneously (the golden rule: never buy on a lower timeframe if a higher timeframe column is still flashing "expensive"). A separate floating reference table (6 selectable categories: Brazil/B3, Global Commodities, S&P 500 Sectors, Macro/Countries, Smart-Beta Factors, Crypto & DeFi) gives quick-lookup tickers for whatever market you're currently trading.

Why it's original This isn't a single-pair valuation ratio — it's a full 8-slot relative-valuation framework with an auto-detecting Risk slot (switches between High-Yield Bonds and Tether Dominance based on the instrument type on your chart, no manual input needed), a selectable normalization engine (classic Min/Max alongside a Percentile Rank alternative, switchable live for side-by-side comparison), full multi-timeframe confirmation built into the same dashboard, and a 6-category quick-reference guide covering Brazilian, US, commodity, macro, factor and crypto tickers so you're never stuck guessing which symbol to type into a slot.

Key concepts Williams Valuation Index (Larry Williams) · relative strength / intermarket analysis · percentile rank normalization · multi-timeframe (MTF) confirmation.

Limitations This is a relative-valuation reference, not a standalone signal generator — a reading in the "cheap" zone against one reference asset does not override your own trade thesis or risk management. Multi-timeframe columns depend on TradingView's own historical-bar availability for each symbol pair, so very new or illiquid symbols may show incomplete higher-timeframe data. The Risk slot's auto-detection is based on the instrument type of the chart's own symbol, not of the comparison assets.

Release notes — "What's new in this version"
Major update. The tool now supports 8 comparison slots (previously 6), organized into two groups: Macro (Gold, Dollar, Interest Rates, and an auto-detecting Risk slot) and Tactical (Sector, Rival, Antagonist, Proxy).
New: the Risk slot now auto-detects High-Yield Bonds (HYG) or Tether Dominance (USDT.D) depending on whether your chart symbol is a stock/index or a crypto pair — no manual ticker entry needed (manual override still available).
New: a selectable Normalization Mode — choose between the original Min/Max calculation and an experimental Percentile Rank method, switchable live for side-by-side comparison. Default behavior is 100% unchanged (Min/Max stays the default).
New: a direct link to an external AI assistant (Gemini) trained specifically to read this indicator's dashboard and suggest which tickers to plug into each slot for a given symbol.
Significantly expanded the ticker name lookup (used by the "Asset Name" column) — now covers precious metals, bonds by maturity, all 11 US sector ETFs, energy, grains, softs, livestock and crypto (up from a handful of tickers).
Expanded the floating reference guide (6 categories: Brazil/B3, Global Commodities, S&P 500 Sectors, Macro/Countries, Smart-Beta Factors, Crypto & DeFi) with more tickers per category.
Rebuilt the dashboard table visuals for better readability and consistent color handling across both the main table and the reference guide.
Multi-Timeframe columns are now off by default on a fresh install (previously on) — turn them on in the Multi-Timeframe group if you want the D/W/M columns from the start.
リリースノート
Valuation Multi-Asset [Open] — Relative Valuation Oscillator (Larry Williams WVI)

What it does Valuation Multi-Asset measures whether the symbol on your chart is statistically cheap or expensive relative to up to 8 other assets at once, split into two groups: a Macro group (Gold, Dollar Index, Interest Rates, and a Risk gauge that auto-detects High-Yield Bonds or Tether Dominance depending on whether you're on a stock or a crypto chart) and a Tactical group (Sector ETF, Direct Rival, Inverse-correlated Antagonist, and a free "Proxy" slot for any hidden driver you want to track — a commodity, a spread, anything). Each slot plots its own 0-100 oscillator line, with color-coded cheap/expensive zones and an optional multi-timeframe dashboard.

How it works Each slot computes the classic Williams Valuation Index: the ratio of your main symbol's price to the reference asset's price, smoothed by a fast and a slow EMA, then normalized onto a 0-100 scale over a lookback window (default 156 bars — roughly 3 years on Weekly). Two normalization methods are available, selectable from the settings panel: the original Min/Max method (the classic Larry Williams approach — fits the value between the highest and lowest point of the lookback window) and an experimental Percentile Rank method (ta.percentrank, native to Pine) that ranks the current value against its own history instead of measuring distance to an extreme — more resistant to a single outlier bar (a crash or a news spike) permanently skewing the 0-100 scale. The three Macro slots (Gold, Dollar, Rates) also carry a built-in redundancy guard: if the chart you're currently viewing already IS gold, the dollar index, or a rate-family bond future, comparing it against itself is mathematically meaningless, so that specific slot automatically shows "DISABLED" instead of a number — detected by instrument type (futures root, base currency), not by a fixed ticker list, so it works across brokers/data feeds without extra setup.

How to use it Turn on the slots you want to compare against (up to 8 at once), pick Min/Max or Percentile Rank for the normalization, and read the dashboard table: green (near 0) means your asset is cheap relative to that reference, red (near 100) means expensive. An optional momentum arrow next to each value shows whether the reading is improving or deteriorating bar-to-bar. Turn on the Multi-Timeframe columns to see the same read on Daily/Weekly/Monthly simultaneously (the golden rule: never buy on a lower timeframe if a higher timeframe column is still flashing "expensive"). A separate floating reference table (6 selectable categories: Brazil/B3, Global Commodities, S&P 500 Sectors, Macro/Countries, Smart-Beta Factors, Crypto & DeFi) gives quick-lookup tickers for whatever market you're currently trading.

Why it's original This isn't a single-pair valuation ratio — it's a full 8-slot relative-valuation framework with an auto-detecting Risk slot (switches between High-Yield Bonds and Tether Dominance based on the instrument type on your chart, no manual input needed), a selectable normalization engine (classic Min/Max alongside a Percentile Rank alternative, switchable live for side-by-side comparison), a self-aware redundancy guard on the three Macro slots that recognizes when the chart's own symbol would make a comparison meaningless and disables just that slot automatically, full multi-timeframe confirmation built into the same dashboard, and a 6-category quick-reference guide covering Brazilian, US, commodity, macro, factor and crypto tickers so you're never stuck guessing which symbol to type into a slot.

Key concepts Williams Valuation Index (Larry Williams) · relative strength / intermarket analysis · percentile rank normalization · multi-timeframe (MTF) confirmation · instrument-type-based redundancy detection.

Limitations This is a relative-valuation reference, not a standalone signal generator — a reading in the "cheap" zone against one reference asset does not override your own trade thesis or risk management. Multi-timeframe columns depend on TradingView's own historical-bar availability for each symbol pair, so very new or illiquid symbols may show incomplete higher-timeframe data. The Risk slot's auto-detection is based on the instrument type of the chart's own symbol, not of the comparison assets. The Macro redundancy guard is based on futures root and base-currency type, so a handful of data feeds that classify gold or the dollar as a plain index symbol (without a futures root or base currency) may not be caught by the auto-guard — the Min/Max toggle for that guard can be turned off if a slot is ever disabled by mistake on such a feed.

Release notes — "What's new in this version"
Major update. The tool now supports 8 comparison slots (previously 6), organized into two groups: Macro (Gold, Dollar, Interest Rates, and an auto-detecting Risk slot) and Tactical (Sector, Rival, Antagonist, Proxy).
New: the Risk slot now auto-detects High-Yield Bonds (HYG) or Tether Dominance (USDT.D) depending on whether your chart symbol is a stock/index or a crypto pair — no manual ticker entry needed (manual override still available).
New: the three Macro slots (Gold, Dollar, Rates) now have an automatic redundancy guard (on by default) — if the chart you're currently viewing already is gold, the dollar index, or a rate-family bond future, that specific slot shows "DISABLED" instead of a meaningless self-comparison, and is excluded from the dashboard's cheap/expensive summary count. Detection is based on instrument type (futures root, base currency), so it works across different brokers and data feeds without any ticker list to maintain. Can be switched off to restore the previous always-calculate behavior.
New: a selectable Normalization Mode — choose between the original Min/Max calculation and an experimental Percentile Rank method, switchable live for side-by-side comparison. Default behavior is 100% unchanged (Min/Max stays the default).
New: a direct link to an external AI assistant (Gemini) trained specifically to read this indicator's dashboard and suggest which tickers to plug into each slot for a given symbol.
Significantly expanded the ticker name lookup (used by the "Asset Name" column) — now covers precious metals, bonds by maturity, all 11 US sector ETFs, energy, grains, softs, livestock and crypto (up from a handful of tickers).
Expanded the floating reference guide (6 categories: Brazil/B3, Global Commodities, S&P 500 Sectors, Macro/Countries, Smart-Beta Factors, Crypto & DeFi) with more tickers per category.
Rebuilt the dashboard table visuals for better readability and consistent color handling across both the main table and the reference guide.
Multi-Timeframe columns are now off by default on a fresh install (previously on) — turn them on in the Multi-Timeframe group if you want the D/W/M columns from the start.

免責事項

これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。