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 strategy, select all of the template text and paste. Press Save and give it a name.
4Add it to the chartPress Add to chart. The trades and results appear in the Strategy Tester tab; adjust the settings with the gear icon.
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
TN Multilateral Sovereign Corr builds a correlation matrix for four symbols, defaulting to BTC, ETH, SOL and BNB, and shows it as a colour-shaded table. The first two symbols form the main pair, and when their correlation over the lookback falls below a threshold after being above it, the strategy opens a long position. It has no stop loss or exit rules, and the asset cluster selector does not appear to change the symbols.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
資產集群選擇
enum
AssetCluster.Crypto
cluster
資產 1
symbol
BINANCE:BTCUSDT
s1
資產 2
symbol
BINANCE:ETHUSDT
s2
資產 3
symbol
BINANCE:SOLUSDT
s3
資產 4
symbol
BINANCE:BNBUSDT
s4
相關性計算長度
int
20
corrLength
脫鉤警戒閾值
float
0.5
decoupleThresh
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 script functions as a multi-symbol swing screener calculating the Relative Strength Index across up to 40 user-selected stock tickers using security calls. It evaluates whether each symbol's RSI exceeds a specified overbought threshold level. Inputs allow
This strategy calculates a StockCharts Technical Rank metric alongside an O'Neil-style relative strength rating, plotting both curves in a separate pane. It evaluates long-term, medium-term, and short-term exponential moving average deviations, rate-of-change
This strategy draws up to three exponential moving averages, default lengths 34, 89 and 610, across as many as seven user-chosen timeframes in a separate pane. Each series uses a gradient by timeframe, and optional smoothing or variable line width changes how
This strategy calculates intraday volatility mean reversion using session VWAP standard deviation bands, RSI overbought and oversold levels, and candle wick exhaustion ratios. It enters trades when price reaches statistical extremes filtered by RSI and wick co
This strategy probes limit order verification across four modes in a cycling pattern. It opens positions using resting limits, marketable limits, stop-limits, or exit limits with an offset. The script runs cycles to verify order behavior and plots probe values
This script monitors opening gap conditions and breakout behavior relative to the first candle's range across up to twenty configurable stock tickers. It detects whether following bars remain inside the opening range before breaking out, displaying the status