OPEN-SOURCE SCRIPT
已更新 Macro Dashboard( DXY / 10Y / USDJPY Bias)

This indicator builds a compact macro dashboard in the top‑right corner of the chart, showing three key instruments:
DXY (US Dollar Index)
US10Y (10‑year US Treasury yield)
USDJPY
For each symbol, the script displays:
Current value
A directional hint icon: ▲ (bullish), ▼ (bearish), ○ (neutral)
The logic is simple and transparent:
DXY and US10Y use both lower and upper thresholds (bullish below the “bull” level, bearish above the “bear” level, neutral in between).
USDJPY uses a single lower threshold (bullish below the level, neutral otherwise).
On top of the individual hints, the script calculates a Macro Bias line:
If 2 or more instruments are bullish (▲), bias = “Macro Bias: LONG only”
If 2 or more instruments are bearish (▼), bias = “Macro Bias: SHORT only”
Otherwise, bias = “Macro Bias: NEUTRAL”
All symbols and threshold levels are fully customizable in the input settings, so you can adapt it to your broker symbols and your own macro framework.
How to use
Use this dashboard as a higher‑timeframe macro filter, not as a stand‑alone entry signal.
Combine it with your existing technical strategy (price action, order blocks, FVG, liquidity sweeps, etc.) to decide whether to favor long setups, short setups, or stay neutral.
Example: only take long setups when the Macro Bias is “LONG only”, reduce size or skip trades when the bias is against your direction.
版本注释
Short descriptionMulti-asset macro dashboard showing Dollar Index, US 10Y yield, USD/JPY and global risk sentiment (VIX, High Yield OAS, Put/Call Ratio) to define clear long/short bias for equities and FX.
Full description
This script builds a compact macro dashboard in the top-right corner of your chart. It tracks three key macro drivers – DXY (Dollar Index), US 10Y yield and USD/JPY – and combines them with a three‑factor global sentiment block based on VIX, High Yield credit spread (OAS) and the CBOE Put/Call Ratio.
Each line shows the current value plus a simple bull / bear / neutral hint using configurable thresholds. The “Macro Bias” line summarizes how many signals are risk‑on vs risk‑off, making it easier to decide whether to focus on long‑only setups, short‑only setups, or stay neutral.
Use this dashboard as a top‑down filter: align your intraday or swing trades with the prevailing macro regime instead of trading in the dark. All symbols and thresholds are fully customizable so you can adapt it to your own macro process or data feed.
版本注释
Short descriptionCompact macro dashboard that shows DXY, US 10Y yield, USD/JPY and VIX-based risk sentiment in the top-right corner of your chart to define a clear long/short macro bias.
Full description
This script builds a compact macro dashboard in the top-right corner of your chart. It tracks three key macro drivers – DXY (Dollar Index), US 10Y yield and USD/JPY – and combines them with a simple VIX-based sentiment read (FEAR / NEUTRAL / GREED).
Each line displays the current value plus a bull / bear / neutral hint using user-defined thresholds. The Macro Bias line at the bottom summarizes how many of the three macro drivers are risk-on vs risk-off, helping you quickly decide whether to focus on long-only setups, short-only setups, or stay neutral.
Use this dashboard as a top-down filter: check the macro regime at a glance before executing your intraday or swing trades. All symbols and thresholds are fully configurable so you can adapt the tool to your own macro process or broker data.
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。