PROTECTED SOURCE SCRIPT
Black Camel Candles

Pinpoint panic bottoms and euphoria tops with RSI extremes + % distance from MA + volume spikes. Colors candles and plots triangles at signals. Includes ready-to-use alerts.
# Full description
**Capitulation Finder (Candle Style)** highlights exhaustion moves in both directions by combining three classic filters:
* **Momentum:** RSI at extreme levels (oversold/overbought).
* **Stretch:** Price beyond a **% distance** from a chosen Moving Average (SMA/EMA/WMA/VWMA).
* **Participation:** **Volume spike** vs. its SMA.
When all conditions align:
* **Bullish capitulation** → candle colored **green** with a **triangle up** below the bar.
* **Bearish capitulation** → candle colored **red** with a **triangle down** above the bar.
The script also includes “confirmation” alerts (RSI extreme + high volume) for traders who want earlier heads-ups without the MA-distance filter.
## Inputs
* **RSI Length**, **Oversold**, **Overbought**
* **MA Type** (SMA/EMA/WMA/VWMA), **MA Length**
* **Distance from MA (%)** (stretch threshold)
* **Volume Average Length**, **Volume Multiplier**
* **Show capitulation triangles** (on/off)
## Alerts
* Bullish Capitulation
* Bearish Capitulation
* Oversold Confirmation
* Overbought Confirmation
Tip: set alerts to **Once Per Bar Close** for confirmed signals.
## How to use
* Look for green signals near support for mean-reversion bounces; red signals near resistance for exhaustion/fade setups.
* Works on any market/timeframe. Tune parameters to volatility and instrument.
**Starter presets:**
* **US equities (D/4H):** MA 50, Dist 5–8%, Vol Mult 1.3–1.6, RSI 30/70.
* **Crypto (4H/1H):** MA 100, Dist 6–10%, Vol Mult 1.5–2.0, RSI 25/75.
**Note:** Signals are computed on the active timeframe and can toggle intrabar. For stability, prefer bar-close alerts.
**Disclaimer:** For educational purposes only; not financial advice.
**Suggested tags:** rsi, volume, moving average, capitulation, mean reversion, trend exhaustion, crypto, stocks
Protected script
This script is published as closed-source. However, you can use it freely and without any limitations – learn more here.
Moaweya Alhmoud
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.
Protected script
This script is published as closed-source. However, you can use it freely and without any limitations – learn more here.
Moaweya Alhmoud
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.