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
TnSovereignVeinReversalV6 [TeleNexus] enters only on strong bull or bear grades, long or short according to direction toggles, after a same-direction label gap and a cooldown. Stops and targets are ATR multiples, with an optional break-even stop, and size is a percent of equity. VWAP slope, trend strength, and 14/28 EMA confirmation gate trades. Quality labels depend on later bars, so graded signals can change after the bar that is labeled.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
ATR Length
int
14
atrLen
Forward Bars (min target)
int
8
forwardBars
Extended Bars (strong target)
int
16
extendedBars
Weak Target (ATR×)
float
1.5
targetATR
Strong Target (ATR×)
float
2.5
strongATR
Max Adverse Move (ATR×)
float
0.6
maxAdverseATR
Use Close instead of High/Low
bool
false
useClose
Fast Reversal: bars to target ≤
int
4
fastBarsThresh
Strong: Max Adverse ≤ ATR×
float
0.3
maeStrongThresh
Min Bars Between Labels (same dir)
int
3
minGapBars
Trade Strong Bull (label +2)
bool
true
tradeLongStrong
Trade Strong Bear (label -2)
bool
true
tradeShortStrong
Show all 18 settings
Setting
Type
Default
Variable
SL (ATR×)
float
1.5
slMult
TP (ATR×)
float
3.0
tpMult
Enable Break-Even Stop
bool
true
enableBE
Trigger (R×)
float
1.0
beTrigR
Trade Direction
string
Both
dirMode
Cooldown Bars After Exit
int
3
cooldown
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 plots Bollinger Bands on the price chart with adjustable length, standard deviation, and offset. It defines buy and sell zones using candle size percentage and body size thresholds. Long positions enter when the lower zone is breached without con
The Mean Reversion Strategy Template calculates a baseline mean using SMA, EMA, or VWAP alongside upper and lower deviation bands based on standard deviation, ATR, or percentage offsets. It generates long and short entries when price touches, bounces from, or
This strategy backtests a long Bollinger Band deal on the price chart for 3Commas-style bots. It plots short and long simple moving averages, offset bands, and the average entry price of the open deal. A long starts when price crosses the lower band inside a c
This strategy generates buy and sell signals based on Bollinger Band crossovers combined with a simple moving average trend filter. It enters a long position when price crosses above the lower band while trading above the SMA filter line, and enters a short po
This strategy executes trades based on price interactions with standard Bollinger Bands plotted on the price chart. It calculates a simple moving average basis line along with upper and lower standard deviation bands. Long entries are triggered when price cros
This strategy scaffold calculates a standard Volume Weighted Average Price (VWAP) alongside upper and lower volatility bands set 1.5 ATRs away. It generates long entry signals when a confirmed bar closes below the lower band and short entry signals when a conf