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 Sovereign Stoch v6 generates long signals on K/D crossover below the oversold level in a bullish regime defined by price above a 200 EMA, and short signals on crossover above the overbought level in a bearish regime. Entries use percent-of-equity sizing with 2x ATR stop loss and 4x ATR take profit exits on the opposite side. The script plots on the price chart with a table HUD displaying K/D values, regime bias, and volatility metrics. Inputs modify stochastic parameters, trend filter, ATR settings, and risk multipliers. It applies across markets and timeframes with one position at a time.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
隨機指標長度
int
14
stochLen
K 線平滑
int
3
kSmooth
D 線平滑
int
3
dSmooth
超買門檻 (OB)
float
80
obLevel
超賣門檻 (OS)
float
20
osLevel
趨勢地板 (EMA)
int
200
emaLen
ATR 週期
int
14
atrLen
止損 ATR 倍數
float
2.0
slMult
獲利 ATR 倍數
float
4.0
tpMult
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.
Mean Reversion Strategy is an overlay strategy that identifies pullbacks using a long-term EMA, RSI, and candlestick patterns. It generates long signals when a bullish engulfing candle forms below the EMA while RSI is oversold, and short signals when a bearish
This strategy combines a 7-period RSI with an ADX filter to trade market regimes on the price chart. When the ADX indicates ranging conditions below a set threshold, it triggers entries on RSI overbought or oversold extremes. By default, the entry logic is inv
This strategy combines a Simple Moving Average (SMA) and the Relative Strength Index (RSI) to generate long trading signals. It enters a long position when price closes above the SMA filter while RSI drops below the oversold threshold. The strategy exits the p
This strategy enters long when a series labeled ADX is above a threshold and RSI is below 40, and enters short when that series is above the threshold and RSI is above 60. Both series are calculated with the RSI function, so the trend filter is not a true ADX.
This strategy trades pullbacks in the direction of a moving-average trend and draws on the price chart. An uptrend requires the 50-period EMA above the 200-period EMA with price above the slower average, and a downtrend is the reverse. It enters long or short
Lucid 100K v5 is a Pine Script strategy for trading MES futures on 5-minute charts. It overlays buy and sell signals directly on the price chart. The strategy runs two phases based on equity and recent profit factor. Phase 1 uses trend pullback entries with EM