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
Reversal Probabilities (VWAP + Slope) scores upside and downside setups with RSI extremes, band touches, a 9/21 EMA relationship, and candle direction, then reduces a score when the VWAP slope runs against that direction. Labels appear only when a probability clears a threshold, leads by a dominance margin, and respects a bar cooldown and daily cap. Band width, RSI levels, slope lookback, and the penalty factor are adjustable. It plots the VWAP and bands on the price chart and does not place trades.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
VWAP Band Multiplier (σ)
float
1.5
bandMult
RSI Length
int
14
rsiLen
RSI Overbought
int
70
rsiOB
RSI Oversold
int
35
rsiOS
VWAP Slope Lookback
int
20
slopeLen
Slope Threshold (bps/bar)
float
2.0
slopeThrBps
Trend Penalty Factor
float
0.35
slopePenalty
Show Probability Labels
bool
true
showLabels
Event Threshold (prob %)
float
60.0
probThresh
Dominance Margin (%)
float
10.0
dominanceMargin
Cooldown Bars Between Events
int
8
cooldownBars
Max Labels Per Day
int
80
maxLabelsPerDay
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 plots trade entry and exit signals on the price chart by combining Bollinger Bands with optional filter conditions. It calculates standard Bollinger Bands along with RSI, Aroon, and moving average filters. Reversal signals trigger when price bre
Antigravity Elite is an overlay indicator that screens price with seven selectable components: Mercury Fear, Connors RSI-2, volatility-spike reversal, EMA stack, Supertrend, multi-sigma bands, and an optional funding proxy. Auto-Detect chooses one method, whil
Ari zScore calculates a z-score as the difference between a fast and a slow simple moving average of close, divided by the standard deviation of close. It plots numbered triangles above and below price bars when that value enters fixed magnitude bands, optiona
This indicator plots standard Bollinger Bands consisting of an upper band, lower band, and a simple moving average directly on the price chart. It calculates the Relative Strength Index to identify overbought conditions. A bearish signal displays as a red down
This overlay indicator plots a Supertrend from an ATR length and factor, four exponential moving averages, and a selectable VWAP or TWAP taken from a chosen timeframe on the price chart. It also shows MACD and stochastic with adjustable lengths, smoothing, ver
Mean Reversion Study is an indicator that identifies trade setups combining exponential moving averages, RSI extremes, and engulfing candlestick patterns. It highlights bullish setups when a bullish engulfing candle forms below the EMA while RSI is oversold, a