PROTECTED SOURCE SCRIPT
ที่อัปเดต: Rapid bp-meter(2Y) MTF V2.0

US 2Y Yield — Basis-Point Meter (30s Fast + 1m Confirm)
What it does (one-liner):
A simple, fast basis-point (bp) meter for the US 2-Year Treasury yield that shows a 30-second “pre-trigger” and a 1-minute confirmation so you can quickly gauge risk-on / risk-off during news and FOMC events.
Overview
This tool tracks the change in the US 2-Year yield in basis points (1 bp = 0.01%). It displays two readings:
Color logic is intentionally simple:
Typical interpretation (not a signal service):
Works on any chart. The yield is fetched from your chosen symbol/timeframes via request.security, independent of the chart timeframe.
Inputs
What the table shows
Rule of thumb
How to use (step-by-step)
Alerts (included)
Tip: You can customize alert text in TradingView’s alert dialog if you want to include thresholds or tickers.
Best practices & notes
Limitations (transparent)
What “inverse to yield” means
So:
That’s the “inverse” part: yield and futures price move in opposite directions.
Disclaimer
This script is for informational and educational purposes only. It does not constitute financial, investment, or trading advice, and it does not guarantee outcomes or profits. Trading involves risk, including the loss of principal. Always do your own research and use proper risk management.
What it does (one-liner):
A simple, fast basis-point (bp) meter for the US 2-Year Treasury yield that shows a 30-second “pre-trigger” and a 1-minute confirmation so you can quickly gauge risk-on / risk-off during news and FOMC events.
Overview
This tool tracks the change in the US 2-Year yield in basis points (1 bp = 0.01%). It displays two readings:
- Fast: 30-second bp change (early signal).
- Confirm: 1-minute bp change (confirmation).
Color logic is intentionally simple:
- Green = yields down beyond your threshold (typical risk-on bias).
- Red = yields up beyond your threshold (typical risk-off bias).
- Gray = within thresholds (no signal).
Typical interpretation (not a signal service):
- Yields ↓ (green) often align with USD weakness / risk-on (e.g., EURUSD↑, XAUUSD↑, NQ100↑, USDJPY↓).
- Yields ↑ (red) often align with USD strength / risk-off (e.g., EURUSD↓, XAUUSD↓, NQ100↓, USDJPY↑).
Works on any chart. The yield is fetched from your chosen symbol/timeframes via request.security, independent of the chart timeframe.
Inputs
- Yield symbol: default TVC:US02Y.
- (Alternative proxy if seconds TF not available: 2-yr futures CBOT:ZT1!—note futures price ↑ = yield ↓.)
- Fast timeframe: default 30S. (Use 1m if your plan/symbol doesn’t support seconds.)
- Confirm timeframe: default 1 (1-minute).
- Fast trigger (bp): default 2.0 bp.
- Confirm trigger (bp): default 5.0 bp.
- No-repaint mode: uses completed bars only. Turn off if you want intrabar responsiveness (may repaint).
- Panel position: choose where the table appears on your chart.
What the table shows
- 2Y Δ fast (30S): e.g., −2.4 bp (green)
- 2Y Δ conf (1): e.g., −6.1 bp (green)
Rule of thumb
- Both GREEN → risk-on bias likely (consider EURUSD/XAU/NQ long, USDJPY short).
- Both RED → risk-off bias likely (consider the inverse).
- Mixed → wait for alignment or price structure confirmation.
How to use (step-by-step)
- Add to any chart.
- Set Yield symbol to TVC:US02Y. If seconds aren’t available, keep Fast=1m and Confirm=3m (or use ZT1! as a fast proxy + US02Y confirm).
- Choose Fast/Confirm thresholds. Defaults (2 bp / 5 bp) are conservative for major news (CPI/NFP/FOMC).
- During events, wait for the first 1–3 minutes to pass; then act only if both readings agree and price gives a clean impulse → pullback → continuation.
- Risk: size down on news; use a fixed $ risk per trade; place stops beyond the impulse origin.
- Optional: enable the built-in alerts (const messages) for Fast up/down and Confirm up/down.
Alerts (included)
- Fast down (pre-trigger) – “US 2Y down ≥ fast threshold → risk-on (pre-trigger)”
- Fast up (pre-trigger) – “US 2Y up ≥ fast threshold → risk-off (pre-trigger)”
- Confirm down (confirmed) – “US 2Y down ≥ confirm threshold → risk-on (confirmed)”
- Confirm up (confirmed) – “US 2Y up ≥ confirm threshold → risk-off (confirmed)”
Tip: You can customize alert text in TradingView’s alert dialog if you want to include thresholds or tickers.
Best practices & notes
- Seconds data requires the appropriate plan and symbol support. If seconds aren’t supported for US02Y, use 1m/3m or combine ZT1! (futures) for “fast” with US02Y for confirm.
- No-repaint mode is recommended; turning it off will read intrabar values that can change by bar close.
- The meter is directional context, not an entry by itself—combine with levels (NY H/L, VWAP, H1 S/R).
- On some sessions, headline vs. core news or Powell Q&A may cause second-leg reversals; confirm with price action.
Limitations (transparent)
- This tool does not predict future yields; it only reads the recent bp change on your selected timeframes.
- Correlations vary; yield moves don’t always translate into the same magnitude on FX/indices/commodities.
- If your broker or symbol has delays or limited intraday history, readings may differ.
- Futures proxy (ZT1!) is inversely related to yield; interpretation must be inverted if you use it for the fast leg.
What “inverse to yield” means
- When yields fall, bond prices rise.
- TVC:US02Y = the yield itself.
- CBOT:ZT1! = the price of the 2-yr note futures.
So:
- US02Y ↓ (−bp) ⇢ ZT1! ↑ (price up)
- US02Y ↑ (+bp) ⇢ ZT1! ↓ (price down)
That’s the “inverse” part: yield and futures price move in opposite directions.
Disclaimer
This script is for informational and educational purposes only. It does not constitute financial, investment, or trading advice, and it does not guarantee outcomes or profits. Trading involves risk, including the loss of principal. Always do your own research and use proper risk management.
เอกสารเผยแพร่
Rapid bp-meter (2Y) — V3.0 Release Notes & UsageA fast basis-point meter for the US 2-Year move with a low-latency “Fast” read and a “Confirm” read. Optional ZT futures proxy for earlier ticks. Status light shows BUY / SELL / WAIT.
What’s new in V3.0 (vs V2.0)
- []Futures proxy option (Fast leg) — Use CBOT:ZT1! / ZT2! as the Fast leg (futures price). Logic auto-flips: futures ↑ = yield ↓ = green. Threshold in points (e.g., 0.03125 ≈ 4 ticks).
[]Dual symbols & timeframes — Pick separate symbols/TFs for Fast (LTF) and Confirm (HTF). Run ZT Fast + US02Y Confirm, or bonds-only.
[]Status light — A compact tile: BUY / SELL / WAIT based on both-green / both-red logic.
[]UI controls — Show/hide readouts; move readouts and status anywhere (top/bottom/left/right).
[]Safer draws — Guards so tables only draw when enabled; tooltips reduce setup mistakes.
[]Alerts expanded — Fast up/down, Confirm up/down, plus BUY/SELL setup (both-green/red). All const-safe.
What stayed the same (by design)
- []No-repaint mode (completed bars unless you disable it).
[]bp math & rounding (1 decimal for readability). - Color rule: green = yields down (risk-on), red = yields up (risk-off).
How to use (simple rule)
- []Both GREEN → BUY set (risk-on)
[]Both RED → SELL set (risk-off) - Mixed → WAIT
Presets to save
- []News Mode (fast+confirm)
- []Fast symbol: CBOT:ZT1!; Fast TF: 30S; Proxy: ON[]Fast trigger (points): 0.03125 (4 ticks) • 0.015625 (2 ticks) for earlier
[]Confirm symbol: TVC:US02Y; Confirm TF: 1; Confirm trigger (bp): 5.0
- []Fast symbol: TVC:US02Y; Fast TF: 1; Fast trigger (bp): 2.0
*Confirm symbol: TVC:US02Y; Confirm TF: 3 (or 1); Confirm trigger (bp): 5.0
- []Fast symbol: CBOT:ZT1!; Fast TF: 30S; Proxy: ON[]Fast trigger (points): 0.03125 (4 ticks) • 0.015625 (2 ticks) for earlier
Migration guide (V2.0 → V3.0)
- []Keep V2.0 behavior: Fast = US02Y (Proxy OFF), 30S/1m, Fast trigger in bp; Confirm = US02Y 1–3m, 5 bp.
[]Use early read: Fast = ZT1! (Proxy ON), 30S, 0.03125 pts; Confirm = US02Y 1m, 5 bp.
Alerts (ready to use)
- []Fast risk-on (green) / Fast risk-off (red)
[]Confirm risk-on (green) / Confirm risk-off (red) - BUY setup (both green) / SELL setup (both red)
Notes & tips
- []If you run ZT seconds during quiet hours, raise Fast trigger to 0.03125–0.046875 (4–6 ticks) to filter chop.
[]Combine with VWAP / prior H/L / clear structure; the meter is directional context, not an entry by itself. - Seconds TFs require plan/symbol support; if unavailable, switch Fast to 1m.
Limitations (transparent)
- []Proxy mode reads futures price (inverse to yield) and uses points thresholds on the Fast leg.
[]Correlations vary across sessions; expect occasional divergences. - Data availability/latency depends on your TradingView plan and the symbol.
Disclaimer
For educational/informational purposes only. Not investment advice. Trading futures/FX involves risk, including loss of principal. Use proper risk management.
สคริปต์ที่ได้รับการป้องกัน
สคริปต์นี้ถูกเผยแพร่เป็นแบบ closed-source อย่างไรก็ตาม คุณสามารถใช้ได้อย่างอิสระและไม่มีข้อจำกัดใดๆ – เรียนรู้เพิ่มเติมได้ที่นี่
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน
สคริปต์ที่ได้รับการป้องกัน
สคริปต์นี้ถูกเผยแพร่เป็นแบบ closed-source อย่างไรก็ตาม คุณสามารถใช้ได้อย่างอิสระและไม่มีข้อจำกัดใดๆ – เรียนรู้เพิ่มเติมได้ที่นี่
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน