Extended Hours Volume FlagOverview: The Extended Hours Volume Flag Indicator is a powerful tool designed for traders who are interested in monitoring and analyzing the volume activity during the extended trading hours—specifically the premarket (4:00 AM to 9:30 AM) and afterhours (4:00 PM to 8:00 PM) sessions. This indicator identifies and flags stocks where the trading volume during these extended hours exceeds 20% of the Average Volume (AVOL) during regular trading hours. Such occurrences often signal unusual activity or potential market-moving events, which can be crucial for informed trading decisions.
Concept: Volume is a critical factor in trading, often providing insights into market sentiment and potential price movements. However, volume during extended hours can be particularly revealing as it may indicate heightened interest or activity outside of the regular trading session. The Extended Hours Volume Flag Indicator is built on the concept that significant volume during premarket or afterhours trading sessions, relative to the average regular session volume, could be an early indicator of upcoming volatility or trends.
How It Works:
Session Segmentation: The indicator distinguishes between regular trading hours (9:30 AM to 4:00 PM) and extended hours (premarket and afterhours). It accumulates the trading volume separately for these sessions.
Volume Comparison: It calculates the Average Volume (AVOL) over a user-defined period (default is 14 days) during regular trading hours. It then compares the extended hours volume to this AVOL.
Flagging Condition: If the volume during the extended hours exceeds 20% of the AVOL, the indicator flags the stock with a warning symbol on the chart. This visual cue helps traders quickly identify stocks with potentially significant afterhours or premarket activity.
Reset Mechanism: The accumulated volumes reset at the start of the new trading day, ensuring accurate calculations for each day.
Usage: This indicator is ideal for traders who are looking for early signals of market activity outside regular hours, which might not be immediately visible when looking solely at price action. It is particularly useful for day traders and swing traders who want to keep an eye on potential premarket or afterhours catalysts.
Cari dalam skrip untuk "volume"
Relative Volume Standard DeviationThe Relative Volume Standard Deviation indicator is a powerful tool designed for traders seeking insights into volume dynamics. This indicator assesses the deviation of a security's trading volume from its moving average, shedding light on potential shifts in market sentiment.
Key Features:
-Length: Tailor the indicator's sensitivity by adjusting the length of the moving average.
-Number of Deviations: Customize the analysis by specifying the number of standard deviations to consider.
-Show Negative Values: Toggle the visibility of negative values in the plot for a comprehensive view.
How it Works:
-Moving Average Calculation: The script computes the simple moving average (SMA) of the trading volume over the specified length, providing a baseline for comparison.
-Standard Deviation Analysis: It calculates the standard deviation of the volume, identifying deviations from the average volume.
-Relative Volume Standard Deviation: The indicator then normalizes the difference between the volume and its moving average by the calculated standard deviation, producing a relative measure of volume deviation.
-Visual Representation: The result is visually represented on the chart using columns. Green columns signify relative volume standard deviation values greater than or equal to the specified number of deviations, while red columns represent values below this threshold.
-Enhancements:
Show Deviation Level: Optionally, a dashed horizontal line at the specified deviation level adds an extra layer of analysis, aiding in the identification of significant deviations.
Tops & Bottoms by Volume [SS]Hey everyone,
Releasing this indicator that helps you time entries by alerting to potential tops and bottoms in the market.
Background to the indicator:
I was playing around with things that signalled reversals / tops and bottoms in SPSS and R using Pivot Points to mark tops and bottoms. Happened to come across a generally statistically significant relationship between sell to buy volume that was tracked over 10 to 50 candles back and pivot highs and pivot lows.
So I put it into a beta version of an indicator to see how it looked and was a bit surprised.
Since then, I have went back and narrowed down the details of what works/what doesn't work and this is the tentative result!
What it does / How to Use:
It tracks the cumulative buy vs sell volume. Buy volume is cumulated as close > open (or green candles) and sell is open > close (or red candles).
It then cumulates this over a user-defined period (defaulted to 14). It then looks back to see the highest vs lowest areas of sell and buy volume and makes determinations based on this relationship.
The relationship was determined by me using my own analysis and programmed into the indicators algorithm (using highest vs lowest function in pine).
It will plot areas of potential reversal to the upside as green on the histogram or red for a downside reversal. Once this becomes significant enough to signal an actual bottom or top, it will then change the SMA colour from white to green (for bottom) or red (for top).
Your entries generally should be once the SMA turns back to white. So from green to white, you would enter long or inverse for red to white (enter short).
Settings and Customizability:
Here are the key points to keep in mind if you are using this indicator:
Your lookback length should be between 10 to 50. I have left it open for you to modify it below and above this lookback period; however, this is the major periods deemed to be significant in identifying tops and bottoms. Thus, I advise against operating outside of those parameters.
You can toggle between smoothed look or historgram with SMA. The strength in this indicator comes from using the SMA and watching the SMA for signals of reversals, so if you want to filter out the background noise, you can simply look at the plotted SMA. If you want a more responsive indication of impending reversals, leave the smoothed option off and view the histogram in conjunction with the SMA.
The indicator will change the candle colour to red for bearish reversal and green to bullish reversal. This is based on the SMA. You can toggle this off and/or on as desired.
It is recommended to leave ETH (extended trading hours) turned off and RTH turned on.
Please read the instructions carefully.
If you require further assistance, I have posted a tutorial video.
Please be sure you are reading and/or watching carefully.
If you have questions, please feel free to post them below. But bear in mind I likely will not respond if it is already addressed in the description above (this happens often).
Also, feel free to leave your comments or suggestions below as well.
Thanks for checking this out. If you are interested in volume based trading, I suggest also checking out my Buyer to Seller volume indicator which cumulates total buying vs selling volume over a designated lookback period. Both of these used in conjunction are very powerful tools for volume based traders! ( Available here )
NOTE:
The boxes drawn in the chart are my own for demonstration purposes. I unfortunately cannot get the indicator to overlay the boxes on the chart in a separate viewing pane. That is why I opted to use the barcolor function to change the candle color instead :-).
Thanks again everyone and safe trades!
Truncate Volume SpikesTruncates or caps the height of the volume bar. Many times, there is a day where the volume eclipses the recent volume and makes the rest of the volume compressed and difficult to see.
This script cuts off the volume at a user defined multiple of average daily volume and places a label above and to the left showing the true volume.
My one gripe is that it doesn't yet handle overlapping labels. At some point, I will see if I can fix that.
Cumulative Volume DeltaThis indicator is called Cumulative Volume Delta (CVD), and it is the cumulative difference between buying and selling pressure.
Note, however, that it is not an exact CVD, because Pine Script does not allow you to get the Bid Volume and Ask Volume.
Instead, it uses volume and candlestick length to determine the pressure.
Example: Volume is 100, price change is +1.0% → Buying pressure is 1
Volume is 100, price change is -0.5% → Selling pressure is 0.5
このインジケーターは、Cumulative Volume Delta(CVD)と呼ばれるもので、買い圧力と売り圧力の差を累積したものです。
しかし、Pine Scriptでは買い圧力と売り圧力(Bid VolumeとAsk Volume)を取得することはできないため、正確なCVDではないことに注意してください。
代わりに出来高とローソク足の長さで圧力を判断判断しています。
例:出来高が100、価格の変動が+1.0% → 買い圧力は1
出来高が100、価格の変動が-0.5% → 売り圧力は0.5
Relative VolumeIt is difficult to know how much volume is going on DURING the last bar,
therefore this "Relative Volume" (RV) script, previous bars are as usual, but the last one
adjusts the measured volume by comparing how much time passed and multiplying
this with the volume.
Examples:
Here (5 minute bar) there are 31 sec passed of the 5 minutes
The standard volume show little volume (since there is only 31s passed)
The "RV" multiplies this so you'll see how much this volume would be over 5 minutes,
IF everything goes the same for the rest of the 5'.
1' 5sec passed:
(so relatively more volume)
3' 4sec passed:
(With about 2' to go, you see there is a lot going on with the volime,
while seeing the standard volume, nothing much...)
Little 4' passed:
4,5':
Almost 5' gone:
Important:
This "RV" volume can diminish when during the bar the volume fades.
I think this can help evaluating the volume during the last bar
W example:
M example:
(You can clearly see that during the first 4 days there is a lot going on!)
Investonomer - BS VolumeBuy Sell Volume Indicator is a free indicator which can be used with any instrument (stock, index or CFD) where volume information is available on TradingView.This indicator shows us a volume based view of the market activity and it helps us distiguish whether buyer are aggressive or sellers are. Basically, this indicator plots first plots the buyer volume in green. Then the seller volume is printed in red.
If Sellers are more, you will red only, whereas if buyers are more, you will selling volumes and then extra green over it which shows how many buyers are there in the market.
BBP (Bittex, Poloniex, Bitfinex) + standart volumeThe script wrote for pairs of crypto currency with XXX USD. On others it does not work. By and large, it is suitable only for analysis of TOP coins.
What it consists of:
The script pulls volumes from exchanges: Bitfinex, Bittrex, Poloniex + the volume of the coin itself through the dollar indicator normalized.
Based on the volume from the indicator "dollar normalized volume"
Works with pairs XXX USD (do not confuse with USDT)
Forex Multi Exchange VolumeHi traders! Forex Multi Exchange Volume (FMEV) aggregates and plots trading volumes for supported forex pairs over multiple different major forex exchanges.
Supported exchanges
- FXCM
- OANDA
- FOREX.COM
- PEPPERSTONE
- GLOBALPRIME
Limitations
Because of the fact that FMEV is pulling data from from multiple different exchanges and is computationally intensive it can take a couple of seconds to load while charting certain forex pairs.
Estimated Up Down VolumeThis indicator plot estimated Up volume and Down volume.
Adjust colors to the default volume indicator.
Performante's Average Ethereum Volume IndicatorPerformante's Ethereum Volume Indicator takes the volume from the biggest exchanges and plots the average volume.
Performante's Average Bitcoin Volume IndicatorPerformante's Bitcoin Volume Indicator takes the volume from the biggest exchanges and plots the average volume.
Happy Trading!
Candle Color Volumescript baseado na alteração das cores do candle conforme o volume de trocas.
script based on changing the colors of the candle according to the volume.
Noro's Multi-exchange VolumeThe sum of volumes (5 different exchanges) at the same time. The exchanges can be chosen. Less than five exchanges are possible. For this purpose it is necessary to erase the text in the field.
5 min volume scalperThis scalper try to do it by volumes
The exit either by take profit or the signals, make the TP fit for your need so you will get better exit points
the len control the length so higher will be less signals lower is more
alerts inside
you free to change this code and do what ever you want with it
I hope you can make it better:)
BTC Combined VolumeI edited an existing script to include Bitmex volume. I'm no expert at this but I hope it works!
Cheers,
G
Mirrored Buy/Sell Volume + Cumulative DeltaUser Guide: Mirrored Buy/Sell Volume (Histogram)
🔍 What It Does
Displays green bars above zero for estimated buy volume
Displays red bars below zero for estimated sell volume
Adds a blue line showing Cumulative Delta (buy − sell over time)
Optional threshold lines help spot when net momentum builds up
📊 How Volume is Estimated
Same estimation method as the table version:
Buy Volume is proportion of volume estimated using (close - low) / (high - low)
Sell Volume is remainder of the total volume
Cumulative Delta = running total of (Buy − Sell) volume
This gives you:
A real-time sense of which side is gradually gaining control
More context than looking at candles or volume bars alone
✅ Best For
Visual trade decision support: who’s winning the tug-of-war?
Spotting trend initiation or momentum shifts
Combining with oscillator/trend tools for confirmation
⚠️ Limitations
Still an approximation — not based on actual trade aggressor data
Cannot separate passive vs. aggressive orders
Cumulative Delta does not reset unless specifically coded to do so
May mislead if the bar has long wicks or closes near midpoint
Session VolumeThis script tracks and displays 30-minute volume segments during the Regular Trading Hours (RTH) session. It allows traders to visually compare each time block’s volume today vs. the same block from the previous day, helping spot early signs of strength, weakness, or divergence.
Features:
Tracks 13 blocks from 9:30 AM to 4:15 PM ET.
Compares today's volume against historical volume from the same time block yesterday.
Highlights percentage changes per block.
Summary row totals show overall volume trend today vs. yesterday.
This tool is useful for discretionary traders, auction market theorists, and anyone who incorporates market-generated information into their decision-making.
Bull vs Bear Volume on Price ChartThis script overlays estimated bullish and bearish volume directly on the price chart, making it easy to spot buying vs. selling pressure without switching to a separate volume pane.
🔍 Features:
📈 Bullish volume markers appear as green triangles below the candle.
📉 Bearish volume markers appear as red triangles above the candle.
🔄 Optional smoothing to reduce noise using simple moving average (SMA).
⚠️ Volume spike highlights: Bullish spikes turn lime green, bearish spikes turn bright red.
🔢 Toggle labels to see estimated volume values above/below each candle.
🔄 Works on all timeframes, from intraday to weekly/monthly charts.
📐 Methodology:
Bullish and bearish volume are estimated using the candle's range:
More bullish volume when the close is near the high.
More bearish volume when the close is near the low.
This is a visual proxy, not true order flow data.
Daily Volume High Notifier📜 Script Description – Daily Volume High Notifier
This indicator monitors trade volume and sends an alert whenever a new daily high in volume is reached. The high volume is reset at the beginning of each trading day, allowing traders to stay informed of significant intraday volume spikes.
🛠️ Features:
Tracks the highest trade volume for the current day.
Resets the volume high tracker at the start of each new day.
Sends a real-time notification (alert()) whenever a new volume high is detected.
Useful for identifying unusual activity, potential breakouts, or institutional participation.
📊 Visual Elements:
Blue histogram for standard volume.
Red line showing the current day’s highest volume so far.
🔔 How to Use:
Add the script to any chart.
Enable alerts using the built-in alert() function.
Receive notifications every time volume hits a new high for the day.
🔔 Setting up Alerts in TradingView:
After adding this indicator to your chart:
Click the Alarm Clock (Alerts) icon.
Set condition: Daily Volume High Notifier → alert() function call .
Choose your alert type (app notification, email, popup, etc.).
Name it something like "Volume High Alert" and hit Create.
This tool is ideal for day traders, scalpers, and volume-based strategy traders who want to be instantly notified of spikes in market activity.
AI Volume StrategyAI Volume Strategy detects significant volume spikes and combines them with trend direction and candlestick color to generate buy and sell signals. The strategy uses an Exponential Moving Average (EMA) of volume to identify abnormal volume spikes that may indicate strong market activity. Additionally, it uses a 50-period EMA of price to filter the trend and decide on entry direction.
Key Features:
Volume Spike Detection: The strategy detects when the current volume exceeds the EMA of volume by a user-defined multiplier, signaling abnormal increases in market activity.
Trend Direction Filter: The strategy uses a 50-period EMA of price to determine the market trend. Buy signals are generated when the price is above the EMA (uptrend), and sell signals are generated when the price is below the EMA (downtrend).
Candle Color Filter: The strategy generates a buy signal only when the current candle is bullish (green) and a sell signal only when the current candle is bearish (red).
Exit after X Bars: The strategy automatically closes the position after a specified number of bars (default is 5 bars), but the exit condition can be adjusted based on user preference, timeframe, and backtesting results. The default exit is after 5 bars, but users can set it to 1 bar or any other number depending on their preferences and strategy.
Signals:
Buy Signal: Generated when a volume spike occurs, the trend is upward, and the current candle is bullish.
Sell Signal: Generated when a volume spike occurs, the trend is downward, and the current candle is bearish.
Alerts:
Buy Alert: Alerts the user when a buy signal is triggered.
Sell Alert: Alerts the user when a sell signal is triggered.
Visualization:
Buy Signal: A green label appears below the bar when the buy conditions are met.
Sell Signal: A red label appears above the bar when the sell conditions are met.
Volume EMA: Optionally, the Volume EMA line can be plotted on the chart to visualize volume trends.
This strategy helps traders identify potential entry points based on increased volume activity while considering trend direction and candlestick patterns. With the ability to adjust the exit condition, users can fine-tune the strategy to their specific needs and backtest results.
AI Volume SignalsAI Volume Signals
The AI Volume Signals indicator detects significant volume spikes and combines them with trend direction and candle color to generate buy and sell signals. This script utilizes an Exponential Moving Average (EMA) of volume to detect abnormal volume spikes, which could indicate strong market activity. It also filters signals based on the trend direction determined by a 50-period EMA of the price.
Key Features:
Volume Spike Detection: The indicator detects when the current volume exceeds the EMA of volume by a user-defined multiplier, signaling an unusual increase in market activity.
Trend Direction Filter: The 50-period EMA of the price is used to determine the market trend. Buy signals are generated when the price is above the EMA (uptrend), and sell signals occur when the price is below the EMA (downtrend).
Candle Color Filter: The indicator only generates a buy signal when the current candle is bullish (green), and a sell signal when the current candle is bearish (red).
Optional Volume EMA Line: A customizable option allows users to toggle the visibility of the Volume EMA line on the chart. By default, the line is hidden, but can be enabled in the settings.
Signals:
Buy Signal: Generated when a volume spike occurs, the trend is upward, and the current candle is bullish.
Sell Signal: Generated when a volume spike occurs, the trend is downward, and the current candle is bearish.
Alerts:
Buy Alert: Alerts the user when a buy signal is triggered.
Sell Alert: Alerts the user when a sell signal is triggered.
Visualization:
Buy Signal: A green label appears below the bar when the buy conditions are met.
Sell Signal: A red label appears above the bar when the sell conditions are met.
Volume EMA: A line representing the EMA of the volume is plotted on the chart for reference. The visibility of this line can be toggled in the settings.
This indicator can help traders identify potential entry points based on increased volume activity while considering trend direction and candlestick patterns.
Combined Up down with volumeIndicator Description: "Combined Up/Down with Volume"
This Pine Script indicator combines price momentum and volume spikes to identify potential trend reversals or breakouts. It checks two key conditions:
Price Movement – A minimum percentage change (% check) in closing price.
Volume Spike – Trading volume exceeding a user-defined threshold (Volume above).
How It Works
1. Price Momentum Check
Calculates the 1-period Rate of Change (ROC) of the closing price.
Triggers when the absolute ROC ≥ % check (e.g., 5%).
2. Volume Spike Check
Compares current volume against a threshold (e.g., 1,000,000).
Triggers when volume exceeds this level.
3. Signal Plotting
If use = true:
Plots a purple circle below the bar when both conditions are met.
If use = false:
Plots a circle below the bar for price momentum alone.
Plots a circle (default position) for high volume alone.