INVITE-ONLY SCRIPT
BBBDXY-9 - Intraday/ Swing

What it is
A chart-grade USD basket that outputs full O/H/L/C candles. It combines nine FX pairs using weighted log-returns and geometric aggregation, then rescales to 100 at an anchor. You can build from 1m, 1H, 4H, or D and analyze it like a normal chart (drawings, structure, bar replay, and a clean Source output for other tools).
Why another USD gauge?
A legacy EUR-heavy USD measure can, at times, behave close to an EURUSD proxy and under-represent moves versus other majors and Asia EM. A diversified basket helps capture USD dynamics beyond EUR-centric effects. This study is independent and does not rely on third-party brands.
Basket (defaults are editable in Inputs)
Pairs used: EURUSD (inverted), USDJPY, USDCAD, GBPUSD (inverted), USDMXN, USDCNH, USDCHF, AUDUSD (inverted), USDSGD.
Inverted means the pair is flipped internally so rising values reflect USD strength. Weights default to a diversified mix and can be customized.
How it works (high level)
Base-TF and aggregation rules
Inputs (overview)
How to use
Notes and limitations
Figure (publication image)
Top: a legacy EUR-heavy USD index on 1H. The horizontal line marks a local swing high; price stalls and rolls over beneath it.
Bottom: this diversified USD basket on 1H. The horizontal line marks the same calendar window; the advance extends differently into that zone before rolling later.
This side-by-side illustrates that a EUR-centric gauge can diverge from a diversified USD basket. Similar divergences appear at other points; the example is illustrative and not a signal.
- riseofatrader
A chart-grade USD basket that outputs full O/H/L/C candles. It combines nine FX pairs using weighted log-returns and geometric aggregation, then rescales to 100 at an anchor. You can build from 1m, 1H, 4H, or D and analyze it like a normal chart (drawings, structure, bar replay, and a clean Source output for other tools).
Why another USD gauge?
A legacy EUR-heavy USD measure can, at times, behave close to an EURUSD proxy and under-represent moves versus other majors and Asia EM. A diversified basket helps capture USD dynamics beyond EUR-centric effects. This study is independent and does not rely on third-party brands.
Basket (defaults are editable in Inputs)
Pairs used: EURUSD (inverted), USDJPY, USDCAD, GBPUSD (inverted), USDMXN, USDCNH, USDCHF, AUDUSD (inverted), USDSGD.
Inverted means the pair is flipped internally so rising values reflect USD strength. Weights default to a diversified mix and can be customized.
How it works (high level)
- Sample each component on the chosen base timeframe.
- Compute log-returns versus the anchor, multiply by weights, sum, and exponentiate (geometric combine).
- Re-scale so the index equals 100 at the anchor.
- Optional: plot an arithmetic comparison line.
Base-TF and aggregation rules
- Build from timeframe: 1m, 1H, 4H, D.
- If chart TF is greater than base TF, aggregate up from the base TF (no down-mixing).
- If chart TF equals base TF, show native base candles.
- If chart TF is lower than base TF, sample the base TF (step-like).
- For intraday precision and exact wicks, choose 1m as base and view higher TFs by aggregation.
- For longer history with fewer requests, choose 1H, 4H, or D as base.
Inputs (overview)
- Build-from TF (1m, 1H, 4H, D) and a feed prefix if your broker symbols require one.
- Per-pair weights (editable).
- Anchor date and time (chart timezone) plus optional auto-rebase to first available bar if the exact anchor is missing.
- Arithmetic comparison line (optional).
- Source output selector (Open, High, Low, Close) for downstream tools.
- Custom candle colors.
How to use
- For granular intraday structure and wick accuracy, set base TF to 1m and view higher TFs by aggregation.
- For swing and weekly context, set base TF to 1H, 4H, or D.
- Keep default weights unless you have a specific reason to alter the basket.
- Rising index suggests USD strength versus the basket; falling index suggests USD weakness.
Notes and limitations
- Depends on availability and quality of the underlying FX symbols on your data feed.
- Indicator only; no financial advice, no alerts, no orders.
- No external open-source code reused.
- Past behavior does not guarantee future results.
Figure (publication image)
Top: a legacy EUR-heavy USD index on 1H. The horizontal line marks a local swing high; price stalls and rolls over beneath it.
Bottom: this diversified USD basket on 1H. The horizontal line marks the same calendar window; the advance extends differently into that zone before rolling later.
This side-by-side illustrates that a EUR-centric gauge can diverge from a diversified USD basket. Similar divergences appear at other points; the example is illustrative and not a signal.
- riseofatrader
초대 전용 스크립트
이 스크립트는 작성자가 승인한 사용자만 접근할 수 있습니다. 사용하려면 요청을 보내고 승인을 받아야 합니다. 일반적으로 결제 후에 승인이 이루어집니다. 자세한 내용은 아래 작성자의 지침을 따르거나 riseofatrader에게 직접 문의하세요.
트레이딩뷰는 스크립트 작성자를 완전히 신뢰하고 스크립트 작동 방식을 이해하지 않는 한 스크립트 비용을 지불하거나 사용하지 않는 것을 권장하지 않습니다. 무료 오픈소스 대체 스크립트는 커뮤니티 스크립트에서 찾을 수 있습니다.
작성자 지시 사항
Jut hit me up in the DMs :)
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.
초대 전용 스크립트
이 스크립트는 작성자가 승인한 사용자만 접근할 수 있습니다. 사용하려면 요청을 보내고 승인을 받아야 합니다. 일반적으로 결제 후에 승인이 이루어집니다. 자세한 내용은 아래 작성자의 지침을 따르거나 riseofatrader에게 직접 문의하세요.
트레이딩뷰는 스크립트 작성자를 완전히 신뢰하고 스크립트 작동 방식을 이해하지 않는 한 스크립트 비용을 지불하거나 사용하지 않는 것을 권장하지 않습니다. 무료 오픈소스 대체 스크립트는 커뮤니티 스크립트에서 찾을 수 있습니다.
작성자 지시 사항
Jut hit me up in the DMs :)
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.