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
TnSovereignNqOprBreakoutV6 [TeleNexus] builds a short range after the session open, then allows one long or short entry only inside a later trade window when price leaves that range. Optional RSI regime and EMA trend filters can block entries. A swing-based stop and a configurable reward multiple set the exit, and any open position is forced closed at the session end. The range high and low are drawn as a box on the price chart. Default size is a percent of equity.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Range Start Hour
int
9
rsH
Range Start Minute
int
30
rsM
Range Duration (minutes)
int
5
rangeLen
Trade Open Hour
int
9
trOH
Trade Open Minute
int
35
trOM
Trade Stop Hour
int
16
trSH
Trade Stop Minute
int
0
trSM
Trade Close Hour
int
16
trCH
Trade Close Minute
int
30
trCM
Timezone
string
America/New_York
tzCustom
Enable RSI Filter
bool
true
useRSI
RSI Overbought
int
70
rsiOB
Show all 21 settings
Setting
Type
Default
Variable
RSI Oversold
int
30
rsiOS
RSI Condition
string
Outside
rsiMode
Enable EMA Filter
bool
false
useEMA
EMA Period
int
50
emaLen
Separate R:R for Long/Short
bool
false
rrSep
Common R:R
float
1.5
rrCom
R:R Long
float
1.5
rrL
R:R Short
float
1.5
rrS
Show Range Box
bool
true
showBox
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 opening gap continuation on the price chart. It measures the gap between the daily open and the prior daily close, then enters long after a qualifying gap up or short after a qualifying gap down when price stays beyond the open and a trend
Calculates a momentum squeeze using Bollinger Bands and Keltner Channels alongside a trend-filtering moving average. It generates long and short entries based on squeeze momentum bar conditions and an optional pre-squeeze dot count filter. Exits can trigger on
This strategy plots exponential-moving-average Bollinger bands on the price chart and calculates RSI. It opens a long position when close crosses above the upper band while RSI is at or above a threshold, the date filter allows trading, and no position is open
This strategy enters long or short on the price chart when price is on the correct side of a 200-period EMA, MACD agrees, RSI is not at the opposing extreme, ADX exceeds a threshold, volume beats a 20-bar average, and close breaks the recent high or low. A tim
This strategy trades longs and shorts on the price chart. Long entries require a close above the prior Donchian high, a close above a long-term SMA, and RSI above a threshold, with size set as a percentage of equity. Long exits use a stop at the prior Donchian
This intraday strategy implements Mark Fisher's Opening Range Breakout (ORB) methodology tailored for index futures like ES and NQ. It calculates session opening ranges, volume z-scores, and VWAP bands to plot support, resistance, and confirmation levels on th