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에게 직접 문의하세요.
트레이딩뷰는 스크립트 작성자를 완전히 신뢰하고 스크립트 작동 방식을 이해하지 않는 한 스크립트 비용을 지불하거나 사용하지 않는 것을 권장하지 않습니다. 무료 오픈소스 대체 스크립트는 커뮤니티 스크립트에서 찾을 수 있습니다.
작성자 지시 사항
reach out to me if you'd like to improve this code.
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.
초대 전용 스크립트
이 스크립트는 작성자가 승인한 사용자만 접근할 수 있습니다. 사용하려면 요청을 보내고 승인을 받아야 합니다. 일반적으로 결제 후에 승인이 이루어집니다. 자세한 내용은 아래 작성자의 지침을 따르거나 MerloClover-PugetPointCapital에게 직접 문의하세요.
트레이딩뷰는 스크립트 작성자를 완전히 신뢰하고 스크립트 작동 방식을 이해하지 않는 한 스크립트 비용을 지불하거나 사용하지 않는 것을 권장하지 않습니다. 무료 오픈소스 대체 스크립트는 커뮤니티 스크립트에서 찾을 수 있습니다.
작성자 지시 사항
reach out to me if you'd like to improve this code.
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.