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 MTF Intraday v6 requests higher-timeframe data for trend context via EMAs and Supertrend direction. On the local timeframe it plots EMA cross signals for long and short entries after volume and ATR noise filters, plus optional session restriction. Entries use 10% equity position sizing with ATR-based stop-loss and take-profit exits. It draws on the price chart as an overlay strategy. The main settings adjust trend period, EMA lengths, Supertrend parameters, risk multipliers, and filter thresholds. It repaints on the live bar and has no default exit rules beyond opposite signals.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
HTF 週期 (分鐘)
string
5
trendTF
HTF 快線 EMA
int
9
trendFast
HTF 慢線 EMA
int
21
trendSlow
Supertrend 乘數
float
3.0
stFact
Supertrend ATR 週期
int
10
stLen
進場快線 EMA
int
9
entFast
進場慢線 EMA
int
21
entSlow
啟用成交量過濾
bool
true
useVol
成交量 SMA 週期
int
20
volLen
成交量放大倍數
float
1.3
volMult
ATR 週期
int
14
atrLen
止損 ATR 倍數
float
2.0
slMult
Show all 17 settings
Setting
Type
Default
Variable
獲利 ATR 倍數
float
3.5
tpMult
啟用 ATR 噪聲過濾
bool
true
useNoise
噪聲閾值 (ATR×)
float
0.3
noiseMult
啟用特定時段限制
bool
false
useSession
交易時段 (CST)
session
0900-1800
tradeSes
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 strategy trades directional momentum breakouts for crude oil on the price chart. It enters long or short positions when a fast exponential moving average crosses a slow exponential moving average, provided that current Average True Range exceeds its movin
This strategy executes long and short trades on the price chart by combining multi-timeframe smoothed Heikin-Ashi trends, higher-timeframe Hull Moving Average variations, and an ATR-based trailing stop. Users can adjust timeframes, smoothing lengths, Hull form
This strategy draws two moving averages on the price chart and uses their bias to open long or short trades. It places the stop beyond a swing high or low using an ATR risk multiple, then sets a limit exit from the reward-to-risk ratio. An optional ATR trail c
The IBKR Safe Forex Strategy is a Pine Script v6 strategy that trades forex pairs using crossovers of 10-period and 50-period EMAs, filtered by a 200-period EMA and restricted to London or New York session overlap. It enters long positions on fast EMA above sl
This strategy template provides a modular foundation for building TradingView v6 backtests. It uses a placeholder Exponential Moving Average crossover signal combined with customizable filters for higher-timeframe trend alignment, volatility regime thresholds,
This mean-reversion strategy plots Bollinger Bands and a long-term moving average directly on the price chart. It enters trades when price candles penetrate the outer Bollinger Bands beyond a user-defined body percentage, anticipating a price reversal. Entries