PROTECTED SOURCE SCRIPT
已更新 Reversal Signal [aganac3]

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
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
發行說明
add :strength label
發行說明
minor update受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由且不受任何限制地使用它 — 在此處了解更多資訊。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
受保護腳本
此腳本以閉源形式發佈。 不過,您可以自由且不受任何限制地使用它 — 在此處了解更多資訊。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。