PROTECTED SOURCE SCRIPT
Updated

Reversal Signal [aganac3]

154
This indicator is an advanced reversal detection system designed to identify high-probability turning points in price action using RSI dynamics, EMA structure, ATR volatility, and volume-based confirmation.

The script automatically generates BUY/SELL signals, calculates target profit levels (TP1–TP3) and stop loss (SL) using ATR projections, and provides adaptive signal filtering based on market conditions and higher-timeframe trend bias.

It is built for traders who need a precise, all-in-one reversal detection and trade-management system for intraday and swing trading across any market (forex, gold, crypto, or stocks).

⚙️ Main Features
🔸 1. Smart Reversal Probability Engine
Calculates bullish/bearish probabilities (0–100%) using:
RSI deviation & slope
EMA bias (50 vs 200)
ATR volatility conditions
Candle structures (Engulfing, Pin Bar)
Demand/Supply zone proximity
Volume & momentum bursts
Adaptive weighting via sigmoid normalization for smooth probability transitions.

🔸 2. Multi-Timeframe Confirmation
Imports higher-timeframe (HTF) EMAs (default: 15-minute) for trend confirmation.
Suppresses false signals against dominant HTF direction:
Uptrend → fewer SELL signals
Downtrend → fewer BUY signals

🔸 3. Adaptive Sensitivity & Alert Modes
Sensitivity Options: Aggressive / Normal / Conservative
Controls reaction speed and signal frequency.

Alert Modes: Normal / Strict
Normal: at least 3 confirmations required
Strict: must confirm with pattern, volume, and candle bias
Alert threshold: customizable (default: 85%)

🔸 4. Demand & Supply Zone Logic
Automatically determines zone position based on recent price range.
BUY bias favored when price in demand zone (bottom 35%)
SELL bias favored when price in supply zone (top 35%)

🔸 5. Volatility & Volume Confirmation
Detects ATR spikes and volume surges for strong reversals.
Optional weighting for burst acceleration and pressure (momentum direction).

🔸 6. Target Projection (TP/SL System)
Auto-plots:
TP1, TP2, TP3 = ATR-based target levels
SL = ATR-based stop loss

Dashed lines with floating price labels, lines and labels auto-delete when hit (to maintain a clean chart).

Fully automated trade management visualization.

🔸 7. Signal Cooldown & Cleanup
Customizable cooldown (default 10 bars) to prevent over-signaling.
Automatic reset of TP/SL after trade conclusion (TP or SL hit).

🔸 8. Visuals & Alerts
BUY = 🔼 green triangle below bar
SELL = 🔽 red triangle above bar

Alerts available for:

“Bullish Reversal”
“Bearish Reversal”

Clean overlay design — ideal for dark or light chart themes.

🔸 9. Use Cases
XAU/USD (Gold): short-term scalping or intraday reversals
Crypto (BTC/ETH): H1–H4 swing setups
Stocks: Daily trend reversals
Indices: Multi-TF trend exhaustion tracking
Release Notes
add :

strength label
Release Notes
minor update

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.