Indicator · Pine Script v6 · Own pane

Giám sát truyền dẫn trái phiếu VN — MacroAcademic

by Thanhtran-165

This macro indicator analyzes international and domestic transmission channels affecting Vietnamese government bond yields.

View on GitHub

GitHub stars38on the repository
Pine versionv6current
Lines of code1,206
Settings40inputs
LicenceNone stated
Last update5 weeks ago23 Sep 2026

Add It to Your TradingView Chart

  1. 1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
  2. 2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
  3. 3Paste over the templateCreate a new indicator, select all of the template text and paste. Press Save and give it a name.
  4. 4Add it to the chartPress Add to chart, then adjust the settings with the gear icon next to its name.

Source Code

The code stays on GitHub. The author has not published this script under an open licence, so ForexR does not show its code. Copy script reads the file straight from GitHub into your clipboard, so you can still try it on your own chart. Ask the author before reusing the code anywhere else.

Overview

Plotted in a separate pane with diagnostic tables and background shading, it tracks six macro pathways including Japanese yields, Yen carry stress, USD/VND exchange rates, and interbank liquidity. The script employs walk-forward regressions, out-of-sample holdout validation, and nested lag selection to evaluate directional pressure and signal stability. Configurable settings include lag modes, data freshness thresholds, model smoothing, and benchmark symbols. It requires a daily chart.

Details

Published by

Thanhtran-165 on GitHub

Type

Indicator, Pine Script v6

Draws

Separate pane below the chart

Category

Screeners & dashboards

Markets

Forex

Timeframes

H4 and above

Risk Notes

No repainting, lookahead or stacked entries were found in its code or README. That says nothing about how well it works: test it first.

Settings

The inputs you can change from the gear icon on the chart. Defaults are the author's.

SettingTypeDefaultVariable
Màn hìnhstringOverviewviewMode
Độ chi tiếtstringExecutivedisplayMode
Vị trí bảngstringDưới phảitablePos
Tô nền theo áp lực quan sátbooltrueshowBg
Nhãn cuối đườngbooltrueshowLabel
EMA hiển thị Executiveint3displaySmoothN
Nested best-lagbooltrueuseBestLag
Lag thủ côngint1manualLag
Data Gate tối thiểufloat80.0minDataQ
Stability tối thiểu cho VALIDfloat40.0minStability
Khoảng cách lag tối thiểufloat2.5minLagGap
Bắt đầu phạt dữ liệu sau (ngày)int3freshSoftDays
Show all 40 settings
SettingTypeDefaultVariable
Dữ liệu hết hiệu lực sau (ngày)int10freshHardDays
EMA dữ liệu mô hình (khuyến nghị 1)int1smoothN
P1 Nhật→VNint1signP1
P2 Global long-end→VNint1signP2
P3 Global levelint1signP3Level
P3 Global steepeningint1signP3Curve
P4 Yen carry stress→VNint1signP4
P5 FX/liquidity stress→VNint1signP5
P6 A Global→USDVNDint1signA
P6 B USDVND→Interbankint1signB
P6 C Interbank→VN10Yint1signC
VN 10YsymbolTVC:VN10YsymVN10
VN 2YsymbolTVC:VN02YsymVN02
USDVNDsymbolFX_IDC:USDVNDsymUSDVND
VN interbanksymbolECONOMICS:VNINBRsymVNINBR
JP 10YsymbolTVC:JP10YsymJP10
JP 2YsymbolTVC:JP02YsymJP02
Driver P1stringJP10YjpDriverChoice
US 10YsymbolTVC:US10YsymUS10
US 2YsymbolTVC:US02YsymUS02
DE 10YsymbolTVC:DE10YsymDE10
DE 2YsymbolTVC:DE02YsymDE02
GB 10YsymbolTVC:GB10YsymGB10
GB 2YsymbolTVC:GB02YsymGB02
AU 10YsymbolTVC:AU10YsymAU10
CA 10YsymbolTVC:CA10YsymCA10
DXYsymbolTVC:DXYsymDXY
USDJPYsymbolFX_IDC:USDJPYsymUSDJPY
Third-party code. ForexR did not write, test or endorse this script, and the summary above was generated automatically from its code and README. Indicators describe the past, and a strategy's backtest can look better than live trading, especially when a script repaints. Check it in the Strategy Tester and on a demo account before you rely on it.

Similar Pine Scripts

948 stars

This indicator measures the chart symbol’s percentage change from the opening price at the start of each US presidential term and plots those values as histogram columns in a separate pane. Columns are offset so each administration appears separately, with a s

Indicator v6 Screeners & dashboards
Updated 10 days ago · GPL-3.0 GitHub repository of Presidents Performance

This indicator scans a pasted list of symbols for RSI directional momentum and shows matching long and short signals in a table in a separate pane. The user chooses continuous break, continuous retracement, flip break, flip retracement, divergence, or hidden d

Indicator v6 Oscillators & momentumDivergence
Updated 1 year ago · MPL-2.0 GitHub repository of Momentum Setup - RSI Directional Momentum Scanner

Tables-001

by ricardosantos79
261 stars

This indicator builds a TradingView table in a separate pane and fills its cells with fixed placeholder text according to whether each row and column index is even or odd. Users set the table position, the number of rows and columns, and the background, frame,

Indicator v4 Screeners & dashboards
Updated 4 years ago · None stated GitHub repository of Tables-001
257 stars

Donald SPX - Options Trading is an indicator designed to assist SPX index option traders by tracking session benchmarks and multi-timeframe moving average data. It calculates a 200-period weighted moving average (WMA) and requests multi-timeframe bar data from

Indicator v5 Moving averagesScreeners & dashboards Repaints
Updated 6 weeks ago · None stated GitHub repository of Donald SPX - Options Trading

Index Member Distribution

by TradersPost
218 stars

Calculates and plots a weighted histogram of constituent returns for major market indices (NDX, SPX, DJIA, and RUT) in a separate pane. Each histogram bin reflects the summed weights of members within that percentage return bracket. The script renders vertical

Indicator v6 Screeners & dashboards
Updated 3 months ago · None stated GitHub repository of Index Member Distribution

KamaFama

by Mastaaa1987
141 stars

KamaFama is an indicator that translates a Freqtrade trading strategy into Pine Script for visualization. It combines Kaufman Adaptive Moving Average (KAMA), MAMA/FAMA calculations derived via Hilbert Transform, Williams %R, and correlation trend filters to ev

Indicator v6 Moving averagesOscillators & momentum
Updated 6 weeks ago · MIT GitHub repository of KamaFama

More indicators

Trade Your Charts With a Regulated Broker

Compare brokers that connect to TradingView, with spreads, minimum deposits and leverage side by side.

Compare brokers