OPEN-SOURCE SCRIPT
P&D Short Signal v4.0 [4H]

═══════════════════════════════════════════════════════════
TRADINGVIEW PUBLISH — P&D Short Signal v4.0 [4H]
Author: Kevko87 | Open Source
═══════════════════════════════════════════════════════════
TITLE:
P&D Short Signal v4.0 [4H] — Pump & Dump Distribution Detector
───────────────────────────────────────────────────────────
SHORT DESCRIPTION (shown in search):
───────────────────────────────────────────────────────────
Detects post-pump distribution phases on crypto futures using
OBV, RSI divergence, MFI, and Delta-Volume across 4H / 1H / Daily.
Generates Tier 1 and Tier 2 short signals with auto TP/SL levels.
───────────────────────────────────────────────────────────
FULL DESCRIPTION:
───────────────────────────────────────────────────────────
## P&D Short Signal v4.0 [4H]
This indicator identifies **post-pump distribution phases** on crypto
perpetual futures, designed to catch the dump after a Pump & Dump cycle.
Built and validated on Bitget Futures over 30+ live trading sessions.
---
### How it works
The indicator uses a **multi-timeframe confluence approach**:
- **4H** — Base timeframe (OBV slope, RSI, MFI, Delta-Volume)
- **1H** — OBV confirmation
- **Daily** — Gate-keeper: coins with Daily OBV > 500M are skipped
(high OBV = genuine buying pressure = no short)
A signal fires only when multiple conditions align simultaneously,
filtering out noise and false setups.
---
### Signal Tiers
**🔴 TIER 1 — High Confidence (≥85%)**
- Daily OBV < 500M (gate-keeper passes)
- 4H OBV falling + 1H OBV falling (distribution confirmed)
- RSI > 65 AND (bearish divergence OR below MA)
- MFI > 75 AND falling for 2+ bars
- Delta-Volume negative (optional, toggleable)
**🟠 TIER 2 — Moderate Confidence (~70%)**
- Daily OBV < 500M
- 4H OBV falling
- RSI > 65
- MFI > 65 AND falling
**🔴 MFI Extreme Background Alert**
- MFI ≥ 85 and falling with valid Daily OBV
- Precursor warning — check OBV manually
---
### Auto TP / SL
On every signal, the indicator automatically plots:
- **SL**: Entry High + ATR × 3 (default)
- **TP1**: −15% | **TP2**: −25% | **TP3**: −40% | **TP4**: −60%
All levels fully adjustable via inputs.
---
### Status Table (top right)
Live dashboard showing the current state of all filters:
D-OBV · OBV 4H · OBV 1H · RSI · MFI · Delta · D-RSI · Signal · Trade
---
### Alerts
Three built-in alert conditions:
- 🔴 TIER 1 SHORT [4H]
- 🟠 TIER 2 SHORT [4H]
- ⚠️ MFI EXTREME [4H]
Set alerts via TradingView's alert manager on any ticker.
---
### Recommended Usage
- **Market**: Crypto perpetual futures (Bitget, Bybit, Binance)
- **Timeframe**: 4H (indicator is built for 4H, do not use on other TFs)
- **Best targets**: Low-cap coins after +30–50% pumps within 24h
- **Risk management**: Always use the auto-generated SL. DCA entries
recommended for high-ATR setups.
---
### Key Filter: Daily OBV Gate
The most important filter in this system. If Daily OBV > 500M,
the move has genuine buying pressure behind it — shorting against
that is high risk. The indicator automatically skips these coins.
---
### Inputs
| Parameter | Default | Description |
|-----------|---------|-------------|
| Daily OBV Max | 500M | Skip coins above this OBV |
| OBV Slope Bars | 3 | Lookback for OBV direction |
| RSI Length | 14 | Standard RSI period |
| RSI Min for Entry | 65 | Minimum RSI for overbought |
| Divergence Lookback | 5 | Bars for price/RSI divergence |
| MFI Length | 14 | Standard MFI period |
| MFI Min Tier 1 | 75 | MFI threshold for Tier 1 |
| MFI Min Tier 2 | 65 | MFI threshold for Tier 2 |
| MFI Extreme | 85 | Background alert level |
| SL ATR Multiplier | 3.0 | Stop loss distance |
| TP1–TP4 | 15/25/40/60% | Take profit levels |
---
### Changelog
**v4.0**
- Base timeframe changed from 1H to 4H (higher win rate in backtesting)
- 5 bars on 4H = 20h = one full pump cycle captured
- Tier 1: RSI divergence OR below MA (previously required both)
- MTF structure: 4H base / 1H confirmation / Daily gate-keeper
- Status table added
---
*Open source. Use at your own risk. Not financial advice.*
*Built by Kevko87 — validated on live crypto futures trading.*
TRADINGVIEW PUBLISH — P&D Short Signal v4.0 [4H]
Author: Kevko87 | Open Source
═══════════════════════════════════════════════════════════
TITLE:
P&D Short Signal v4.0 [4H] — Pump & Dump Distribution Detector
───────────────────────────────────────────────────────────
SHORT DESCRIPTION (shown in search):
───────────────────────────────────────────────────────────
Detects post-pump distribution phases on crypto futures using
OBV, RSI divergence, MFI, and Delta-Volume across 4H / 1H / Daily.
Generates Tier 1 and Tier 2 short signals with auto TP/SL levels.
───────────────────────────────────────────────────────────
FULL DESCRIPTION:
───────────────────────────────────────────────────────────
## P&D Short Signal v4.0 [4H]
This indicator identifies **post-pump distribution phases** on crypto
perpetual futures, designed to catch the dump after a Pump & Dump cycle.
Built and validated on Bitget Futures over 30+ live trading sessions.
---
### How it works
The indicator uses a **multi-timeframe confluence approach**:
- **4H** — Base timeframe (OBV slope, RSI, MFI, Delta-Volume)
- **1H** — OBV confirmation
- **Daily** — Gate-keeper: coins with Daily OBV > 500M are skipped
(high OBV = genuine buying pressure = no short)
A signal fires only when multiple conditions align simultaneously,
filtering out noise and false setups.
---
### Signal Tiers
**🔴 TIER 1 — High Confidence (≥85%)**
- Daily OBV < 500M (gate-keeper passes)
- 4H OBV falling + 1H OBV falling (distribution confirmed)
- RSI > 65 AND (bearish divergence OR below MA)
- MFI > 75 AND falling for 2+ bars
- Delta-Volume negative (optional, toggleable)
**🟠 TIER 2 — Moderate Confidence (~70%)**
- Daily OBV < 500M
- 4H OBV falling
- RSI > 65
- MFI > 65 AND falling
**🔴 MFI Extreme Background Alert**
- MFI ≥ 85 and falling with valid Daily OBV
- Precursor warning — check OBV manually
---
### Auto TP / SL
On every signal, the indicator automatically plots:
- **SL**: Entry High + ATR × 3 (default)
- **TP1**: −15% | **TP2**: −25% | **TP3**: −40% | **TP4**: −60%
All levels fully adjustable via inputs.
---
### Status Table (top right)
Live dashboard showing the current state of all filters:
D-OBV · OBV 4H · OBV 1H · RSI · MFI · Delta · D-RSI · Signal · Trade
---
### Alerts
Three built-in alert conditions:
- 🔴 TIER 1 SHORT [4H]
- 🟠 TIER 2 SHORT [4H]
- ⚠️ MFI EXTREME [4H]
Set alerts via TradingView's alert manager on any ticker.
---
### Recommended Usage
- **Market**: Crypto perpetual futures (Bitget, Bybit, Binance)
- **Timeframe**: 4H (indicator is built for 4H, do not use on other TFs)
- **Best targets**: Low-cap coins after +30–50% pumps within 24h
- **Risk management**: Always use the auto-generated SL. DCA entries
recommended for high-ATR setups.
---
### Key Filter: Daily OBV Gate
The most important filter in this system. If Daily OBV > 500M,
the move has genuine buying pressure behind it — shorting against
that is high risk. The indicator automatically skips these coins.
---
### Inputs
| Parameter | Default | Description |
|-----------|---------|-------------|
| Daily OBV Max | 500M | Skip coins above this OBV |
| OBV Slope Bars | 3 | Lookback for OBV direction |
| RSI Length | 14 | Standard RSI period |
| RSI Min for Entry | 65 | Minimum RSI for overbought |
| Divergence Lookback | 5 | Bars for price/RSI divergence |
| MFI Length | 14 | Standard MFI period |
| MFI Min Tier 1 | 75 | MFI threshold for Tier 1 |
| MFI Min Tier 2 | 65 | MFI threshold for Tier 2 |
| MFI Extreme | 85 | Background alert level |
| SL ATR Multiplier | 3.0 | Stop loss distance |
| TP1–TP4 | 15/25/40/60% | Take profit levels |
---
### Changelog
**v4.0**
- Base timeframe changed from 1H to 4H (higher win rate in backtesting)
- 5 bars on 4H = 20h = one full pump cycle captured
- Tier 1: RSI divergence OR below MA (previously required both)
- MTF structure: 4H base / 1H confirmation / Daily gate-keeper
- Status table added
---
*Open source. Use at your own risk. Not financial advice.*
*Built by Kevko87 — validated on live crypto futures trading.*
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.