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