A separate-pane indicator that ranks up to ten user-chosen symbols, preloaded with Chinese-listed ETFs for gold, Nasdaq and other indices, by daily momentum and tracks a rotation into the top few, with the count adjustable.
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
An optional market filter compares a benchmark such as the S&P 500 with a 225-day average and can remove selected symbols and force exits next open or same close. Labels are in Chinese. It is a ranking and tracking tool, not an order-placing strategy.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Symbol 1
symbol
SSE:518880
symbol1
Label 1
string
黄金ETF
name1
Symbol 2
symbol
SSE:513100
symbol2
Label 2
string
纳指ETF
name2
Symbol 3
symbol
SZSE:159915
symbol3
Label 3
string
创业板ETF
name3
Symbol 4
symbol
SSE:588000
symbol4
Label 4
string
科创50
name4
Symbol 5
symbol
SSE:510180
symbol5
Label 5
string
上证180
name5
Symbol 6
symbol
symbol6
Label 6
string
Label 6
name6
Show all 40 settings
Setting
Type
Default
Variable
Symbol 7
symbol
symbol7
Label 7
string
Label 7
name7
Symbol 8
symbol
symbol8
Label 8
string
Label 8
name8
Symbol 9
symbol
symbol9
Label 9
string
Label 9
name9
Symbol 10
symbol
symbol10
Label 10
string
Label 10
name10
参与轮动资产数量
int
3
rotationCount
价格精确小数位
int
3
pricePrecision
启用基准均线过滤
bool
false
useMarketFilter
均线防摩擦系数(%)
float
0.0
marketFrictionPct
风险过滤直接清仓
bool
true
forceExitOnFilter
强平成交时点
string
次日开盘
forceExitMode
基准符号
symbol
SP:SPX
marketFilterSymbol
基准SMA长度 (天)
int
225
marketFilterLen
基准跌破均线时停用Symbol1
bool
false
exclude1OnDown
基准跌破均线时停用Symbol2
bool
true
exclude2OnDown
基准跌破均线时停用Symbol3
bool
true
exclude3OnDown
基准跌破均线时停用Symbol4
bool
true
exclude4OnDown
基准跌破均线时停用Symbol5
bool
true
exclude5OnDown
基准跌破均线时停用Symbol6
bool
true
exclude6OnDown
基准跌破均线时停用Symbol7
bool
true
exclude7OnDown
基准跌破均线时停用Symbol8
bool
true
exclude8OnDown
基准跌破均线时停用Symbol9
bool
true
exclude9OnDown
基准跌破均线时停用Symbol10
bool
true
exclude10OnDown
动量回顾(交易日)
int
20
lookbackDays
波动率调整方式
string
SUB
signalVolAdjust
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 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 plots the RSI oscillator on the main chart and displays its value distribution in a table positioned at the top right. The script calculates the relative strength index using the input source and length, then plots horizontal lines at 0, 50, and
Market Speedometer plots a 0-100 market speed reading in a separate pane. It measures movement by bar-to-bar change, true range, or a short average of recent bars, then ranks that movement against ATR and a percentile lookback. An EMA smooths the reading, and
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
Calculates normalized reversal metrics across up to ten Forex currency pairs using user-selected moving average methods, including HarmonicMA, EMA, SMA, or WMA. The indicator identifies overbought, oversold, and mean-crossing conditions using a configurable th
The 8-Factor Composite Screener evaluates equities across fundamental and technical criteria, including valuation ratios, earnings and revenue growth, 12-month return momentum, proximity to 52-week highs, Stage 2 moving average alignment, benchmark relative st