INVITE-ONLY SCRIPT
Yen Carry Composite Index + Macro Flow Gauge

What This Indicator Does
This chart visualizes the strength, trend, and macro conditions supporting or weakening the yen carry trade a strategy where investors borrow in low yielding yen to invest in higher yielding assets
How It Works: Core Components
Composite Index (Blue Line):
A weighted blend of z-scores from:
USD/JPY (strength of USD vs JPY)
10Y yield spread (US – Japan)
AUD/JPY (risk proxy for carry appetite)
VIX (global risk sentiment, inverted)
Z-scores normalize each input to show how far it deviates from recent history (not raw values).
Positive composite trend ⬅️ strong carry environment
Negative composite trend ➡️ signs of unwind or stress
Individual Z-Score Lines:
🟥 USD/JPY
🟩 Yield Spread (US10Y − JP10Y)
🟪 FX Proxy (AUD/JPY)
🟦 VIX (risk sentiment)
Threshold Lines & Signal Markers:
Green 🟢⬅️🟢🟢 “carry active” threshold (+1.5 std dev)
Red dashed line 🔴➡️🔴🔴→ “carry unwind risk” (−1.5 std dev)
Carry Trade Strength Gauge (Horizontal Bar, Bottom-Right)https://www.tradingview.com/chart/YVbZwNez/
Slots:
🟢 = strong carry inflow conditions
⚪ = neutral midpoint
🔴 = outflow / unwind pressure
A directional arrow (⬅️ or ➡️) shows momentum:
➡️ = composite rising → improving carry environment
⬅️ = composite falling → deteriorating carry conditions
Arrow is placed at the current strength level, visually combining position + momentum
Labels “Inflows” and “Outflows” flank the bar for clarity
Use Case Summary
Macro risk overlay for JPY pairs, EM FX, bond carry strategies
Detect early unwind phases (e.g. if arrow ⬅️ appears in red zone)
Confirm entry/exit in directional JPY trades or expected liquidity to enter the markets

This chart visualizes the strength, trend, and macro conditions supporting or weakening the yen carry trade a strategy where investors borrow in low yielding yen to invest in higher yielding assets
How It Works: Core Components
Composite Index (Blue Line):
A weighted blend of z-scores from:
USD/JPY (strength of USD vs JPY)
10Y yield spread (US – Japan)
AUD/JPY (risk proxy for carry appetite)
VIX (global risk sentiment, inverted)
Z-scores normalize each input to show how far it deviates from recent history (not raw values).
Positive composite trend ⬅️ strong carry environment
Negative composite trend ➡️ signs of unwind or stress
Individual Z-Score Lines:
🟥 USD/JPY
🟩 Yield Spread (US10Y − JP10Y)
🟪 FX Proxy (AUD/JPY)
🟦 VIX (risk sentiment)
Threshold Lines & Signal Markers:
Green 🟢⬅️🟢🟢 “carry active” threshold (+1.5 std dev)
Red dashed line 🔴➡️🔴🔴→ “carry unwind risk” (−1.5 std dev)
Carry Trade Strength Gauge (Horizontal Bar, Bottom-Right)https://www.tradingview.com/chart/YVbZwNez/
Slots:
🟢 = strong carry inflow conditions
⚪ = neutral midpoint
🔴 = outflow / unwind pressure
A directional arrow (⬅️ or ➡️) shows momentum:
➡️ = composite rising → improving carry environment
⬅️ = composite falling → deteriorating carry conditions
Arrow is placed at the current strength level, visually combining position + momentum
Labels “Inflows” and “Outflows” flank the bar for clarity
Use Case Summary
Macro risk overlay for JPY pairs, EM FX, bond carry strategies
Detect early unwind phases (e.g. if arrow ⬅️ appears in red zone)
Confirm entry/exit in directional JPY trades or expected liquidity to enter the markets
僅限邀請腳本
只有經作者批准的使用者才能訪問此腳本。您需要申請並獲得使用權限。該權限通常在付款後授予。如欲了解更多詳情,請依照以下作者的說明操作,或直接聯絡MerloClover-PugetPointCapital。
除非您完全信任其作者並了解腳本的工作原理,否則TradingView不建議您付費或使用腳本。您也可以在我們的社群腳本中找到免費的開源替代方案。
作者的說明
reach out to me if you'd like to improve this code.
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
僅限邀請腳本
只有經作者批准的使用者才能訪問此腳本。您需要申請並獲得使用權限。該權限通常在付款後授予。如欲了解更多詳情,請依照以下作者的說明操作,或直接聯絡MerloClover-PugetPointCapital。
除非您完全信任其作者並了解腳本的工作原理,否則TradingView不建議您付費或使用腳本。您也可以在我們的社群腳本中找到免費的開源替代方案。
作者的說明
reach out to me if you'd like to improve this code.
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。