Indicator · Pine Script v6 · On the chart

Hedge Short Setup Outcome Auditor

by shitcoding

This overlay indicator recreates short-setup conditions and audits their later outcomes on the price chart.

View on GitHub

GitHub stars3on the repository
Pine versionv6current
Lines of code237
Settings25inputs
LicenceNone stated
Last update1 year ago15 Oct 2025

Add It to Your TradingView Chart

  1. 1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
  2. 2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
  3. 3Paste over the templateCreate a new indicator, select all of the template text and paste. Press Save and give it a name.
  4. 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 Outcome Auditor scores optional percent-surge, RSI overbought rollover, Bollinger exhaustion, volume spike, and EMA trend filters, then marks BASE or STRONG signals once a chosen confluence count is met. Signals can wait for bar close and the first bar of a cluster. An ATR multiple defines the take-profit level used to time outcomes; the stop-loss multiple is display-only. A table can summarize results.

Details

Published by

shitcoding on GitHub

Draws

On the price chart

Markets

Crypto

Timeframes

Any timeframe

Risk Notes

No repainting, lookahead or stacked entries were found in its code or README. That says nothing about how well it works: test it first.

Topics

pinescripttradingview

Settings

The inputs you can change from the gear icon on the chart. Defaults are the author's.

SettingTypeDefaultVariable
Use % Surge conditionbooltrueuseSurge
Lookback bars (e.g., 72 bars ≈ 3d on 1h)int72surgeLb
Price ↑ over lookback ≥ (%)float10.0surgePct
Use RSI overbought & roll-overbooltrueuseRSI
RSI Lengthint14rsiLen
RSI Overbought Levelint70rsiOb
Require RSI rolling over (RSI < RSI[1])booltrueneedRoll
Use Bollinger exhaustion filterbooltrueuseBB
BB Lengthint20bbLen
BB StdDev Multfloat2.0bbMult
Exhaustion LogicstringTouch+Re-entrybbMode
Require volume spikeboolfalseuseVol
Show all 25 settings
SettingTypeDefaultVariable
Volume SMA Lengthint20volLen
Volume ≥ SMA ×float1.5volMult
Trend FilterstringOfftrendMode
EMA length for trendint200emaLen
Min confluence for BASE (1..4)int2minConf
Min confluence for STRONG (2..4)int3strongConf
Fire signals on bar close onlybooltruefireOnClose
Only first bar of a cluster (avoid repeated alerts)booltrueoneShot
ATR Lengthint14atrLen
Suggested SL = ATR × (unused, for display)float1.5atrSLx
TP = ATR ×float1.0atrTPx
Datetime offset from UTC (hours)int3tzOffsetH
Show summary table (hit rates)booltrueshowTable
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.

Similar Pine Scripts

Commodity Heat Reversal plots score-based mean-reversion reversal markers on the price chart for commodity futures, aimed at the four-hour timeframe. It builds separate long and short heat scores from ATR distance to a mean moving average, ATR expansion, RSI e

Indicator v6 Mean reversionVolatility & bands
Updated 3 days ago · MIT GitHub repository of Commodity Heat Reversal [WavesUnchained]

This overlay indicator plots a 20-period Bollinger Band envelope with a two-standard-deviation width on the price chart. It marks a long bounce when price reclaims the lower band, 14-period RSI is between 30 and 70, 14-period ADX is above 25, and Binance BTCUS

Indicator v6 Volatility & bandsOscillators & momentum

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

Indicator v5 Oscillators & momentumMoving averages
Updated 1 year ago · MPL-2.0 GitHub repository of Momentum Setup: Vijay Thakare Option Buying Scalping Setup

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

Indicator v4 Volatility & bandsOscillators & momentum
Updated 2 months ago · None stated GitHub repository of Bollinger Bands Winner IND [Alorse]

TylerG FVG BB Reversal

by TradersPost
228 stars

This indicator identifies mean-reversion setups by combining Bollinger Bands with Fair Value Gaps (FVGs). It tracks FVGs that print outside the upper or lower Bollinger Bands and counts them toward an alert threshold. Signals trigger upon gap mitigation (by to

Indicator v6 SMC / ICT / price actionVolatility & bands
Updated 3 months ago · None stated GitHub repository of TylerG FVG BB Reversal
147 stars

This indicator combines Bollinger Bands, RSI, Stochastic RSI, and volume spike detection to identify mean-reversion conditions during range-bound market regimes. It calculates Bollinger Band width to identify low-volatility states and triggers buy or sell sign

Indicator v5 Oscillators & momentumVolatility & bands
Updated 6 weeks ago · MIT GitHub repository of BTC Dec 2025 — Range + Gamma Flush

More Oscillators & momentum scripts

Related on ForexR

Trade Your Charts With a Regulated Broker

Compare brokers that connect to TradingView, with spreads, minimum deposits and leverage side by side.

Compare brokers