1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
3Paste over the templateCreate a new indicator, select all of the template text and paste. Press Save and give it a name.
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.
Six macro transmission channel monitors for Vietnamese bonds
Nested walk-forward regressions with out-of-sample testing
Dual chain diagnostics for exchange rate and interbank liquidity links
Configurable data freshness and stability gating thresholds
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Màn hình
string
Overview
viewMode
Độ chi tiết
string
Executive
displayMode
Vị trí bảng
string
Dưới phải
tablePos
Tô nền theo áp lực quan sát
bool
true
showBg
Nhãn cuối đường
bool
true
showLabel
EMA hiển thị Executive
int
3
displaySmoothN
Nested best-lag
bool
true
useBestLag
Lag thủ công
int
1
manualLag
Data Gate tối thiểu
float
80.0
minDataQ
Stability tối thiểu cho VALID
float
40.0
minStability
Khoảng cách lag tối thiểu
float
2.5
minLagGap
Bắt đầu phạt dữ liệu sau (ngày)
int
3
freshSoftDays
Show all 40 settings
Setting
Type
Default
Variable
Dữ liệu hết hiệu lực sau (ngày)
int
10
freshHardDays
EMA dữ liệu mô hình (khuyến nghị 1)
int
1
smoothN
P1 Nhật→VN
int
1
signP1
P2 Global long-end→VN
int
1
signP2
P3 Global level
int
1
signP3Level
P3 Global steepening
int
1
signP3Curve
P4 Yen carry stress→VN
int
1
signP4
P5 FX/liquidity stress→VN
int
1
signP5
P6 A Global→USDVND
int
1
signA
P6 B USDVND→Interbank
int
1
signB
P6 C Interbank→VN10Y
int
1
signC
VN 10Y
symbol
TVC:VN10Y
symVN10
VN 2Y
symbol
TVC:VN02Y
symVN02
USDVND
symbol
FX_IDC:USDVND
symUSDVND
VN interbank
symbol
ECONOMICS:VNINBR
symVNINBR
JP 10Y
symbol
TVC:JP10Y
symJP10
JP 2Y
symbol
TVC:JP02Y
symJP02
Driver P1
string
JP10Y
jpDriverChoice
US 10Y
symbol
TVC:US10Y
symUS10
US 2Y
symbol
TVC:US02Y
symUS02
DE 10Y
symbol
TVC:DE10Y
symDE10
DE 2Y
symbol
TVC:DE02Y
symDE02
GB 10Y
symbol
TVC:GB10Y
symGB10
GB 2Y
symbol
TVC:GB02Y
symGB02
AU 10Y
symbol
TVC:AU10Y
symAU10
CA 10Y
symbol
TVC:CA10Y
symCA10
DXY
symbol
TVC:DXY
symDXY
USDJPY
symbol
FX_IDC:USDJPY
symUSDJPY
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.
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
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
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,
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
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
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