OPEN-SOURCE SCRIPT

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

132
📌 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.

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。