OPEN-SOURCE SCRIPT

Delta Spike Detector [GSK-VIZAG-AP-INDIA]

181
๐Ÿ“Œ Delta Spike Detector โ€“ Volume Imbalance Ratio
By GSK-VIZAG-AP-INDIA

๐Ÿ“˜ Overview
This indicator highlights aggressive buying or selling activity by analyzing the imbalance between estimated Buy and Sell volume per candle. It flags moments when one side dominates the other significantly โ€” defined by user-selectable volume ratio thresholds (10x, 15x, 20x, 25x).

๐Ÿ“Š How It Works
Buy/Sell Volume Estimation
Approximates buyer and seller participation using candle structure:

Buy Volume = Proximity of close to low

Sell Volume = Proximity of close to high

Delta & Delta Ratio

Delta = Buy Volume โˆ’ Sell Volume

Delta Ratio = Ratio of dominant volume side to the weaker side
When this ratio exceeds a threshold, itโ€™s classified as a spike.

Spike Labels
Labels are plotted on the chart:

10x B, 15x B, 20x B, 25x B โ†’ Buy Spike Labels (below candles)

10x S, 15x S, 20x S, 25x S โ†’ Sell Spike Labels (above candles)
The color of each label reflects the spike strength.

โš™๏ธ User Inputs
Enable/Disable Buy or Sell Spikes

Set custom delta ratio thresholds (default: 10x, 15x, 20x, 25x)

๐ŸŽฏ Use Cases
Spotting sudden aggressive activity (e.g. smart money moves, traps, breakouts)

Identifying short-term market exhaustion or momentum bursts

Complementing other trend or volume-based tools

โš ๏ธ Important Notes
The script uses approximated Buy/Sell Volume based on price position, not actual order flow.

This is not a buy/sell signal generator. It should be used in context with other confirmation indicators or market structure.

โœ๏ธ Credits
Developed by GSK-VIZAG-AP-INDIA
For educational and research use only.

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.