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
High Prob Adaptive RSI — Filtered + Cooldown + Structure calculates RSI with adaptive lookback and filters signals using EMA trend, higher timeframe bias, slope threshold, ATR volatility, and structure confirmation near swings. Signals appear as buy and sell labels with divergence detection, showing weak signals optionally. It draws SL and TP lines based on ATR multipliers and enforces cooldown between high-probability signals. Main settings adjust RSI length, margins, filters, and killzone enforcement.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
RSI Length
int
120
rsiLength
Adaptive Lookback
int
60
lookback
Oversold Sensitivity
float
0.15
oversoldMargin
Overbought Sensitivity
float
0.15
overboughtMargin
EMA Trend Length
int
20
emaLength
Use Higher TF Trend Filter
bool
true
useHtfTrend
HTF Timeframe
timeframe
60
htfTimeframe
HTF EMA Length
int
50
htfEmaLength
RSI Slope Threshold
float
0.30
slopeThreshold
Require Above-Avg Volatility
bool
true
useAtrFilter
ATR Length
int
14
atrLength
ATR Average Length
int
50
atrAvgLength
Show all 31 settings
Setting
Type
Default
Variable
Min ATR / AvgATR
float
0.8
atrMinRatio
Require Structure Confirmation
bool
true
useStructure
Structure Lookback
int
20
structureLookback
Max ATR distance from swing
float
2.0
structureMaxDist
Bars Between High-Prob Signals
int
10
signalCooldown
Divergence Pivot Left
int
5
divPivotLeft
Divergence Pivot Right
int
5
divPivotRight
Show Divergences
bool
true
showDivergences
Killzone Mode
string
Both
killzoneMode
Enforce Killzone for High-Prob
bool
true
killzoneOn
Enable Opposite Market Confirmation
bool
true
useOpposite
Opposite Symbol
symbol
TVC:DXY
oppSymbol
Opposite EMA Length
int
20
oppEmaLength
Show Buy/Sell Labels
bool
true
showsignals
Show Weak (non-high-prob) Signals
bool
false
showWeakSignals
Show SL/TP Lines
bool
true
showLevels
Stop Loss ATR Multiplier
float
1.5
slAtrMult
Take Profit ATR Multiplier
float
3.0
tpAtrMult
Track Win/Loss in Dashboard
bool
true
trackPerformance
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 collection calculates and plots previous daily high and low price levels on the chart to identify potential supply and demand zones. It includes real-time intraday high and low calculations, RSI divergence detection across a customizable period
Bandz HTF projects higher-timeframe candle structures, ranges, and key levels directly onto the main price chart. It visualizes multiple configurable timeframe lanes from intraday to weekly alongside primary and macro range levels, including 25%, 50%, and 75%
This indicator implements a full Chanlun pipeline on the price chart. It merges contained bars, marks top and bottom fractals, and connects alternating fractals into strokes. Overlapping strokes form pivot boxes, and MACD area ratios flag trend or consolidatio
This overlay indicator scores liquidity-sweep reversals on the price chart. It looks for a swing high or low violation followed by a recovery close, then grades optional conditions such as RSI and structure into a 0–2 quality score with separate long and short
Larper Suite is an overlay indicator for ICT and quarterly-theory analysis. It plots true session, daily, weekly, monthly, and yearly opens plus prior and current high-low liquidity levels. It tracks multi-asset SMT, swing divergence, fair-value-gap fills, and
Apex Protocol v3.0 - The SMC Engine is an overlay indicator designed for Smart Money Concepts (SMC) trading strategies. It detects market structure shifts (MSS), breaks of structure (BOS), M5 Fair Value Gaps (FVG), Order Blocks (OB), and Asian session ranges.