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
Hedge Short Setup Finder scans for momentum exhaustion using price surge percentage over a lookback period, overbought RSI with rollover confirmation, Bollinger Bands exhaustion, volume spikes, and long-term EMA trend alignment. Based on customizable confluence thresholds, the indicator plots base or strong short setup signals on the price chart alongside visual labels displaying ATR-based suggested stop loss and take profit levels.
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Use % Surge condition
bool
true
useSurge
Lookback bars (e.g., 72 bars ≈ 3d on 1h)
int
72
surgeLb
Price ↑ over lookback ≥ (%)
float
10.0
surgePct
Use RSI overbought & roll-over
bool
true
useRSI
RSI Length
int
14
rsiLen
RSI Overbought Level
int
70
rsiOb
Require RSI rolling over (RSI < RSI[1])
bool
true
needRoll
Use Bollinger exhaustion filter
bool
true
useBB
BB Length
int
20
bbLen
BB StdDev Mult
float
2.0
bbMult
Exhaustion Logic
string
Touch+Re-entry
bbMode
Require volume spike
bool
false
useVol
Show all 26 settings
Setting
Type
Default
Variable
Volume SMA Length
int
20
volLen
Volume ≥ SMA ×
float
1.5
volMult
Trend Filter
string
Off
trendMode
EMA length for trend
int
200
emaLen
Min confluence for BASE signal (1..4)
int
2
minConf
Min confluence for STRONG signal (2..4)
int
3
strongConf
Fire signals on bar close only
bool
true
fireOnClose
Only first bar of a cluster (avoid repeated alerts)
bool
true
oneShot
Also trigger alert() (use 'Any alert() function call')
bool
true
useAnyAlert
Show labels with suggested SL/TP
bool
true
showHints
ATR Length
int
14
atrLen
Suggested SL = ATR ×
float
1.5
atrSLx
Suggested TP = ATR ×
float
1.0
atrTPx
Datetime offset from UTC (hours)
int
3
tzOffsetH
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.
The Momentum Setup is a multi-indicator visual tool designed for trend and momentum analysis directly on the price chart. It combines Relative Strength Index (RSI), Money Flow Index (MFI), Commodity Channel Index (CCI), Supertrend, and a 250-bar percentage cha
An overlay indicator that combines an ATR-based SuperTrend trailing stop with an integrated RSI-derived midline calculation on the price chart. The SuperTrend uses an ATR period and factor multiplier to plot dynamic green or red trend lines based on price dire
ADX Strategy (original) is an overlay indicator that identifies trend-following trade signals using the Average Directional Index (ADX) combined with a Simple Moving Average filter. A long signal is generated when the ADX rises above a user-defined trend level
Moon Dev Lunar Sniper is a multi-indicator overlay that scores confluence across fast and slow EMAs, RSI, MACD, DMI, and BB width to fire signals only when score meets the minimum threshold. It plots buy and sell signals on the price chart, highlights cosmic b
Double Screened Decision is a multi-timeframe trend and momentum indicator overlaid directly on the price chart. It dynamically selects a higher timeframe based on the active chart resolution to evaluate higher-timeframe MACD, Bollinger Bands, RSI, and Stochas
The VibeTrader Signal System is an overlay indicator that identifies trend direction and potential reversal conditions. It calculates a Supertrend line alongside Bollinger Bands and a 14-period RSI indicator. The script highlights bullish and bearish trends by