Cumulative Volume Delta (CVD)█ OVERVIEW
Cumulative Volume Delta (CVD) is a volume-based trading indicator that provides a visual representation of market buying and selling pressure by calculating the difference in traded volumes between the two sides. It uses intrabar information to obtain more precise volume delta information than methods using only the chart's timeframe.
Volume delta is the net difference between Buy Volume and Sell Volume. Positive volume delta indicates that buy volume is more than sell volume, and opposite. So Cumulative Volume Delta (CVD) is a running total/cumulation of volume delta values, where positive VD gets added to the sum and negative VD gets subtracted from the sum.
I found simple and fast solution how to calculate CVD, so made plain and concise code, here is CVD function :
cvd(_c, _o, _v) =>
var tcvd = 0.0, delta = 0.0
posV = 0.0, negV = 0.0
totUV = 0.0, totDV = 0.0
switch
_c > _o => posV += _v
_c < _o => negV -= _v
_c > nz(_c ) => posV += _v
_c < nz(_c ) => negV -= _v
nz(posV ) > 0 => posV += _v
nz(negV ) < 0 => negV -= _v
totUV += posV
totDV += negV
delta := totUV + totDV
cvd = tcvd + delta
tcvd += delta
cvd
where _c, _o, _v are close, open and volume of intrabar much lower timeframe.
Indicator uses intrabar information to obtain more precise volume delta information than methods using only the chart's timeframe.
Intrabar precision calculation depends on the chart's timeframe:
CVD is good to use together with open interest, volume and price change.
For example if CVD is rising and price makes good move up in short period and volume is rising and open interest makes good move up in short period and before was flat market it is show big chance to pump.
Volumeanalysis
VEMA_LTFVEMA indicator is based on lower time frame volume data and it has 3 lines.
20, 50, 100 moving averages of the close price in each candle with the highest volume.
Effectively working fine and hence sharing.
Will Add more information with examples in next update
RVOL++Overview
RVOL++ is a valuable tool for intraday traders to gauge market participation and anticipate the pace of the market. By understanding the RVOL levels, traders can adjust their strategies and expectations to align with the current market conditions. RVOL is a simple mathematical formula that compares the current volume to a prior lookback period, such as the previous 5 days or previous 10 days. This indicator helps traders understand the level of interest or participation in the market, which in turn can indicate the speed or pace of the market.
How to calculate RVOL at Time
Check if the current time is within the specified time period (e.g., 9:30 AM to 5:00 PM EST).
If it is, calculate the current cumulative volume for that period.
Find the average cumulative volume for the same period over the past X days (where X is the lookback period).
Calculate the RVOL at Time as:
RVOL at Time =(Current Cumulative Volume/Average Cumulative Volume)×100
For more info about calculating RVOL at time please refer to the Tradingview article.
www.tradingview.com
Key Features of RVOL++
Two Session and Daily Modes: In Two Session mode, it calculates RVOL for two distinct trading sessions, while in Daily mode, it calculates RVOL for the entire trading day. Two Session mode helps for instruments like futures, forex, crypto that trade 23+ hours. If you are using an instrument such as a stock like AAPL, if you don't have pre-market/extended hours enabled you will want to use "Daily Mode".
Session Time Settings: The indicator allows users to define the trading session times in Eastern Standard Time (EST) for more accurate RVOL calculations.
Customizable Lookback Period: Users can set the number of days for the lookback period, allowing for flexibility in calculating the average volume at time (RVOL).
Color-Coded RVOL Histogram: The indicator displays a color-coded histogram to visualize RVOL levels. Different colors represent different RVOL ranges, making it easy to identify low, neutral, and high RVOL periods.
RVOL Ranges**: The indicator defines RVOL ranges as follows:
40 - 80: Low RVOL (Red/Yellow)
80 - 120: Neutral RVOL (Blue/Cyan)
120+: High RVOL (Green-Lime)
Low RVOL Environment
Expect slow market movement with limited opportunities.
Focus on A+ setups and be selective.
Use tighter stops, size down, and adjust trading goals.
Neutral RVOL Environment
Expect a more normalized trading pace with frequent rotations.
Lean on structure and incorporate other trading tools.
Use normal sizing and stop management.
High RVOL Environment
Expect the best opportunities for range expansion and rotations.
Be more relaxed about overtrading but stay focused on structure.
Start with smaller initial size and build up to a full position.
Volume Spike IndicatorHello dear traders,
Today we're discussing an indicator I've coded: the Volume Spike Indicator (VSI).
The indicator isn't a groundbreaking invention and certainly not a novelty. Nevertheless, I haven't seen this version of the indicator on TradingView before, so I'd like to introduce it.
1. The Origin of the Idea:
We're all familiar with volume charts: A volume chart visually represents the trading activity for a specific asset over a certain period, indicating the total number of shares or contracts traded.
We also know that volume spikes can significantly impact the market. A volume spike represents an extreme anomaly, a day, week, or month with an extraordinary amount of trading. However, recognizing these spikes in practice isn't always straightforward. What constitutes high volume? How do we define and identify it? The answers to these questions aren't easy.
It's commonly said that a volume spike could be identified if the volume is 25% more than the average of the two weeks prior, but how do you measure this 25%? It's not always easy to calculate, especially in real-time.
This challenge led me to develop the concept into an indicator.
How Does It Work?
Imagine being able to "feel" the market's energy like a surfer feels the ocean. The VSI does something similar by examining trading volume and comparing it to what has been typical over the past few weeks. Here's a quick look at the magic behind it:
Step 1: Establishing the Baseline: We start by establishing a baseline, i.e., the average trading volume over a given period. Let's use the last 10 days as the default setting. We choose 10 days because, in the traditional stock market, 10 days represent two weeks if you subtract weekends. This gives us a fixed line to compare against.
Step 2: Recognizing Peaks: Next, we look for days when the trading volume significantly exceeds this average. The size of the jump is where you have a say. You can set a threshold, such as 25%, to define what you consider a volume spike.
Step 3: The Calculation: This is where the math comes into play. We calculate the percentage change in today's volume compared to the average volume of the last 10 days. For example, if today's volume is 30% above the average and you've set your threshold at 25%, the VSI will recognize this as a spike.
Step 4: Visual Cue: These spikes are then plotted on a graph, with each spike represented as a bar. The height of the bar indicates the spike's percentage size, so you can see at a glance how significant a spike is.
Step 5: Intuitive Color Coding: For quick analysis, the VSI employs a color-coding system. Exceptionally high peaks, such as those exceeding a 100% increase, are highlighted in blue to emphasize their importance. Other peaks are shown in red, creating a visual hierarchy for quick volume data interpretation.
Why This Matters:
Identifying these spikes can help pinpoint the beginning or end of a trend. The idea is that when trading peaks at a certain level, there might be no more buyers or sellers willing to engage at that price level. Volume peaks, and a reversal is likely imminent. It's a simple yet effective concept. Therefore, it's crucial to use this indicator in the context of the trend, as not every spike carries the same significance.
Customizable:
The beauty of the VSI lies in its flexibility. Trading futures? You might want to adjust the averaging period to 14 days to better suit your market. You have full control over the settings to tailor them to your trading style.
Interpreting the Figures:
A positive percentage indicates a volume spike above the average – the higher the percentage, the more significant the spike.
If the percentage exceeds a certain threshold (which you can set, e.g., 25%), it signals a volume spike, indicating increased market activity that could precede significant price movement.
What makes the VSI genuinely adaptable is your ability to tweak the parameters to suit your needs.
Are you trading in a volatile market? Extend the SMA period to smooth out the noise. Trading in a 24-hour market? Adjust the length of your SMA. Seeking finer details? Shorten it. The VSI is yours to adapt to your trading strategy.
---------------------------------------------------------------------------------------------------------------------
As we wrap up this introduction to the Volume Spike Indicator, I hope you're as excited about its potential as I am. This tool, born out of curiosity and a desire for clarity in the vast ocean of market data, is designed to be your ally in navigating the waves of trading activity.
Remember, the true power of the VSI lies not just in its ability to highlight significant volume spikes, but in its adaptability to your unique trading style and needs. Whether you're charting courses through the tumultuous seas of day trading or navigating the broader currents of long-term investments, the VSI is here to offer insights and guidance.
I encourage you to experiment with it, customize it, and see how it can enhance your trading strategy. And as you do, remember that every tool, no matter how powerful, is just one piece of the puzzle. Combine the VSI with your knowledge, experience, and intuition to make informed and strategic trading decisions.
Thank you for taking the time to explore the Volume Spike Indicator with me.
Best Regards,
Karim Subhieh
Volume Flow Oscillator (VFO)I created the Volume Flow Oscillator (VFO) to explore the intricate interplay between volume and price movements over a specific lookback period. This tool contrasts volumes that move in sync with the price against those that move in opposition, signaling potential overbought or oversold territories. To determine the direction, I compare the current price to its value four periods back, shedding light on underlying bullish or bearish momentum. The VFO enriches my analysis and decision-making by offering a detailed perspective on how volume trends correlate with price changes. Its color-coded visuals are crucial for highlighting optimal trading points based on volume dynamics.
Time Relative Volume Oscillator | Flux Charts💎 GENERAL OVERVIEW
The relative volume indicator aims to improve upon the default existing relative volume indicator by comparing volumes between previous trading sessions rather than previous candles. As such, it works best on lower time frames as there is more data to compare with. The purpose of the indicator is to show how the current bar’s volume compares to the volume at the same time on previous trading days.
There exists a couple different modes and combinations that each provide a different perspective on the trading volume.
Oscillator mode
Oscillator mode starts with the same relative volume calculation, but adds two EMAs of different lengths that diverge and converge. Like the MACD, it plots the difference as a histogram. This functions as an easy way to view when relative volume is increasing or decreasing.
How to use:
The oscillator oscillates between -1 and 1. It moves along with volume direction, so this mode can be used to view the current volume direction in a lagging fashion. In oscillating markets, this indicator can give an idea of how buy/sell volume is moving and where it currently stands. Small arrows mark where reversals are predicted, when the histogram crosses over 0. The biggest pitfall of this mode is that, in a straight trending market, the two EMAs converge and it gives a false reversal signal.
Delta mode
Delta volume mode is a step up from the buy/sell volume mode. It separates both sides into the top and bottom, while also displaying the actual volume behind it in a semi transparent overlay. The best feature, however, is the delta oscillator. This oscillator fluctuates depending on how buy/sell volume is changing and plots bullish/bearish labels when the dominant side (bullish/bearish) changes. The signals, while a bit common, can sometimes dictate large direction changes, started by a dominant volume switch.
On top of different display modes, there is also one more volume mode: buy/sell volume. Instead of only showing the total volume and relative volume, it calculates and separates buying and selling volume.
This volume mode displays differently in all three viewing modes, but the basic principle is the same. It adds a vital piece of information to the chart without adding clutter. The calculation for buy/sell volume uses the candle wicks and body to compare bullish and bearish movement.
Classic mode
Classic mode takes the default volume indicator and improves upon it by also displaying the relative volume on top of the actual volume. Relative volume is calculated similarly between the three display modes: simply by comparing the current bar’s volume to the volume at the same time during previous trading days. Classic mode displays this “relative volume” as well as a simple EMA over top of the actual trading volume.
Originality
The script improves upon the existing relative volume indicator by using previous trading days rather than previous candles to generate the relative volume. On top of that, the calculation methods are unique, using different formulas like variations of the sigmoid function to smooth noise. The main issue this script aims to fix is that towards the start or end of the day relative volume indicators all see spikes as volume grows into close. The new relative volume calculations fix this problem and show what the “true” relative volume is because they compare the current bar to the “same” bar on previous trading sessions.
Standardized Orderflow [AlgoAlpha]Introducing the Standardized Orderflow indicator by AlgoAlpha. This innovative tool is designed to enhance your trading strategy by providing a detailed analysis of order flow and velocity. Perfect for traders who seek a deeper insight into market dynamics, it's packed with features that cater to various trading styles. 🚀📊
Key Features:
📈 Order Flow Analysis: At its core, the indicator analyzes order flow, distinguishing between bullish and bearish volume within a specified period. It uses a unique standard deviation calculation for normalization, offering a clear view of market sentiment.
🔄 Smoothing Options: Users can opt for a smoothed representation of order flow, using a Hull Moving Average (HMA) for a more refined analysis.
🌪️ Velocity Tracking: The indicator tracks the velocity of order flow changes, providing insights into the market's momentum.
🎨 Customizable Display: Tailor the display mode to focus on either order flow, order velocity, or both, depending on your analysis needs.
🔔 Alerts for Critical Events: Set up alerts for crucial market events like crossover/crossunder of the zero line and overbought/oversold conditions.
How to Use:
1. Setup: Easily configure the indicator to match your trading strategy with customizable input parameters such as order flow period, smoothing length, and moving average types.
2. Interpretation: Watch for bullish and bearish columns in the order flow chart, utilize the Heiken Ashi RSI candle calculation, and look our for reversal notations for additional market insights.
3. Alerts: Stay informed with real-time alerts for key market events.
Code Explanation:
- Order Flow Calculation:
The core of the indicator is the calculation of order flow, which is the sum of volumes for bullish or bearish price movements. This is followed by normalization using standard deviation.
orderFlow = math.sum(close > close ? volume : (close < close ? -volume : 0), orderFlowWindow)
orderFlow := useSmoothing ? ta.hma(orderFlow, smoothingLength) : orderFlow
stdDev = ta.stdev(orderFlow, 45) * 1
normalizedOrderFlow = orderFlow/(stdDev + stdDev)
- Velocity Calculation:
The velocity of order flow changes is calculated using moving averages, providing a dynamic view of market momentum.
velocityDiff = ma((normalizedOrderFlow - ma(normalizedOrderFlow, velocitySignalLength, maTypeInput)) * 10, velocityCalcLength, maTypeInput)
- Display Options:
Users can choose their preferred display mode, focusing on either order flow, order velocity, or both.
orderFlowDisplayCond = displayMode != "Order Velocity" ? display.all : display.none
wideDisplayCond = displayMode != "Order Flow" ? display.all : display.none
- Reversal Indicators and Divergences:
The indicator also includes plots for potential bullish and bearish reversals, as well as regular and hidden divergences, adding depth to your market analysis.
bullishReversalCond = reversalType == "Order Flow" ? ta.crossover(normalizedOrderFlow, -1.5) : (reversalType == "Order Velocity" ? ta.crossover(velocityDiff, -4) : (ta.crossover(velocityDiff, -4) or ta.crossover(normalizedOrderFlow, -1.5)) )
bearishReversalCond = reversalType == "Order Flow" ? ta.crossunder(normalizedOrderFlow, 1.5) : (reversalType == "Order Velocity" ? ta.crossunder(velocityDiff, 4) : (ta.crossunder(velocityDiff, 4) or ta.crossunder(normalizedOrderFlow, 1.5)) )
In summary, the Standardized Orderflow indicator by AlgoAlpha is a versatile tool for traders aiming to enhance their market analysis. Whether you're focused on short-term momentum or long-term trends, this indicator provides valuable insights into market dynamics. 🌟📉📈
Volume-Trend Sentiment (VTS) [AlgoAlpha]Introducing the Volume-Trend Sentiment by AlgoAlpha, a unique tool designed for traders who seek a deeper understanding of market sentiment through volume analysis. This innovative indicator offers a comprehensive view of market dynamics, blending volume trends with price action to provide an insightful perspective on market sentiment. 🚀📊
Key Features:
1. 🌟 Dual Trend Analysis: This indicator combines the concepts of price movement and volume, offering a multi-dimensional view of market sentiment. By analyzing the relationship between the closing and opening prices relative to volume, it provides a nuanced understanding of market dynamics.
2. 🎨 Customizable Settings: Flexibility is at the core of this indicator. Users can adjust various parameters such as the length of the volume trend, standard deviation, and SMA length, ensuring a tailored experience to match individual trading strategies.
3. 🌈 Visual Appeal: With options to display noise, the main plot, and background colors, the indicator is not only informative but also visually engaging. Users can choose their preferred colors for up and down movements, making the analysis more intuitive.
4. ⚠️ Alerts for Key Movements: Stay ahead of market changes with built-in alert conditions. These alerts notify traders when the Volume-Trend Sentiment crosses above or below the midline, signaling potential shifts in market momentum.
How It Works:
The core of the indicator is the calculation of the Volume-Trend Sentiment (VTS). It is computed by subtracting a double-smoothed Exponential Moving Average (EMA) of the price-volume ratio from a single EMA of the same ratio. This method highlights the trend in volume relative to price changes.
volumeTrend = ta.ema((close - open) / volume, volumeTrendLength) - ta.ema(ta.ema((close - open) / volume, volumeTrendLength), volumeTrendLength)
To manage volatility and noise in the volume trend, the indicator employs a standard deviation calculation and a Simple Moving Average (SMA). This smoothing process helps in identifying the true underlying trend by filtering out extreme fluctuations.
standardDeviation = ta.stdev(volumeTrend, standardDeviationLength) * 1
smoothedVolumeTrend = ta.sma(volumeTrend / (standardDeviation + standardDeviation), smaLength)
A unique feature is the dynamic background color, which changes based on the sentiment level. This visual cue instantly communicates the market's bullish or bearish sentiment, enhancing the decision-making process.
getColor(volumeTrendValue) =>
sentimentLevel = math.abs(volumeTrendValue * 10)
baseTransparency = 60 // Base transparency level
colorTransparency = math.max(90 - sentimentLevel * 5, baseTransparency)
volumeTrendValue > 0 ? color.new(upColor, colorTransparency) : color.new(downColor, colorTransparency)
bgcolor(showBackgroundColor ? getColor(smoothedVolumeTrend) : na)
In summary, the Volume-Trend Sentiment by AlgoAlpha is a comprehensive tool that enhances market analysis through a unique blend of volume and price trends. Whether you're a seasoned trader or just starting out, this indicator offers valuable insights into market sentiment and helps in making informed trading decisions. 📈📉🔍🌐
Volume Profile [TFO]This indicator generates Volume Profiles from which to display insights about recent Volume Points of Control and High Volume Nodes. Volume Profile is a way to view trading volume by the price where trades have occurred, rather than the time when they occur (as seen by traditional Volume indicators).
By selecting a Resolution Timeframe (1m in this example), we can aggregate the volume at different prices to build a Volume Profile for a specified Profile Timeframe (1D in this example). In this indicator, we make the simple assumption that a given candle's volume is distributed evenly across all points. Realistically, this is seldom the case, but it gives us a starting point to easily estimate the volume at a given price, in turn helping us to build our profiles in a trivial way.
If we do this for all Resolution Timeframe candles within a Profile Timeframe (all 1m candles in a single 1D candle, in this example), then we can successfully aggregate this data and build a full Volume Profile. And thankfully, Pine Script's new polyline feature ultimately allow us to keep more Volume Profiles on our charts. Before polylines, we would have to consider using lines or boxes to represent the individual levels within a given profile, and each script currently has a cap of 500 lines and boxes, respectively. However, one single polyline can be used to draw the complex shape of an entire profile, and we may show up to 100 polylines in a given script. This helps us keep a lot more data on our charts!
Compared to TradingView's Session Volume Profile indicator (blue/yellow), we can see that our indicator (grey) is nearly identical, which verifies that our assumption of a uniform volume distribution is enough to roughly estimate a given Volume Profile. Note in this example the Row Size was set to 200, meaning that 200 levels are used to approximate profiles from each session's high to its low.
Show VPOC will show the volume point of control of each profile, which represents the price level where the largest amount of volume was traded for a given profile. This is shown with the red lines in the following chart.
Extend Last N VPOCs will look for the most recent, user-defined number of VPOCs (not including the current session's VPOC that's still developing) and extend them to the right of the chart as points of reference. The Show Labels Above option will annotate each VPOC with its respective date above a specified timeframe. This way, if one was using Volume Profiles on intraday timeframes, there wouldn't need to be several date strings all showing the same day.
Show Previous HVNs will show high volume nodes from the previous session. The HVN Strength setting is similar to a "pivot strength" that I use in a lot of my scripts - essentially, HVNs are validated by treating them as local highs. With a HVN Strength of 10 for example, if a given level contains more volume than the 10 levels above and below it, then it is validated as a HVN.
For a cleaner look and feel, HVNs can instead be shown as levels (lines) instead of areas (boxes). With levels enabled, solid lines denote the previous session's VPOC, and dotted lines represent all other HVNs. With areas enabled instead, the tops and bottoms will extend above/below the HVN level until a point with greater volume is discovered (marking the "end" of the node).
This indicator can be computationally intensive and may crash from taking too long to execute. In these cases, it's best to disable unused features, decrease the number of Rows, and/or simply reload the chart until it populates.
BTC ETF VolumesVolume
This script plots the trading volume of all BTC spot ETFs as well as the aggregate volume. Works on any chart and any timeframe.
Indicators
The volume of every ETF is plotted in a different color, with the total column adding up to the aggregate volume.
If you have price and indicator labels enabled you will also see individual ETF volume on your price scale on the right hand side.
If more BTC ETFs get launched I will add them.
VWAP LEVELS [PRO]32 VWAP levels with labels and a table to help you identify quickly where current price is in relation to your favorite VWAP pivot levels. To help reduce cognitive load, 4 colors are used to show you where price is in relation to a VWAP level as well as the strength of that respective level. Ultimately, VWAP can be an invaluable source of support and resistance; in other words you'll often see price bounce off of a level (whether price is increasing or decreasing) once or multiple times and that could be an indication of a price's direction. Another way that you could utilize this indicator is to use it in confluence with other popular signals, such as an EMA crossover. Many traders will wait till a bar's close on the 5m or 10m time frame above a VWAP level (developing 1D VWAP would be a popular choice) before making a decision on a potential trade especially if price is rising above the 1D VWAP *and* there's been a recent 100 EMA cross UP of the 200 EMA. These are 2 bullish signals that you could look for before possibly entering in to a trade.
I've made this indicator extremely customizable:
⚡Each VWAP level has 2 labels: 1 "at level" and 1 "at right", each label and price can be disabled
⚡Each VWAP label has its own input for label padding. The "at right" label padding input allows you to zoom in and out of a chart without the labels moving along their respective axis. However, the "at level" label padding input doesn't work the same way once you move the label out of the "0" input. The label will move slightly when you zoom in and out
⚡Both "current" and "previous" VWAP levels have their own plot style that can be changed from circles, crosses and lines
⚡Significant figures input allows you to round a price up or down
⚡A price line that allows you to identify where price is in relation to a VWAP level
⚡A table that's color coded the same way as the labels. The labels and table cells change to 1 of 4 colors when "OC Check Mode" is enabled. This theory examines if the VWAP from the Open is above or below the VWAP from Close and if price is above or below normal VWAP (HLC3). This way we have 4 states:
Red = Strong Downtrend
Light Red = Weak Downtrend
Light = Weak Uptrend
Green = Strong Uptrend
Something to keep in mind: At the start of a new year, week or month, some levels will converge and they'll eventually diverge slowly or quickly depending on the level and/or time frame. You could add a few labels "at level" to show which levels are converging at the time. Since we're at the beginning of a new year, you'll see current month, 2 month, 3 month etc converge in to one level.
🙏Thanks to (c)MartinWeb for the inspiration behind this indicator.
🙏Thanks to (c)SimpleCryptoLife for the libraries and code to help create the labels.
Volume Exhaustion [AlgoAlpha]Introducing the Volume Exhaustion by AlgoAlpha, is an innovative tool that aims to identify potential exhaustion or peaks in trading volume , which can be a key indicator for reversals or continuations in market trends 🔶.
Key Features:
Signal Plotting : A special feature is the plotting of 'Release' signals, marked by orange diamonds, indicating points where the exhaustion index crosses under its previous value and is above a certain boundary. This could signify critical market points 🚨.
Calculation Length Customization : Users can adjust the calculation and Signal lengths to suit their trading style, allowing for flexibility in analysis over different time periods. ☝️
len = input(50, "Calculation Length")
len2 = input(8, "Signal Length")
Visual Appeal : The script offers customizable colors (col for the indicator and col1 for the background) enhancing the visual clarity and user experience 💡.
col = input.color(color.white, "Indicator Color")
col1 = input.color(color.gray, "Background Color")
Advanced Volume Processing : At its core, the script utilizes a combination of Hull Moving Average (HMA) and Exponential Moving Average (EMA) applied to the volume data. This sophisticated approach helps in smoothing out the volume data and reducing lag.
sv = ta.hma(volume, len)
ssv = ta.hma(sv, len)
Volume Exhaustion Detection : The script calculates the difference between the volume and its smoothed version, normalizing this value to create an exhaustion index (fff). Positive values of this index suggest potential volume exhaustion.
f = sv-ssv
ff = (f) / (ta.ema(ta.highest(f, len) - ta.lowest(f, len), len)) * 100
fff = ff > 0 ? ff : 0
Boundary and Zero Line : The script includes a boundary line (boundary) and a zero line (zero), with the area between them filled for enhanced visual interpretation. This helps in assessing the relative position of the exhaustion index.
Customizable Background : The script colors the background of the chart for better readability and to distinguish the indicator’s area clearly.
Overall, Volume Exhaustion is designed for traders who focus on volume analysis. It provides a unique perspective on volume trends and potential exhaustion points, which can be crucial for making informed trading decisions. This script is a valuable addition for traders looking to enhance their trading experience with advanced volume analysis tools.
Order Blocks | Flux Charts💎 GENERAL OVERVIEW
Introducing our new Volumized Order Blocks indicator! This new indicator can render order blocks with their volumetric information. It's highly customizable with detection, invalidation and style settings.
Features of the new Volumized Order Blocks indicator :
Render Bullish & Bearish Order Blocks
Enable / Disable Volumetric Information
Enable / Disable Historic Zones
Visual Customizability
📌 HOW DOES IT WORK ?
Order blocks occur when there is a high amount of market orders exist on a price range. It is possible to find order blocks using specific formations on the chart.
The high & low volume of order blocks should be taken into consideration while determining their strengths. The determination of the high & low volume of order blocks are similar to FVGs, in a bullish order block, the high volume is the last 2 bars' total volume, while the low volume is the oldest bar's volume. In a bearish order block scenario, the low volume becomes the last 2 bars' total volume.
🚩UNIQUENESS
The ability to render the total volume of Order Blocks as well as bullish / bearish volume ratio is what sets this Order Block indicator apart from others. Also the ability to combine overlapping Order Block zones will result in cleaner charts for traders.
⚙️SETTINGS
1. General Configuration
Volumetric Info -> The volumetric information of the Order Blocks will be rendered if activated.
Zone Invalidation -> Select between Wick & Close price for Order Block Invalidation.
Swing Length -> Swing length is used when finding order block formations. Smaller values will result in finding smaller order blocks.
Volume Speed [By MUQWISHI]▋ INTRODUCTION :
The “Volume Dynamic Scale Bar” is a method for determining the dominance of volume flow over a selected length and timeframe, indicating whether buyers or sellers are in control. In addition, it detects the average speed of volume flow over a specified period. This indicator is almost equivalent to Time & Sales (Tape) .
_______________________
▋ OVERVIEW:
_______________________
▋ ELEMENTS
(1) Volume Dynamic Scale Bar. As we observe, it has similar total up and down volume values to what we're seeing in the table. Note they have similar default inputs.
(2) A notice of a significant volume came.
(3) It estimates the speed of the average volume flow. In the tooltip, it shows the maximum and minimum recorded speeds along with the time since the chart was updated.
(4) Info of entered length and the selected timeframe.
(5) The widget will flash gradually for 3 seconds when there’s a significant volume occurred based on the selected timeframe.
_______________________
▋ INDICATOR SETTINGS:
(1) Timezone.
(2) Widget location and size on chart.
(3) Up & Down volume colors.
(4) Option to enable a visual flash when a single volume is more than {X value} of Average. For instance, 2 → means double the average volume.
(5) Fetch data from the selected lower timeframe.
(6) Number of bars at chosen timeframe.
(7) Volume OR Price Volume.
_____________________
▋ COMMENT:
The Volume Dynamic Scale Bar should not be taken as a major concept to build a trading decision.
Please let me know if you have any questions.
Thank you.
Volume Heatmap 2024 | NXT2017 Christmas EditionHi big players around the world,
I wish you a merry christmas time.
Today I have a nice present for you: a new volume heatmap indicator for free using!
HISTORY
My first volume heatmap project got a lot of feedback and a big demand. You can find it here:
In this time pinescript version 4 was the newest one and I worked the first time with arrays.
Today we have pinescript version 5 and some new features. This is why I tried again with matrix function and the results are better than I expected.
HOW IT WORKS
The indicator calculates similar like the volume profile. It looks back and every volume where the close price is on the same row area, the volume will cumulated. How much rows the new chart view is showing, you can choose manually.
The mind behind this is to find high volume levels, where high volume catch the price in a range or get function as support/resistance line.
PICTURES
I hope it helps for your trading. You are welcome to give some comments.
Merry christmas and best regards
NXT2017
Liquidity Weighted Moving Averages [AlgoAlpha]Description:
The Liquidity Weighted Moving Averages by AlgoAlpha is a unique approach to identifying underlying trends in the market by looking at candle bars with the highest level of liquidity. This script offers a modified version of the classical MA crossover indicator that aims to be less noisy by using liquidity to determine the true fair value of price and where it should place more emphasis on when calculating the average.
Rationale:
It is common knowledge that liquidity makes it harder for market participants to move the price of assets, using this logic, we can determine the coincident liquidity of each bar by looking at the volume divided by the distance between the opening and closing price of that bar. If there is a higher volume but the opening and closing prices are near each other, this means that there was a high level of liquidity in that bar. We then use standard deviations to filter out high spikes of liquidity and record the closing prices on those bars. An average is then applied to these recorded prices only instead of taking the average of every single bar to avoid including outliers in the data processing.
Key features:
Customizable:
Fast Length - the period of the fast-moving average
Slow Length - the period of the slow-moving average
Outlier Threshold Length - the period of the outlier processing algorithm to detect spikes in liquidity
Significant Noise reduction from outliers:
Aggregate BTC Volume Spot - Ma78erAggregate BTC Volume indicator show aggregates trading volumes of Bitcoin from multiple trading platforms.
Exchange Include:
1: Binance - BTC(USDT, USDC, FDUSD, TUSD)
2: Coinbase - BTC(USD, EUR, USDT, GBP)
3: OKX - BTC(USDT, USDC)
4: BYBIT - BTC(USDT, USDC)
5: KUCOIN - BTC(USDT, USDC)
6: KRAKEN - BTC(USD, EUR, USDT, GBP, USDC)
7: Bitfinex - BTC(USD, EUR, GBP)
8: Bitstamp - BTC(USD, EUR, USDT, GBP, USDC)
9: GATEIO - BTC(USDT)
You can also add other exchange in script manually.
Trend Flow Profile [AlgoAlpha]Description:
The "Trend Flow Profile" indicator is a powerful tool designed to analyze and interpret the underlying trends and reversals in a financial market. It combines the concepts of Order Flow and Rate of Change (ROC) to provide valuable insights into market dynamics, momentum, and potential trade opportunities. By integrating these two components, the indicator offers a comprehensive view of market sentiment and price movements, facilitating informed trading decisions.
Rationale:
The combination of Order Flow and ROC in the "Trend Flow Profile" indicator stems from the recognition that both factors play critical roles in understanding market behavior. Order Flow represents the net buying or selling pressure in the market, while ROC measures the rate at which prices change. By merging these elements, the indicator captures the interplay between market participants' actions and the momentum of price movements, enabling traders to identify trends, spot reversals, and gauge the strength of price acceleration or deceleration.
Calculation:
The Order Flow component is computed by summing the volume when prices move up and subtracting the volume when prices move down. This cumulative measure reflects the overall order imbalance in the market, providing insights into the dominant buying or selling pressure.
The ROC component calculates the percentage change in price over a given period. It compares the current price to a previous price and expresses the change as a percentage. This measurement indicates the velocity and direction of price movement, allowing traders to assess the market's momentum.
How to Use It?
The "Trend Flow Profile" indicator offers valuable information to traders for making informed trading decisions. It enables the identification of underlying trends and potential reversals, providing a comprehensive view of market sentiment and momentum. Here are some key ways to utilize the indicator:
Spotting Trends: The indicator helps identify the prevailing market trend, whether bullish or bearish. A consistent positive (green) histogram indicates a strong uptrend, while a consistent negative (red) histogram suggests a robust downtrend.
Reversal Signals: Reversal patterns can be identified when the histogram changes color, transitioning from positive to negative (or vice versa). These reversals can signify potential turning points in the market, highlighting opportunities for counter-trend trades.
Momentum Assessment: By observing the width and intensity of the histogram, traders can assess the acceleration or deceleration of price momentum. A wider histogram suggests strong momentum, while a narrower histogram indicates a potential slowdown.
Utility:
The "Trend Flow Profile" indicator serves as a valuable tool for traders, providing several benefits. Traders can easily identify the prevailing market trend, enabling them to align their trading strategies with the dominant direction of the market. The indicator also helps spot potential reversals, allowing traders to anticipate market turning points and capture counter-trend opportunities. Additionally, the green and red histogram colors provide visual cues to determine the optimal duration of a long or short position. Following the green histogram signals when in a long position and the red histogram signals when in a short position can assist traders in managing their trades effectively. Moreover, the width and intensity of the histogram offer insights into the acceleration or deceleration of momentum. Traders can gauge the strength of price movements and adjust their trading strategies accordingly. By leveraging the "Trend Flow Profile" indicator, traders gain a comprehensive understanding of market dynamics, which enhances their decision-making and improves their overall trading outcomes.
Normalized Fisher Transformed VolumeGreetings Traders,
I am thrilled to introduce a game-changing tool that I've passionately developed to enhance your trading precision – the Normalized Fisher Transformed Volume indicator. Let's dive into the specifics and explore how this tool can empower you in the markets.
Unlocking Trading Precision:
Normalization and Transformation:
Normalize raw volume data to ensure a consistent scale for analysis.
The Fisher Transformation converts normalized volume data into a Gaussian distribution, providing enhanced insights into trend dynamics.
Flexible Modes for Tailored Strategies:
Choose from three distinct modes:
Volume T3 (MA) + Heatmap: Identify trends with T3 Moving Average and visualize volume strength with Heatmap.
Volume Percent Rank: Evaluate the position of current volume relative to historical data.
Volume T3 (MA) Percent Rank: Combine T3 Moving Average with percentile ranking for a comprehensive analysis.
Heatmap Visualization for Quick Insights:
Heatmap Zones and Lines visually represent volume strength relative to historical data.
Customize threshold multipliers and color options for precise Heatmap interpretation.
T3 Moving Average Integration:
Smoothed representation of volume trends with the T3 Moving Average enhances trend identification.
Percent Rank Analysis for Context:
Gauge the position of normalized volume within historical context using Percent Rank analysis.
User-Friendly Customization:
Easily adjust parameters such as length, T3 Moving Average length, Heatmap standard deviation length, and threshold multipliers.
Intuitive interface with colored bars and customizable background options for personalized analysis.
How to Use Effectively:
Mode Selection:
Identify your preferred trading strategy and select the mode that aligns with your approach.
Parameter Adjustment:
Fine-tune the indicator by adjusting parameters to match your preferred trading style.
Interpret Heatmap and T3 Analysis:
Leverage Heatmap and T3 Moving Average analysis to spot potential trend reversals, overbought/oversold conditions, and market sentiment shifts.
Conclusion:
The Normalized Fisher Transformed Volume indicator is not just a tool; it's your key to unlocking precision in trading. Crafted by Simwai, this indicator offers unique insights tailored to your specific trading needs. Dive in, explore its features, experiment with parameters, and let it guide you to more informed and precise trading decisions.
Trade wisely and prosper,
simwai
High volume candles.
High Volume Candles Indicator:
This is a simple tool that shows you when there's a lot of action in the market. It highlights the candles with the highest trading volume on your chart.
What It Does:
Picks the Busiest Candle: It points out the candle with the most trading in your set time.
Shows Buying and Selling: Green for lots of buying, red for lots of selling.
You Choose the Time Frame: Whether it's a few candles or many, it's up to you.
Best Part - Alerts:
Get Notified: The cool thing? It'll alert you when these big volume candles happen. You won't miss the important moments.
Use this to keep track of when things are really moving in the market, without having to watch your screen all the time.
Volatility ZigZagIt calculates and plots zigzag lines based on volatility and price movements. It has various inputs for customization, allowing you to adjust parameters like source data, length, deviation, line styling, and labeling options.
The indicator identifies pivot points in the price movement, drawing lines between these pivots based on the deviation from certain price levels or volatility measures.
The script labels various data points at the ZigZag pivot points on the chart. These labels provide information about different aspects of the price movement and volume around these pivot points. Here's a breakdown of what gets labeled:
Price Change: Indicates the absolute and average percentage change between the two pivot points. It displays the absolute or relative change in price as a percentage. Additionally, the average absolute price increase or the average rate of increase can also be labeled.
Volume: Shows the total volume and average volume between the two pivot points.
Number of Bars: Indicates the number of bars between the current and the last pivot point.
Reversal Price: Displays the price of the reversal point (the previous pivot).
Relative Volume Intensity Control Chart***NOTE THE VOLUME OSCILATOR PROVIDED AT THE BOTTOM IS FOR COMPARSION AND IS NOT PART OF THE INDICATOR****
This indicator provides a comprehensive and a nuanced representation of volume relative to historical volume. The indicator aims to provide insights into the relative intensity of trading volume compared to historical data. It calculates two types of relative volume intensity: mean volume intensity and point volume intensity. The final indicator, "Relative_volume_intensity," is a combination of these two.
1. Point Volume Intensity:
Calculate the ratio of the current volume to the corresponding SMA from the previous period for each of the periods.
Normalize each ratio by dividing it by the corresponding normalized SMA.
Assign weights to each normalized ratio and calculate the point volume intensity.
Point volume intensity calculates the intensity of the current trading volume at a specific point in time relative to its historical moving average. It assesses how much the current volume deviates from the previous historical average for different lookback periods(current volume/ average volume of previous n days). The calculation involves dividing the current volume by the corresponding previous historical moving average and normalizing the result. The purpose of point volume intensity is to capture the immediate impact of the current volume on the overall intensity, providing a more dynamic and responsive measure.
2. Mean Volume Intensity:
Calculate the simple moving averages (SMA) of the volume for different periods (5, 8, 13, 21, 34, 55, 89, 144).
Normalize each SMA by dividing it by the SMA with the longest lookback (144).
Assign weights to each normalized SMA and calculate the mean volume intensity.
Mean volume intensity, on the other hand, takes a broader approach by looking at the mean (average) of various historical moving averages of volume. Instead of focusing on the current volume alone, it considers the historical average intensity over multiple periods. The purpose of mean volume intensity is to provide a smoother and more stable representation of the overall historical volume intensity. It helps filter out short-term fluctuations and provides a more comprehensive view of how the current volume compares to historical norms.
Purpose of Both:
Both point volume intensity and mean volume intensity contribute to the calculation of the final indicator, "Relative_volume_intensity." The idea is to combine these two perspectives to create a more comprehensive measure of relative volume intensity. By assigning equal weights to both components and taking a balanced approach, the indicator aims to capture both short-term spikes in volume and trends in volume intensity over a relatively extended periods.
In calculation of both point volume intensity and mean volume intensity, shorter-term moving averages (e.g., 5, 8) have higher weights, suggesting a greater emphasis on recent volume behavior.
Visualization:
The script then calculates the mean and standard deviation of the relative volume intensity over a specified lookback length.
Plot lines for the centerline (mean), upper and lower 3 standard deviations, upper and lower 2 standard deviations, and upper and lower 1 standard deviation.
Plot the relative volume intensity as a step line with diamond markers.
It is displayed like a control chart where we can see how the relative intensity is behaving when compared to longer historical lookback period.
Logarithmic CVD [IkkeOmar]The LCVD is another Mean-Reversion Indicator. it doesn't detect trends and does not give a signal per se. However the logarithmic transformation is made to visualize the direction of the trend for the volume. This allows you to see if money is flowing in or out of an asset.
What it does is tell you if we have a flashcrash based on the difference in volume.
Think of this indicator like a form of a volatility index.
Smoothing input:
The only input is an input for the smoothing length of the logDelta.
Volume Calculation:
// @IkkeOmar
//@version=5
indicator('Logarithmic CVD', shorttitle='CVD', overlay=false)
smooth = input.int(defval = 25, title = "Smoothing Distance")
// Calculate buying and selling volume
askVolume = volume * (close > open ? 1 : 0) // Assuming higher close than open indicates buying
bidVolume = volume * (close < open ? 1 : 0) // Assuming lower close than open indicates selling
// Delta is the difference between buying and selling volume
delta = askVolume - bidVolume
// Apply logarithmic transformation to delta
// Adding a check to ensure delta is not zero as log(0) is undefined
logDelta = delta > 0 ? math.log(math.abs(delta)) * math.sign(delta) : - math.log(math.abs(delta)) * math.sign(delta)
// use the the ta lib for calculating the sma of the logDelta
smoothLogDelta = ta.sma(logDelta, smooth)
// Create candlestick plot
plot(logDelta, color= color.green, title='Logarithmic CVD')
plot(smoothLogDelta, color= color.rgb(145, 37, 1), title='Smooth CVD')
These lines calculate the buying and selling volumes. askVolume is calculated as the total volume when the closing price is higher than the opening price, assuming this indicates buying pressure. bidVolume is calculated as the total volume when the closing price is lower than the opening price, assuming selling pressure.
The Delta is simply the difference between buying and selling volumes.
Logarithmic Transformation:
logDelta = delta > 0 ? math.log(math.abs(delta)) * math.sign(delta) : - math.log(math.abs(delta)) * math.sign(delta)
Applies a logarithmic transformation to delta. The math.log function is used to calculate the natural logarithm of the absolute value of delta. The sign of delta is preserved to differentiate between positive and negative values. This transformation helps in scaling the delta values, especially useful when dealing with large numbers.
This script essentially provides a visual representation of the buying and selling pressures in a market, transformed logarithmically for better scaling and smoothed for trend analysis.
Hope it makes sense!
Stay safe everyone!
Don't hesitate to ask any questions if you have any!