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が提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。