Position Cost DistributionThe Position Cost Distribution indicator (also known as the Market Position Overview, Chip Distribution, or CYQ Algorithm) provides an estimate of how shares are distributed across different price levels. Visually, it resembles the Volume Profile indicator, though they rely on distinct computational approaches.
🟠 Principle
The Position Cost Distribution algorithm is based on the principle that a security's total shares outstanding usually remains constant, except under conditions like stock splits, reverse splits, or new share issuance. It views all trading activity as simply exchanging share positions between holders at different price points.
By analyzing daily trade volume and the prior day's distribution, the algorithm infers the resulting share distribution after each day. By tracking these inferred transpositions over time, the indicator builds up an aggregate view of the estimated share concentration at each price level. This provides insights into potential buying and selling pressure zones that could form support or resistance areas.
Together with the Volume Profile, the Position Cost Distribution gives traders multiple lenses for examining market structure from both a volume and positional standpoint. Both can help identify meaningful technical price levels.
🟠 Algorithm
The algorithm initializes by allocating all shares to the price range encompassed by the first bar displayed on the chart. Preferably, the chart window should include the stock's IPO date, allowing the model to distribute shares specifically to the IPO price.
For subsequent trading sessions, the indicator performs the following calculations:
1. The daily turnover ratio is calculated by dividing the bar's trading volume by total outstanding shares.
2. For each price level (bucket), the number of shares is reduced by the turnover amount to represent shares transferring from existing holders.
3. The bar's total volume is then added to buckets corresponding to that period's price range.
Currently, the model assumes each share has an equal probability of being exchanged, regardless of how long ago it was acquired or at what price. Potential optimizations could incorporate factors like making shares held longer face a smaller chance of transfer compared to more recently purchased shares.
────────────────────────────────────────────
中文介绍:该指标为“筹码分布”的一个 TradingView 实现 :)
Volume
Smart Money IndicatorSmart Money Indicator
Overview:
The "Smart Money Indicator" is a custom Pine Script indicator designed to help traders identify potential instances of "smart money" or institutional activity in the financial markets. The concept of "smart money" suggests that institutional investors or sophisticated market participants may have an edge due to their access to resources, information, and analytical tools.
Indicator Features:
Volume Moving Average: The indicator calculates a simple moving average (SMA) of the trading volume over a specified length (default is 20 bars). This moving average serves as a baseline for evaluating current trading volume.
Smart Money Signals: The indicator plots green triangles below the price bars when the current trading volume is significantly higher (50% above) than the moving average. This is intended to highlight potential instances of "smart money" activity.
Dumb Money Signals: Conversely, the indicator plots red triangles above the price bars when the current trading volume is significantly lower (50% below) than the moving average. This is meant to indicate potential "dumb money" activity.
How to Use:
Traders can use this indicator to identify potential shifts in market sentiment driven by institutional activity. When the green "Smart Money" triangles appear, it may suggest increased institutional interest or significant trading volume, potentially signaling a noteworthy market event. Conversely, red "Dumb Money" triangles may indicate periods of reduced institutional activity.
Disclaimer:
It's important to note that this indicator is a simplified representation of the concept of "smart money" and should be used in conjunction with other technical and fundamental analysis tools. Trading decisions should not be based solely on this indicator, and thorough research and due diligence are essential before making trading or investment decisions.
Customization:
Traders can customize the indicator by adjusting the length of the volume moving average to match their trading preferences and strategies. Experimentation and fine-tuning may be necessary to optimize its performance for specific markets and timeframes.
Buy Sell Volume SeparateDescription:
The script is designed to provide traders with a unique and comprehensive analysis of trading volume dynamics. Unlike existing scripts, the script offers a distinct advantage by presenting both buy and sell volumes on separate scales, simplifying trading decisions.
Key Features:
1. Dual Volume Scales: The script provides two separate volume scales, one for buy volumes and another for sell volumes. This separation allows to easily distinguish between buying and selling pressure, aiding in more precise trade entries and exits.
2. Clear and Intuitive Chart: The script ensures that the chart it generates is clean and easy to understand. The buy and sell volumes are color-coded for clarity, and you can quickly identify significant volume spikes and trends.
How to Use:
1. Adding the Script: To use the script, simply add it to your TradingView chart.
2. Interpreting Buy and Sell Volumes: On the chart, you will see two separate volume scales—one for buy volumes and one for sell volumes. Green bars represent buying pressure, while red bars indicate selling pressure. Pay attention to the relative strengths and patterns of these bars to gauge market sentiment.
3. Informed Trading Decisions: Armed with insights into both buy and sell volumes, you can make more informed trading decisions. Look for divergences, patterns, or significant volume spikes to identify potential entry and exit points.
Volume Crossover StrategyThis script shows us the strength and acceleration of the trend, not the direction. ! . The indicator is built on the collision of two volumes (the collision of one-hour and four-hour volumes), where as a result one upward arrow shows us (acceleration, pressing the gas on the pedal), and the downward one shows deceleration (i.e. braking).
Recommendation: Be sure to attach:
a) any trend direction indicator (SMA, EMA), through which we will have an idea where the market is going and going:
b) volatility indicator
c) AD accumulation distribution (let's have a real picture, is there a buying or selling trend)
It is suitable for a one-hour timeframe
P.S. The script does not make any guarantee of profit, it is published only for the purpose of sharing my opinion about this strategy.
an hour ago
Comment:
The green signal is the start of the marathon, and the red signal is the end. For example, if the downward trend has ended (we can see it through the blue signal), it does not mean that the next marathon will necessarily be a reflected trend. It is not excluded that the next marathon will also develop on a downward trend...and therefore in the opposite case as well..
Supply Demand Profiles [LuxAlgo]The Supply Demand Profiles is a charting tool that measures the traded volume at all price levels on the market over a specified time period and highlights the relationship between the price of a given asset and the willingness of traders to either buy or sell it, in other words, highlights key concepts as significant supply & demand zones, the distribution of the traded volume, and market sentiment at specific price levels within a specified time period, allowing traders to reveal dominant and/or significant price levels and to analyze the trading activity of a particular user-selected range.
In other words, this tool highlights key concepts as significant supply & demand zones, the distribution of the traded volume, and market sentiment at specific price levels within a specified time period, allowing traders to reveal dominant and/or significant price levels and to analyze the trading activity of a particular user-selected range.
Besides having the tool as a combo tool, the uniqueness of this version of the tool compared to its early versions is its ability to benefit from different volume data sources and its ability to use a variety of different polarity methods, where polarity is a measure used to divide the total volume into either up volume (trades that moved the price up) or down volume (trades that moved the price down).
🔶 USAGE
Supply & demand zones are presented as horizontal zones across the selected range, hence adding the ability to visualize the price interaction with them
By default, the right side of the profile is the volume profile which highlights the distribution of the traded activity at different price levels, emphasizing the value area, the range of price levels in which the specified percentage of all volume was traded during the time period, and levels of significance, such as developing point of control line, value area high/low lines, and profile high/low labels
The left side of the profile is the sentiment profile which highlights the market sentiment at specific price levels
🔶 DETAILS
🔹 Volume data sources
The users have the option to select volume data sources as either 'volume' (regular volume) or 'volume delta', where volume represents all the recorded trades that occur at a given bar and volume delta is the difference between the buying and the selling volume, that is, the net demand at a given bar
🔹 Polarity methods
The users are able to choose the methods of how the tool to take into consideration the polarity of the bar (the direction of a bar, green (bullish) or red (bearish) bar) among a variety of different options, such as 'bar polarity', 'bar buying/selling pressure', 'intrabar (chart bars at a lower timeframe than the chart's) polarity', 'intrabar buying/selling pressure', and 'heikin ashi bar polarity'.
Finally, the interactive mode of the tool is activated, as such users can easily modify the intervals of their interest just by selecting the indicator and moving the points on the chart
🔶 SETTINGS
The script takes into account user-defined parameters and plots the profiles and zones
🔹 Calculation Settings
Volume Data Source and Polarity: This option is to set the desired volume data source and polarity method
Lower Timeframe Precision: This option is applicable in case any of the 'Intrabar (LTF)' options are selected, please check the tooltip for further details
Value Area Volume %: Specifies the percentage for the value area calculation
🔹 Presentation Settings
Supply & Demand Zones: Toggles the visibility of the supply & demand zones
Volume Profile: Toggles the visibility of the volume profile
Sentiment Profile: Toggles the visibility of the sentiment profile
🔹 Presentation, Others
Value Area High (VAH): Toggles the visibility of the VAH line and color customization option
Point of Control (POC): Toggles the visibility of the developing POC line and color customization option
Value Area Low (VAL): Toggles the visibility of the VAL line and color customization option
🔹 Supply & Demand, Others
Supply & Demand Threshold %: This option is used to set the threshold value to determine supply & demand zones
Supply/Demand Zones: Color customization option
🔹 Volume Profile, Others
Profile, Up/Down Volume: Color customization option
Value Area, Up/Down Volume: Color customization option
🔹 Sentiment Profile, Others
Sentiment, Bullish/Bearish: Color customization option
Value Area, Bullish/Bearish: Color customization option
🔹 Others
Number of Rows: Specify how many rows the profile will have
Placment: Specify where to display the profile
Profile Width %: Alters the width of the rows in the profile, relative to the profile range
Profile Price Levels: Toggles the visibility of the profile price levels
Profile Background, Color: Fills the background of the profile range
Value Area Background, Color: Fills the background of the value area range
Start Calculation/End Calculation: The tool is interactive, where the user may modify the range by selecting the indicator and moving the points on the chart or can set the start/end time using these options
🔶 RELATED SCRIPTS
Volume-Profile
Volume-Profile-Maps
Volume-Delta
Kviatek - Multi Hour VWAPThis is an experimental script, that plots 24 VWAPs, each starting at a new hour and lasting for 24hours.
After using session anchored VWAPs i kept wondering if the price reacts to VWAPs that begin at periods lower than sessions.
Color of each VWAP changes upon crossovers of the following VWAP, giving us an understanding of trends and whether we're trading with the trend or against it.
By the nature of the script I recommend using it on low timeframes, 5 and 15-minute ones ideally.
Volume HeatMap With Profile [ChartPrime]The Volume Heatmap with Profile indicator is a tool designed to provide traders with a comprehensive view of market activity through customizable visualizations. This indicator goes beyond traditional volume analysis by offering a range of adjustable parameters and features that enhance analysis of volume and give a cleaner experience when analyzing it.
To get started click the start and end time for the profile.
Key Features:
Extended Calculation: This indicator extends its calculation to the last bar, ensuring that the user has insights into current market dynamics.
Point of Control (POC): Easily identify the price level at which the highest trading activity has occurred, helping the user pinpoint potential reversal points and significant support/resistance zones.
VWAP Point of Control: Display the Volume Weighted Average Price (VWAP) Point of Control, giving the user a clear reference for determining the average price traders are paying and potential price reversals.
Adjustable Colors for Heatmap: Change the heatmap colors to the users preference, allowing the user to match the indicator's appearance to their chart style and personal visual preferences.
Forecasted Zone: This feature allows traders to forecast areas of high activity by providing the option to adjust colors within this zone. This feature assists in identifying potential breakouts or areas where increased trading volume is anticipated.
Volume Profile: Customize the colors of the volume profile to make it distinct and easily distinguishable on the chart.
Adjustable Volume Levels: Specify the number volume levels that are most relevant to your trading strategy.
Adjustable Placement for Volume Profile: Position the volume profile on the chart. Whether the user prefers it on the left, right, or at the center of the chart, this indicator offers placement flexibility.
The ratio of bull vs bear volume is plotted on the outside of the range indicating how bullish or bearish price action is in a given range.
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!
Volume Traded in Total Outstanding Shares with basic fundamentalThis indicator helps to find Volume Traded in Total Outstanding Shares with basic fundamental parameters like MCAP, EPS, PE, D2E and No. Equity shares.
Volume EntropyKey Components :
📍 Natural Logarithm Function : The script starts by employing a custom Taylor Series approximation for natural logarithms. This function serves to calculate entropy with higher accuracy than conventional methods, laying the foundation for further calculations.
📍 Entropy Calculation : The core of this indicator is its entropy function. It employs the custom natural log function to compute the randomness of the trading volume over a user-defined micro-pattern length, offering insights into market stability or volatility.
📍 Micro-Pattern Length : This is the parameter that sets the stage for the level of detail in the entropy calculation. Users can adjust it to suit different time frames or market conditions, thus customizing the indicator's sensitivity to randomness in trading volume.
Kviatek - Multi Day VWAPThis indicator plots VWAPs anchored to each day of the week.
VWAPs are considered "fair price" for both sellers and buyers and it's often times where the liquidity is found.
From my trading I noticed how often times price likes to come back to the daily VWAP from the previous week, especially at the beginning and end of each week.
For example, if we enter a long on Friday, last Friday's VWAP tends to act as a target for the price.
Another use for it is to get an understanding of how the trend develops throughout the week.
If the following day's VWAP is above the previous day's VWAP - we have a trend continuation.
Bitcoin Aggregated Volume Profile «NoaTrader»If you use volume profile for analyzing Bitcoin, you may know that sometimes the decisions of big CEXs like Binance can change the volume of each symbol and so the analysis perceived from the data (which may not be valid anymore); Like when Binance decided to transfer the free transaction fee promotion from BTCUSDT to BTCTUSD pair or the new introduced BTCFDUSD pair with volume market share as much as BTCTUSD after only 1 month (according to the coinmarketcap's data).
This indicator tries to solve that problem for using volume profile. So, it collects all the volumes of different pairs from different exchanges and then uses all of them to calculate the volume profile.
Also, there is an option to compare the current symbols volume to the whole volume profile which is a Boolean option in the settings (the picture above)
The aggregated volume data includes:
BINANCE:BTCUSDT
BINANCE:BTCTUSD
BINANCE:BTCBUSD
BINANCE:BTCFDUSD
BINANCE:BTCDAI
BINANCE:BTCEUR
BITSTAMP:BTCUSDT
BITSTAMP:BTCUSD
COINBASE:BTCUSDT
COINBASE:BTCUSD
COINBASE:BTCEUR
HUOBI:BTCUSDT
KUCOIN:BTCUSDT
KRAKEN:XBTUSD
KRAKEN:XBTEUR
BITFINEX:BTCUSD
BYBIT:BTCUSDT
KRAKEN:BTCUSD
OKX:BTCUSDT
Volume Profile Segment Difference «NoaTrader»If you use volume profile, then you might have countered wanting to know a segment of the chart's volume profile relative to the whole volume profile. This indicator tries to solve that problem.
When you add it to the chart, first it asks you the start and end point of the segment you want, then it draws the whole chart's volume profile and shows the selected segments relative volume with a different color (blue default).
The default settings are good for a Bitcoin daily chart, so don't forget to change the settings for other symbols and timeframes.
VWAP Divergence | Flux ChartsThe VWAP Divergence indicator aims to find divergences between price action and the VWAP indicator. It uses filters to filter out many of the false divergences and alert high quality, accurate signals.
Red dots above the candle represent bearish divergences, while green dots below the candle represent bullish divergences.
The main filter for divergences focuses on ATR and the price movement in the past candles up to the lookback period. Divergences are determined when a price movement over the lookback period is sharp enough to be greater/less than the ATR multiplier multiplied by the ATR.
Settings
Under "Divergence Settings", both the lookback period and ATR multiplier can be adjusted.
Due to the nature of the calculations, the ATR multiplier and the lookback period should be set lower on higher time frames. As price movements become more averaged, for example on the 15 minute chart, sharp price movements happen less frequently and are often contained in fewer candles as they happen on lower time frames. Less volatile stocks such as KO, CL, or BAC should also use lower ATR multipliers and lower lookback periods.
Under "Visual Settings", you can change the color of the VWAP line, show alternating VWAP colors, adjust divergence signal size, and show the VWAP line.
Zaree - Bull & Bear Volume VoidThe "Zaree - Bull & Bear Volume Void" (BBVV) indicator is a versatile tool designed to help traders assess the dynamics of bull and bear power in the market, with a focus on volume-based analysis. This indicator offers a range of features that aid in identifying potential shifts in market sentiment and strength.
Details of the Indicator:
Volume Void Color Settings: This indicator allows you to customize the colors used for different conditions, such as strong bull areas, slowing bull areas, strong bear areas, and slowing bear areas. These colors play a crucial role in visualizing the indicator's output.
Volume Void Settings: The BBVV indicator provides options for selecting specific volume void functions, which include "Relative Volume Comparison," "Percentage of Average Volume," "Fixed Volume Threshold," "Volatility-Adjusted Volume," "Compare to Previous Volume Bars," "Volume Percentile Rank," and "Market Session Comparison." Each function has its own criteria for evaluating volume conditions.
Void Bull Sensitivity and Void Bear Sensitivity: These are key parameters in the settings. The values you choose for void bull sensitivity and void bear sensitivity will significantly impact the background color displayed by the indicator. Properly configuring these values is crucial for the indicator's effectiveness.
Moving Average Settings: You can specify the source and length of moving averages used in the indicator. This helps in smoothing out data and providing a clearer picture of bull and bear power.
Void Color Background Conditions: The indicator dynamically changes the background color of the chart based on the current market conditions. It takes into account bull and bear power, as well as the configured sensitivity levels to determine whether the market is in a strong or slowing bull/bear phase.
MACD and Signal Lines: The indicator also displays MACD and signal lines on the chart, helping traders identify potential bullish and bearish crossovers.
Histogram Bars: Histogram bars are used to represent the strength of bull and bear power. Above-zero bars indicate bullish strength, while below-zero bars indicate bearish strength.
How to Use the Indicator:
Begin by customizing the color settings for different market conditions to your preference.
Select a volume void function that aligns with your trading strategy and objectives.
Configure the void bull sensitivity and void bear sensitivity values carefully. These values should reflect your desired sensitivity to volume conditions.
Choose the source and length of moving averages based on your analysis requirements.
Pay attention to the background color of the chart. It will change dynamically based on the current market conditions, providing insights into the strength of bull and bear power.
Observe the MACD and signal lines for potential bullish or bearish crossovers, which can be used as additional confirmation signals.
Interpret the histogram bars to gauge the strength of bull and bear power.
Example of Usage:
As a swing trader with a focus on volume analysis, you can use the BBVV indicator to enhance your trading decisions. Here's an example of how you might use the indicator:
Select "Relative Volume Comparison" as the volume void function to assess volume relative to a simple moving average.
Configure void bull sensitivity and void bear sensitivity to match your risk tolerance and trading style.
Choose "SMA" as the moving average type with a suitable length.
Pay attention to the background color changes in the chart. Strong bull areas may indicate potential bullish opportunities, while strong bear areas may signal bearish conditions.
Monitor the MACD and signal lines for potential crossovers, aligning them with the background color to validate your trading decisions.
Use the histogram bars to assess the strength of bull and bear power, helping you gauge market sentiment.
Remember that the BBVV indicator is a valuable tool to complement your trading strategy. It provides insights into volume dynamics and market conditions, allowing you to make informed trading choices.
Be sure to adjust the indicator settings according to your trading preferences and always consider the broader market context in your analysis.
Supply and Demand Anchored [LuxAlgo]The Supply and Demand Anchored indicator is an anchored version of the popular Supply and Demand Visible Range indicator. Once adding the indicator to the chart, users need to manually select the starting and ending points for the indicator's calculation. The estimated supply/demand zones are then extended.
🔶 USAGE
The proposed indicator makes use of the same method highlighted in previous posts (see related scripts section below) to estimate supply and demand zones.
When adding the indicator to the chart, users will be prompted to select a starting and ending point for the calculation of the supply and demand zones, click on your chart to select those points.
Once calculated, each zone/level will be extended to the right of the chart. These can be used as support/resistance zones. Clicking on one of the graphical elements of the indicator or the indicator title will highlight the starting and ending calculation points, these can be dragged to be set at different locations.
🔶 SETTINGS
Threshold %: Percentage of the total visible range volume used as a threshold to set supply/demand areas. Higher values return wider areas.
Resolution: Determines the number of bins used to find each area. Higher values will return more precise results.
Intra-bar TF: Timeframe used to obtain intra-bar data.
🔶 RELATED SCRIPTS
AD's - Indecisive Candles, volume spikes, gapsThis script identifies price pivots, volume spikes (more than twice of 20 SMA vol) & gaps (both up & down)
Zanger Volume Profile ZVR v1This is an attempt to make a zanger volume profile indicator, it needs improvement and some sort of forward looking volume estimator.
Volume Delta Trailing Stop [LuxAlgo]The ' Volume Delta Trailing Stop ' indicator uses Lower Time Frame (LTF) volume delta data which can provide potential entries together with a Volume-Delta based Trailing Stop-line .
🔶 USAGE
Our 'Volume Delta Trailing Stop' script can show potential entries/Stop Loss lines
A trigger line needs to be broken before a position is taken, after which a Volume Delta-controlled Trailing Stop-line is created:
🔶 DETAILS
🔹 Volume rises when bought or sold
🔹 When the opening price appears on the chart, a buy/sell order has been executed.
If that order is less than the available supply of that particular price, volume will rise, without moving the price.
🔹 When the opening price is the same as the closing price, the volume of that bar can be seen as "neutral volume" (nV); nor "up", nor "down" volume.
Example
A buy order doesn't fill the first available supply in the order book. This price will be the opening price with a certain volume.
When at closing time, price still hasn't moved (the first available supply in the order book isn't filled, or no movement downwards),
the closing price will be equal to the opening price, but with volume. This can be seen as "neutral volume (nV)".
🔹 Delta Volume (ΔV): this is "up volume" minus "down volume"
🔹 Standard volume is colored red when closing price is lower than opening price ( = "down volume").
🔹 Standard volume is colored green when closing price is higher OR equal (nV) than opening price ( = "up volume").
🔹 Neutral Volume
The "Neutral-Volume" is considered "Up-Volume" - setting will dictate whether nV is considered as green 'buy' volume or not.
🔶 EXAMPLE
29 July 10:00 -> 10:05, chart timeframe 5 minutes, open 29311.28, close 29313.89
close > open, so the volume (39.55) is colored green ("up volume").
(The Volume script used in the following examples is the open-source publication Volume Columns w. Alerts (V) from LucF )
Let's zoom to the 1-minute TF:
The same period is now divided into more bars, volume direction (color) is dependable on the difference between open and close.
Counting up and down volume gives a more detailed result, it remains in an upward direction though):
(ΔV = +15.51)
Let's further zoom in to the 1-second TF:
The same period is now divided into even more bars (more possibility for changing direction on each bar)
Here we see several bars that haven't moved in price, but they have volume ("neutral" volume).
(neutral volume is coloured light green here, while up volume is coloured darker green)
When we count all green and red volume bars, the result is quite different:
(ΔV = -0.35)
In total more volume is found when price went downwards, yet price went up in these 5 minutes.
-> This is the heart of our publication, when this divergence occurs, you can see a barcolor changement:
• orange: when price went up, but LTF Volume was mainly in a downward direction.
• blue: when price went down, but LTF Volume was mainly in an upwards direction.
When we split the green "up volume" into "up" and "neutral", the difference is even higher
(here "neutral volume" is colored grey):
(ΔV = -12.76; "up" - "down")
🔶 CONCEPTS
bullishBear = current bar is red but LTF volume is in upward direction -> blue bar
bearishBull = current bar is green but LTF volume is in downward direction -> orange bar
🔹 Potential positioning - forming of Trigger-line
When not in position, the script will wait for a divergence between price and volume direction. When found, a Trigger-line will appear:
• at high when a blue bar appears ( bullishBear ).
• at low when an orange bar appears ( bearishBull ).
Next step is when the Trigger-line is broken by close or high/low (settings: Trigger )
Here, the closing price went under the grey Trigger-line -> bearish position:
🔹 Trailing Stop-line
When the Trigger-line is broken, the Trailing Stop-line (TS-line) will start:
• low when bullish position
• high when bearish position
You can choose (settings -> Trigger -> Close or H/L ) whether close price or high/low should break the Trigger-line
When alerts are enabled ("Any alert() function call"), you'll get the following message:
• ' signal up ' when bullish position
• ' signal down' when bearish position
After that, the TS-line will be adjusted when:
• a blue bullishBear bar appears when in bullish position -> lowest of {low , previous blue bar's high or orange bar's low}
• an orange bearishBull bar appears when in bearish position -> highest of {high, previous blue bar's high or orange bar's low}
When alerts are enabled ("Any alert() function call"), and the TS-line is broken, you'll get the following message:
• ' TS-line broken down ' when out bullish position
• ' TS-line broken up ' when out bearish position
🔹 Reference Point
Default the direction of price will be evaluated by comparing closing price with opening price.
When open and close are the same, you'll get "neutral volume".
You can use "previous close" instead (as in built-in volume indicator) to include gaps.
If close equals open , but close is lower than previous close , it will be regarded as " down volume ",
similar, when close is higher than previous close , it will be regarded as " up volume "
Note, the setting applies for the current timeframe AND Lower timeframe:
Based on: " open " (close - open)
Based on: " previous close " (close - previous close)
🔹 Adjustment
When the TS-line changes, this can be adjusted with a percentage of price , or a multiple of " True Range "
Default (Δ line -> Adjustment - 0)
Δ line -> Adjustment 0.03% (of price)
Δ line -> Mult of TR (10)
🔶 SETTINGS
🔹 LTF: choose your Lower TimeFrame: 1S (seconds), 5S, 10S, 15S, 30S, 1 minute)
🔹 Trigger: Choose the trigger for breaking the Trigger-line ; close or H/L (high when bullish position, low when bearish position)
🔹 Δ line ( Trailing Stop-line ): add/subtract an adjustment when the TS-line changes ( default: Adjustment ):
• Adjustment ( default: 0 ): add/subtract an extra % of price
• Mult of TR : add/subtract a multiple of True Range
🔹 Based on: compare closing price against:
• open
• previous close
🔹 "Neutral-Volume" is considered "Up-Volume" : this setting will dictate whether nV is considered as green 'buy' volume or not.
🔶 CONSIDERATIONS
🔹 The lowest LTF (1S) will give you more detail and will get data close to tick data.
However, a maximum of 100,000 intrabars can be used in calculations .
This means on the daily chart you won't see anything since 1 day ~ 86400 seconds. (just over 1 bar)
-> choose a lower chart timeframe, or choose a higher LTF (5S, 10S, ... 1 minute)
🔹 Always choose a LTF lower than the current chart timeframe.
🔹 Pine Script™ code using this request.security_lower_tf() may calculate differently on historical and real-time bars, leading to repainting .
PhantomFlow AccumulationDetectorThe PhantomFlow AccumulationDetector indicator analyzes the volume profile and displays potential accumulation based on the selected timeframe in the settings. This indicator can be used both as zones for trend following and for identifying reversals, as shown in the examples on the chart. The logic behind the formation of the accumulation zone is based on the fact that the POC (Point of Control) of the current zone is within the Volume Area range of the previous period.
Optimal settings for the working timeframe should be chosen visually, and the size of the zones should not be too large or too small. Additionally, it's advisable not to consider overly wide zones during increased volatility.
Consecutive zones within the same range often indicate a potential reversal.
We borrowed the volume profile calculation code from @LonesomeTheBlue. Thank you for the work done!
Volume Profile - BearJust another Volume Profile but you can fit into your chart better by moving back and forth horizontally. also note you can fix the number of bars to show the volume by that way you can use a fib retracment to line up high/low volume nodes with fib levels... see where price as bad structure. or just play with the colors to make a cool gradient?
Volume Profile is a technical analysis tool used by traders to analyze the distribution of trading volume at different price levels within a specified time frame. It helps traders identify key support and resistance levels, potential areas of price reversals, and areas of high trading interest. Here's how to read Volume Profile on a trading chart:
1. **Choose a Time Frame**: Decide on the time frame you want to analyze. Volume Profile can be applied to various time frames, such as daily, hourly, or even minute charts. The choice depends on your trading style and goals.
2. **Plot the Volume Profile**: Once you have your chart open, add the Volume Profile indicator. Most trading platforms offer this tool. It typically appears as a histogram or a series of horizontal bars alongside the price chart.
3. **Identify Key Elements**:
a. **Value Area**: The Value Area represents the price range where the majority of trading volume occurred. It is often divided into three parts: the Point of Control (POC) and the upper and lower value areas. The POC is the price level where the most trading activity occurred and is considered a significant support or resistance level.
b. **High-Volume Nodes**: High-volume nodes are price levels where there was a significant amount of trading volume. These nodes can act as support or resistance levels because they represent areas where many traders had their positions.
c. **Low-Volume Areas**: Conversely, low-volume areas are price levels with little trading activity. These areas may not provide strong support or resistance because they lack significant trader interest.
4. **Interpretation**:
- If the price is trading above the POC and the upper value area, it suggests bullish sentiment, and these levels may act as support.
- If the price is trading below the POC and the lower value area, it suggests bearish sentiment, and these levels may act as resistance.
- High-volume nodes can also act as support or resistance, depending on the price's current position relative to them.
5. **Confirmation**: Volume Profile should be used in conjunction with other technical analysis tools and indicators to confirm trading decisions. Consider using trendlines, moving averages, or other price patterns to validate your trading strategy.
6. **Adjust for Different Time Frames**: Keep in mind that Volume Profile analysis can yield different results on different time frames. For example, a support level on a daily chart may not hold on a shorter time frame due to intraday volatility.
7. **Practice and Experience**: Like any trading tool, reading Volume Profile requires practice and experience. Analyze historical charts, paper trade, and refine your strategies over time to gain proficiency.
8. **Stay Informed**: Stay updated with market news and events that can impact trading volume. Sudden news can change the significance of volume levels.
CCPD Candle Color Price DetectorThe "CCPD Candle Color Price Detector" is a custom indicator developed for TradingView, a popular platform for technical analysis and trading. This indicator assists traders in identifying potential trend reversals and assessing market sentiment based on candlestick color changes and key price levels.
This indicator operates as follows:
Color Change Detection: It primarily focuses on the color of candlesticks (green for bullish and red for bearish). When a candlestick closes higher than it opens, it is considered green (bullish), and when it closes lower, it is red (bearish).
High and Low Analysis: The indicator calculates the highest high and lowest low over a user-defined number of bars (specified by the 'Bars for High/Low' input parameter). This helps identify recent price extremes.
Midpoint Calculation: It then computes the midpoint between the highest high and lowest low, effectively determining a central reference point within the specified period.
Signal Generation: Buy and sell signals are generated based on the relationship between the current candlestick's close price, the midpoint, and the candlestick color. Buy signals occur when a green candle closes above the midpoint, suggesting potential bullish momentum. Conversely, sell signals trigger when a red candle closes below the midpoint, indicating possible bearish pressure.
Visualization: The indicator visualizes the highest high, lowest low, midpoint, and additional lines to aid in understanding the price action and potential reversal points.
Alerts: It provides alerts for buy and sell signals, allowing traders to receive notifications when potential trading opportunities arise.
Usage:
Traders can utilize the "CCPD Candle Color Price Detector" in the following ways:
Trend Reversal Identification: This indicator can help traders spot potential trend reversals by signaling when candlestick colors change and close near the midpoint. Buy and sell signals offer entry points for trades based on these reversals.
Confirmation Tool: It can be used in conjunction with other technical analysis tools to confirm trading decisions. For example, a buy signal from this indicator, coupled with a bullish trendline break or a bounce from a key support level, may provide a stronger bullish signal.
Risk Management: By understanding potential reversal points and using stop-loss orders, traders can better manage their risk and protect their capital when entering positions based on the indicator's signals.
Customization: The indicator allows users to adjust the number of bars for high/low calculations, making it adaptable to different trading strategies and timeframes.
In summary, the "CCPD Candle Color Price Detector" is a versatile indicator that can aid traders in spotting potential trend changes, enhancing trading decisions, and managing risk effectively. However, like any trading tool, it should be used in conjunction with other analysis methods and risk management strategies for optimal results.
OBV Daily High Low Box Realtime (On Balance Volume)Overview
This indicator plots horizontal lines at the daily high and low levels of the On Balance Volume (OBV).
The numerical lines for each day are updated in real-time as the OBV high and low values change.
Please note that there are limitations on how far back in history the indicator can go due to Pine Script's object drawing limitations.