OPEN-SOURCE SCRIPT
更新済 Volume Spike Radar [AxeAlgo]

Volume Spike Radar
--
What it does
This indicator flags statistically abnormal volume the moment a bar closes, and instead of just saying volume was big it classifies what kind of event likely happened based on the relationship between that volume and the price range the bar actually produced. It separates four distinct situations. Absorption is heavy volume with a compressed range, often a sign that large resting orders are soaking up buying or selling pressure without letting price travel, and is a classic early reversal tell. Breakout is heavy volume paired with a wide, expanded range, suggesting aggressive orders are actually pushing price through a level rather than just defending it. Climax is extreme volume that caps an already extended run of same direction closes without any fresh range expansion, which is the classic exhaustion or blow off signature seen at the end of a move rather than the start of one. Anything left over is treated as a plain elevated spike with no distinct character.
On top of classification, the indicator flags effort versus result divergence, which happens when an extreme volume bar pushes hard in one direction but still fails to make a new high or low compared to recent price action, suggesting participants on that side got trapped rather than rewarded. A running estimate of cumulative volume delta, built from where each candle closed within its own range, shows whether recent volume has been net accumulating or net distributing over the last several bars. Every volume reading can also be normalized against that specific hour's own historical average, so a session open that is naturally busy every single day stops being repeatedly flagged as unusual just because of the time it happens, and only a bar that is unusual even for its own hour gets the extra marker.
How it works
Volume is measured against its own rolling average using either a straightforward relative volume multiple such as three times the average, or a statistical z score measured in standard deviations, with separate moderate and extreme thresholds for whichever method you choose. Every qualifying bar's total range is compared against its own ATR to decide whether it lands in the absorption, breakout, or climax bucket, and a consecutive same direction run counter is used specifically to detect climax conditions, since a climax by definition needs an extended move behind it rather than an isolated spike. Rapid fire spikes that occur within a small, configurable number of bars of each other are merged into a single growing event badge that shows the bar count and the peak multiple reached during that cluster, instead of stacking a separate tag on every single bar, which keeps fast moving or highly volatile charts readable instead of turning into a wall of overlapping text.
An optional smart candle coloring tints each qualifying bar according to its classification so the character of a move is visible without needing to hover over every tag, and a dashboard summarizes the current volume regime as quiet, normal, elevated, or extreme, the direction of the cumulative delta trend over the last several bars, the time of day adjusted reading, how many spikes have occurred so far in the current session, and the details of the most recent qualifying event.
How to use it
Choose between relative volume and z score depending on whether you prefer an intuitive multiple of average volume or a stricter statistical outlier test that adapts automatically to how noisy a symbol's volume normally is. The badge display mode lets you choose how much detail shows up on the chart itself, from showing every qualifying spike, to only the key institutional style events such as absorption, breakout, climax, and divergence, to only the very largest outliers, to hiding badges completely and relying on candle coloring alone for a cleaner look. Session windows for the major market opens can be highlighted so a spike can be read in the context of whether it happened during a typically active window or outside of it.
The advanced tuning section exposes the exact thresholds behind every classification, including how compressed a range needs to be to count as absorption, how wide it needs to be to count as breakout, and how long a directional run needs to last before a spike there can be called a climax, so the definitions can be tightened or loosened to match how a specific symbol or timeframe normally behaves. This tool describes historical volume behavior that has already happened on a confirmed bar. It is meant to add context to your own analysis of price action, not to function as a standalone buy or sell signal on its own.
Alerts
Alerts are provided for bullish volume spikes, bearish volume spikes, extreme tier outliers regardless of direction, absorption events, breakout volume, climax and exhaustion events, and effort versus result divergence.
Non repainting
Tags, badges, classification, cumulative volume delta, and every alert are evaluated on confirmed bar closes only and never move or change once they have been printed. The background glow and the smart candle coloring are the two live elements on the chart, and both are designed to track the forming bar in real time the same way a standard volume histogram does, settling into their final state the instant the bar actually closes.
Disclaimer
This script is provided for educational and informational purposes only. It visualizes historical volume statistics based on past price and volume data, and it does not predict future price movement in any way. Nothing in this indicator constitutes financial advice or a recommendation to buy or sell any instrument. Always use proper risk management and combine this tool with your own independent analysis before making any trading decision.
--
What it does
This indicator flags statistically abnormal volume the moment a bar closes, and instead of just saying volume was big it classifies what kind of event likely happened based on the relationship between that volume and the price range the bar actually produced. It separates four distinct situations. Absorption is heavy volume with a compressed range, often a sign that large resting orders are soaking up buying or selling pressure without letting price travel, and is a classic early reversal tell. Breakout is heavy volume paired with a wide, expanded range, suggesting aggressive orders are actually pushing price through a level rather than just defending it. Climax is extreme volume that caps an already extended run of same direction closes without any fresh range expansion, which is the classic exhaustion or blow off signature seen at the end of a move rather than the start of one. Anything left over is treated as a plain elevated spike with no distinct character.
On top of classification, the indicator flags effort versus result divergence, which happens when an extreme volume bar pushes hard in one direction but still fails to make a new high or low compared to recent price action, suggesting participants on that side got trapped rather than rewarded. A running estimate of cumulative volume delta, built from where each candle closed within its own range, shows whether recent volume has been net accumulating or net distributing over the last several bars. Every volume reading can also be normalized against that specific hour's own historical average, so a session open that is naturally busy every single day stops being repeatedly flagged as unusual just because of the time it happens, and only a bar that is unusual even for its own hour gets the extra marker.
How it works
Volume is measured against its own rolling average using either a straightforward relative volume multiple such as three times the average, or a statistical z score measured in standard deviations, with separate moderate and extreme thresholds for whichever method you choose. Every qualifying bar's total range is compared against its own ATR to decide whether it lands in the absorption, breakout, or climax bucket, and a consecutive same direction run counter is used specifically to detect climax conditions, since a climax by definition needs an extended move behind it rather than an isolated spike. Rapid fire spikes that occur within a small, configurable number of bars of each other are merged into a single growing event badge that shows the bar count and the peak multiple reached during that cluster, instead of stacking a separate tag on every single bar, which keeps fast moving or highly volatile charts readable instead of turning into a wall of overlapping text.
An optional smart candle coloring tints each qualifying bar according to its classification so the character of a move is visible without needing to hover over every tag, and a dashboard summarizes the current volume regime as quiet, normal, elevated, or extreme, the direction of the cumulative delta trend over the last several bars, the time of day adjusted reading, how many spikes have occurred so far in the current session, and the details of the most recent qualifying event.
How to use it
Choose between relative volume and z score depending on whether you prefer an intuitive multiple of average volume or a stricter statistical outlier test that adapts automatically to how noisy a symbol's volume normally is. The badge display mode lets you choose how much detail shows up on the chart itself, from showing every qualifying spike, to only the key institutional style events such as absorption, breakout, climax, and divergence, to only the very largest outliers, to hiding badges completely and relying on candle coloring alone for a cleaner look. Session windows for the major market opens can be highlighted so a spike can be read in the context of whether it happened during a typically active window or outside of it.
The advanced tuning section exposes the exact thresholds behind every classification, including how compressed a range needs to be to count as absorption, how wide it needs to be to count as breakout, and how long a directional run needs to last before a spike there can be called a climax, so the definitions can be tightened or loosened to match how a specific symbol or timeframe normally behaves. This tool describes historical volume behavior that has already happened on a confirmed bar. It is meant to add context to your own analysis of price action, not to function as a standalone buy or sell signal on its own.
Alerts
Alerts are provided for bullish volume spikes, bearish volume spikes, extreme tier outliers regardless of direction, absorption events, breakout volume, climax and exhaustion events, and effort versus result divergence.
Non repainting
Tags, badges, classification, cumulative volume delta, and every alert are evaluated on confirmed bar closes only and never move or change once they have been printed. The background glow and the smart candle coloring are the two live elements on the chart, and both are designed to track the forming bar in real time the same way a standard volume histogram does, settling into their final state the instant the bar actually closes.
Disclaimer
This script is provided for educational and informational purposes only. It visualizes historical volume statistics based on past price and volume data, and it does not predict future price movement in any way. Nothing in this indicator constitutes financial advice or a recommendation to buy or sell any instrument. Always use proper risk management and combine this tool with your own independent analysis before making any trading decision.
リリースノート
- Updated/Fixed Default Settingsオープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
◆ AxeAlgo | axealgo.com
6 years building Pine Script indicators & strategies
6 years building Pine Script indicators & strategies
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
◆ AxeAlgo | axealgo.com
6 years building Pine Script indicators & strategies
6 years building Pine Script indicators & strategies
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。