Tick Volume Direction IndicatorTick Volume Direction Indicator
This indicator captures:
• tick volume
• tick direction
The settings are as follows:
• volume or base currency value selection.
• label distance (away from the low of the candle).
• Tick volume - on/off switch for tick volume.
• label size.
• Up tick move color.
• tick move absorbed - when the tick doesn't change position.
• Down tick move.
On the first initial load, it will have the existing volume data as "?" as tradingview doesn't have a history of each tick.
Be aware, any settings change you make will refresh the tick data from start.
This indicator is one of the best real-time ways of seeing buying and selling pressure.
Volumeanalysis
Relative Volume Candles [QuantVue]In the words of Dan Zanger, "Trying to trade without using volume is like trying to drive a few hundred miles without putting gas in your tank. Trying to trade without chart patterns is like leaving without having an idea how to get there!"
Volume tends to show up at the beginning and the end of trends. As a general rule, when a stock goes up on low volume, it's seen as negative because it means buyers aren't committed. When a stock goes down on low volume, it means that not many people are trying to sell it, which is positive.
The Relative Volume Candles indicator is based on the Zanger Volume Ratio and designed to help identify key volume patterns effortlessly, with color coded candles and wicks.
The indicator is designed to be used on charts less than 1 Day and calculates the average volume for the user selected lookback period at the given time of day. From there a ratio of the current volume vs the average volume is used to determine the candle’s colors.
The candles wicks are color coded based on whether or not the volume ratio is rising or falling.
So when is it most important to have volume? When prices break out of a consolidation pattern like a bull flag or cup and handle pattern, volume plays a role. When a stock moves out of a range, volume shows how committed buyers are to that move.
Note in order to see this indicator you will need to change the visual order. This is done by selecting the the 3 dots next to the indicator name, scrolling down to visual order and selecting bring to front.
Indicator Features
🔹Selectable candle colors
🔹Selectable ratio levels
🔹Custom lookback period***
***TradingView has a maximum 5,000 bar lookback for most plans. If you are on a lower time frame chart and you select a lookback period larger than 5,000 bars the indicator will not show and you will need to select a shorter lookback period or move to a higher time frame chart.
Give this indicator a BOOST and COMMENT your thoughts!
We hope you enjoy.
Cheers!
Time & Sales (Tape) [By MUQWISHI]▋ INTRODUCTION :
The “Time and Sales” (Tape) indicator generates trade data, including time, direction, price, and volume for each executed trade on an exchange. This information is typically delivered in real-time on a tick-by-tick basis or lower timeframe, providing insights into the traded size for a specific security.
_______________________
▋ OVERVIEW:
_______________________
▋ Volume Dynamic Scale Bar:
It's a way for determining dominance on the time and sales table, depending on the selected length (number of rows), indicating whether buyers or sellers are in control in selected length.
_______________________
▋ INDICATOR SETTINGS:
#Section One: Table Settings
#Section Two: Technical Settings
(1) Implement By: Retrieve data by
(1A) Lower Timeframe: Fetch data from the selected lower timeframe.
(1B) Live Tick: Fetch data in real-time on a tick-by-tick basis, capturing data as soon as it's observed by the system.
(2) Length (Number of Rows): User able to select number of rows.
(3) Size Type: Volume OR Price Volume.
_____________________
▋ COMMENT:
The values in a table 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 Profile PlusThis indicator provides a high-resolution and high-precision implementation of Volume Profile with flexible range settings. Its key features include:
1. Support for a high resolution of up to 2,500 rows.
2. Capability to examine lower timeframe bars (default 5,000 intra-bars) for enhanced precision.
3. Three range modes — "Visible Range", "Anchored Range", and "All Range".
4. Highlighting of Point of Control and Value Area.
5. Extensive customization options allowing users to configure dimensions, on-chart placements, and color schemes.
🔵 Settings
The settings screen, along with the explanations for each setting, is provided below:
🔵 High Resolution using Polyline
Inspired by @fikira, this indicator utilizes the newly introduced `polyline` type in PineScript to plot the volume profile. It employs a single polyline instance to represent the entire histogram. With each polyline instance supporting up to 10,000 points and each histogram row requiring 4 points, this indicator can accommodate 2500 rows, resulting in a significantly higher resolution compared to conventional volume profile indicators that use `line`s or `box`es to draw the histogram.
🔵 High Precision Data-binning using Lower Timeframe Data
Conventional volume profile indicators often face one or both of the following limitations:
1. They only consider volume within the chart's current timeframe.
2. They assign each bar's total volume to a single price bucket based on the bar's average price, rather than distributing volume across multiple price buckets.
As a result, when the number of bars in the chart is low, those indicators may provide imprecise results, making it difficult to accurately identify significant volume nodes and the point of control.
To address these limitations and enhance accuracy, this indicator examines data from lower timeframes and distributes the volume to fine-grained price buckets. It intelligently selects an appropriate lower timeframe to ensure precise output while complying with a maximum specified number of bars to maintain good performance.
🔵 Three Range Modes
This indicator offers users the flexibility to choose from three range modes:
1. Visible Range (Default Mode): In this mode, the volume profile calculation begins at the time of the left-most bar displayed in the current viewport. As the user scrolls through the viewport, the volume profile updates automatically.
2. Anchored Range: This mode allows the user to set the start time either by using the datetime input boxes or by dragging the anchor line on the chart.
3. All Range: In this mode, the volume profile calculation is based on all the historical bars available in the chart.
SessionVolumeProfileLibrary "SessionVolumeProfile"
Analyzes price & volume during regular trading hours to provide a session volume profile analysis. The primary goal of this library is to provide the developer with three values: the value area high, low and the point of control. The library also provides methods for rendering the value areas and histograms. To learn more about this library and how you can use it, click on the website link in my profile where you will find a blog post with detailed information.
debug(vp, position)
Helper function to write some information about the supplied SVP object to the screen in a table.
Parameters:
vp (Object) : The SVP object to debug
position (string) : The position.* to place the table. Defaults to position.bottom_center
getLowerTimeframe()
Depending on the timeframe of the chart, determines a lower timeframe to grab volume data from for the analysis
Returns: The timeframe string to fetch volume for
get(volumeProfile, lowerTimeframeHigh, lowerTimeframeLow, lowerTimeframeVolume)
Populated the provided SessionVolumeProfile object with vp data on the session.
Parameters:
volumeProfile (Object) : The SessionVolumeProfile object to populate
lowerTimeframeHigh (float ) : The lower timeframe high values
lowerTimeframeLow (float ) : The lower timeframe low values
lowerTimeframeVolume (float ) : The lower timeframe volume values
drawPriorValueAreas(todaySessionVolumeProfile, extendYesterdayOverToday, showLabels, labelSize, pocColor, pocStyle, pocWidth, vahlColor, vahlStyle, vahlWidth, vaColor)
Given a SessionVolumeProfile Object, will render the historical value areas for that object.
Parameters:
todaySessionVolumeProfile (Object) : The SessionVolumeProfile Object to draw
extendYesterdayOverToday (bool) : Defaults to true
showLabels (bool) : Defaults to true
labelSize (string) : Defaults to size.small
pocColor (color) : Defaults to #e500a4
pocStyle (string) : Defaults to line.style_solid
pocWidth (int) : Defaults to 1
vahlColor (color) : The color of the value area high/low lines. Defaults to #1592e6
vahlStyle (string) : The style of the value area high/low lines. Defaults to line.style_solid
vahlWidth (int) : The width of the value area high/low lines. Defaults to 1
vaColor (color) : The color of the value area background. Defaults to #00bbf911)
drawHistogram(volumeProfile, bgColor, showVolumeOnHistogram)
Given a SessionVolumeProfile object, will render the histogram for that object.
Parameters:
volumeProfile (Object) : The SessionVolumeProfile object to draw
bgColor (color) : The baseline color to use for the histogram. Defaults to #00bbf9
showVolumeOnHistogram (bool) : Show the volume amount on the histogram bars. Defaults to false.
Object
Fields:
numberOfRows (series__integer)
valueAreaCoverage (series__integer)
trackDevelopingVa (series__bool)
valueAreaHigh (series__float)
pointOfControl (series__float)
valueAreaLow (series__float)
startTime (series__integer)
endTime (series__integer)
dayHigh (series__float)
dayLow (series__float)
step (series__float)
pointOfControlLevel (series__integer)
valueAreaHighLevel (series__integer)
valueAreaLowLevel (series__integer)
volumeRows (array__float)
priceLevelRows (array__float)
ltfSessionHighs (array__float)
ltfSessionLows (array__float)
ltfSessionVols (array__float)
Candle volume analysis The indicator is designed for traders who are more interested in market structures and price action using volumes. Volume analysis can help traders build a clearer understanding of zones of buyer and seller interest, as well as places to capture liquidity (traders' stop levels).
Key Features:
The indicator highlights candle volumes in selected colors, where the volume is greater individually than the volumes of the trader's chosen number of preceding candles. Or the volume that is greater than the sum of volumes of the trader's chosen number of preceding candles.
Liquidation Estimates (Real-Time) [LuxAlgo]The Liquidation Estimates (Real-Time) experimental indicator attempts to highlight real-time long and short liquidations on all timeframes. Here with liquidations, we refer to the process of forcibly closing a trader's position in the market.
By analyzing liquidation data, traders can gauge market sentiment, identify potential support and resistance levels, identify potential trend reversals, and make informed decisions about entry and exit points.
🔶 USAGE
Liquidation refers to the process of forcibly closing a trader's position. It occurs when a trader's margin account can no longer support their open positions due to significant losses or a lack of sufficient margin to meet the maintenance requirements.
Liquidations can be categorized as either a long liquidation or a short liquidation. A long liquidation is a situation where long positions are being liquidated, while short liquidation is a situation where short positions are being liquidated.
The green bars indicate long liquidations – meaning the number of long positions liquidated in the market. Typically, long liquidations occur when there is a sudden drop in the asset price that is being traded. This is because traders who were bullish on the asset and had opened long positions on the same will now face losses since the market has moved against them.
Similarly, the red bars indicate short liquidations – meaning the number of short positions liquidated in the futures market. Short liquidations occur when there is a sudden spike in the price of the asset that is being traded. This is because traders who were bearish on the asset and had opened short positions will now face losses since the market has moved against them.
Liquidation patterns or clusters of liquidations could indicate potential trend reversals.
🔹 Dominance
Liquidation dominance (Difference) displays the difference between long and short liquidations, aiming to help identify the dominant side.
🔹 Total Liquidations
Total liquidations display the sum of long and short liquidations.
🔹 Cumulative Liquidations
Cumulative liquidations are essentially the cumulative sum of the difference between short and long liquidations aiming to confirm the trend and the strength of the trend.
🔶 DETAILS
It's important to note that liquidation data is not provided on the Trading View's platform or can not be fetched from anywhere else.
Yet we know that the liquidation data is closely tied in with trading volumes in the market and the movement in the underlying asset’s price. As a result, this script analyzes available data sources extracts the required information, and presents an educated estimate of the liquidation data.
The data presented does not reflect the actual individual quantitative value of the liquidation data, traders and analysts shall look to the changes over time and the correlation between liquidation data and price movements.
The script's output with the default option values has been visually checked/compared with the liquidation chart presented on coinglass.com.
🔶 SETTINGS
🔹Liquidations Input
Mode: defines the presentation of the liquidations chart. Details are given in the tooltip of the option.
Longs Reference Price: defines the base price in calculating long liquidations.
Shorts Reference Price: defines the base price in calculating short liquidations.
🔶 RELATED SCRIPTS
Liquidation-Levels
Liquidity-Sentiment-Profile
Buyside-Sellside-Liquidity
Volume-Price DiffScript is designed to analize volatility in real-time.
Once added to chart, script starting to collect 2 things:
Ticks count (tc)
Price changing ticks count (pctc)
The pctc/tc ratio may be interpret as a volatility measure.
Label above real-time bar shows:
Ticks count
Price changing ticks count
Ratio between (2) and (1) in percents
Using this indicator trader may detect volatility spikes.
More the "Diff" - less the volatility and vice versa.
Liquidation Levels [LuxAlgo]The Liquidation Levels indicator aims at detecting and estimating potential price levels where large liquidation events may occur.
By analyzing liquidation Levels, traders can identify potential support & resistance levels, identify stop-loss levels, and gauge market sentiment and potential areas of price volatility.
🔶 USAGE
Liquidation refers to the process of forcibly closing a trader's leveraged positions in the market. It occurs when a trader's margin account can no longer support their open positions due to significant losses or a lack of sufficient margin to meet the maintenance margin requirements.
Liquidation events happen at all times and the script focuses on detecting the most significant ones. Bubbles will appear on the relevant price bar when larger trading activity has been detected. Larger bubbles represent more significant potential liquidation levels. The lines attached to the bubbles represent the liquidation zones at that price.
These liquidation levels are based on clusters of price points where highly leveraged traders open long or short positions. High leverage is identified as 100x, 50x, and 25x leverages used for both long and short positions. The script allows users to either remove or customize leverage levels.
Price generally heads towards zones or clusters of liquidity.
🔶 SETTINGS
🔹Liquidation Levels
Reference Price: defines the base price in calculating liquidation levels.
Volume Threshold: The volume threshold is the primary factor in detecting the significant trading activities that could potentially lead to liquidating leveraged positions.
Volatility Threshold: The volatility threshold option is the secondary factor that aims at detecting significant movement in the underlying asset’s price with relatively lower trading activities that could potentially also lead to liquidating high-leveraged positions.
Leverage Options: The leverage options are where the trader will set the desired leverage value and customize the potential liquidation level colors.
Hide Liquidation Bubbles: Toggles the visibility of the bubbles.
Hide Liquidation Levels: Toggles the visibility of the lines.
🔶 RELATED SCRIPTS
Liquidity-Sentiment-Profile
Buyside-Sellside-Liquidity
PhantomFlow DynamicLevelsThe PhantomFlow Dynamic Levels indicator analyzes the dynamic volume over the period specified in the Period field. Channel boundaries can be used as dynamic support and resistance levels when trading within a range. The POC level also serves as a level at which the price may react during trend movements. The Period Multiplier parameter affects how many dynamic levels will be displayed. The Accuracy parameter influences the precision of volume calculations.
These levels are crucial for intraday traders as they serve as support or resistance. The Value Area zone includes 70% of the traded volume over the selected period. In other words, it represents the price region where the majority of traders believe the fair value for the asset lies.
The indicator's name, Dynamic Levels, aptly captures its essence. It analyzes trading volume at various price levels, tracking the sentiment dynamics of traders. When the asset's price decreases or increases as a result of trading, the Dynamic Levels indicator displays a new level on the chart. This results in a plotted line on the chart, allowing us to observe the movement dynamics of both the value area and the maximum volume level.
Standard indicators do not provide real-time visibility into level shifts, making the use of the Dynamic Levels indicator a competitive advantage in market trading across any time frame.
We borrowed the volume profile calculation code from @LonesomeTheBlue. Thank you for the work done!
Anchored Moving Average By Market Mindset - Zero To EndlessAnchored Moving Average?
An anchored moving average (AMA) is created when you select a point on the chart and start calculating the moving average from there. Thus the moving average’s denominator is not fixed but cumulative and dynamic.
In this indicator, I've provided three different types of Anchored Moving Averages, viz., WMA, SMA and VWAP.
WMA is relevant if big moves are there.
SMA is relevant if volume data is not to be considered or if it is not available.
VWAP is the standard anchored MA, which is most commontly used. Is consider the volume data along with the price move.
In this indicator, Auto anchor is time based anchor. A trader can opt for Pivot Type Anchor or Volume Type Anchor or some higher resolution based anchor too. The length of the pivot lookback can also be changed by the user.
It can be used for intraday, swing trading and even for technical based investment purpose.
lib_profileLibrary "lib_profile"
a library with functions to calculate a volume profile for either a set of candles within the current chart, or a single candle from its lower timeframe security data. All you need is to feed the
method delete(this)
deletes this bucket's plot from the chart
Namespace types: Bucket
Parameters:
this (Bucket)
method delete(this)
Namespace types: Profile
Parameters:
this (Profile)
method delete(this)
Namespace types: Bucket
Parameters:
this (Bucket )
method delete(this)
Namespace types: Profile
Parameters:
this (Profile )
method update(this, top, bottom, value, fraction)
updates this bucket's data
Namespace types: Bucket
Parameters:
this (Bucket)
top (float)
bottom (float)
value (float)
fraction (float)
method update(this, tops, bottoms, values)
update this Profile's data (recalculates the whole profile and applies the result to this object) TODO optimisation to calculate this incremental to improve performance in realtime on high resolution
Namespace types: Profile
Parameters:
this (Profile)
tops (float ) : array of range top/high values (either from ltf or chart candles using history() function
bottoms (float ) : array of range bottom/low values (either from ltf or chart candles using history() function
values (float ) : array of range volume/1 values (either from ltf or chart candles using history() function (1s can be used for analysing candles in bucket/price range over time)
method tostring(this)
allows debug print of a bucket
Namespace types: Bucket
Parameters:
this (Bucket)
method draw(this, start_t, start_i, end_t, end_i, args, line_color)
allows drawing a line in a Profile, representing this bucket and it's value + it's value's fraction of the Profile total value
Namespace types: Bucket
Parameters:
this (Bucket)
start_t (int) : the time x coordinate of the line's left end (depends on the Profile box)
start_i (int) : the bar_index x coordinate of the line's left end (depends on the Profile box)
end_t (int) : the time x coordinate of the line's right end (depends on the Profile box)
end_i (int) : the bar_index x coordinate of the line's right end (depends on the Profile box)
args (LineArgs type from robbatt/lib_plot_objects/24) : the default arguments for the line style
line_color (color) : the color override for POC/VAH/VAL lines
method draw(this, forced_width)
draw all components of this Profile (Box, Background, Bucket lines, POC/VAH/VAL overlay levels and labels)
Namespace types: Profile
Parameters:
this (Profile)
forced_width (int) : allows to force width of the Profile Box, overrides the ProfileArgs.default_size and ProfileArgs.extend arguments (default: na)
method init(this)
Namespace types: ProfileArgs
Parameters:
this (ProfileArgs)
method init(this)
Namespace types: Profile
Parameters:
this (Profile)
profile(tops, bottoms, values, resolution, vah_pc, val_pc, bucket_buffer)
split a chart/parent bar into 'resolution' sections, figure out in which section the most volume/time was spent, by analysing a given set of (intra)bars' top/bottom/volume values. Then return price center of the bin with the highest volume, essentially marking the point of control / highest volume (poc) in the chart/parent bar.
Parameters:
tops (float ) : array of range top/high values (either from ltf or chart candles using history() function
bottoms (float ) : array of range bottom/low values (either from ltf or chart candles using history() function
values (float ) : array of range volume/1 values (either from ltf or chart candles using history() function (1s can be used for analysing candles in bucket/price range over time)
resolution (int) : amount of buckets/price ranges to sort the candle data into (analyse how much volume / time was spent in a certain bucket/price range) (default: 25)
vah_pc (float) : a threshold percentage (of values' total) for the top end of the value area (default: 80)
val_pc (float) : a threshold percentage (of values' total) for the bottom end of the value area (default: 20)
bucket_buffer (Bucket ) : optional buffer of empty Buckets to fill, if omitted a new one is created and returned. The buffer length must match the resolution
Returns: poc (price level), vah (price level), val (price level), poc_index (idx in buckets), vah_index (idx in buckets), val_index (idx in buckets), buckets (filled buffer or new)
create_profile(start_idx, tops, bottoms, values, resolution, vah_pc, val_pc, args)
split a chart/parent bar into 'resolution' sections, figure out in which section the most volume/time was spent, by analysing a given set of (intra)bars' top/bottom/volume values. Then return price center of the bin with the highest volume, essentially marking the point of control / highest volume (poc) in the chart/parent bar.
Parameters:
start_idx (int) : the bar_index at which the Profile should start drawing
tops (float ) : array of range top/high values (either from ltf or chart candles using history() function
bottoms (float ) : array of range bottom/low values (either from ltf or chart candles using history() function
values (float ) : array of range volume/1 values (either from ltf or chart candles using history() function (1s can be used for analysing candles in bucket/price range over time)
resolution (int) : amount of buckets/price ranges to sort the candle data into (analyse how much volume / time was spent in a certain bucket/price range) (default: 25)
vah_pc (float) : a threshold percentage (of values' total) for the top end of the value area (default: 80)
val_pc (float) : a threshold percentage (of values' total) for the bottom end of the value area (default: 20)
args (ProfileArgs)
Returns: poc (price level), vah (price level), val (price level), poc_index (idx in buckets), vah_index (idx in buckets), val_index (idx in buckets), buckets (filled buffer or new)
history(src, len, offset)
allows fetching an array of values from the history series with offset from current candle
Parameters:
src (int)
len (int)
offset (int)
history(src, len, offset)
allows fetching an array of values from the history series with offset from current candle
Parameters:
src (float)
len (int)
offset (int)
history(src, len, offset)
allows fetching an array of values from the history series with offset from current candle
Parameters:
src (bool)
len (int)
offset (int)
history(src, len, offset)
allows fetching an array of values from the history series with offset from current candle
Parameters:
src (string)
len (int)
offset (int)
Bucket
Fields:
idx (series int) : the index of this Bucket within the Profile starting with 0 for the lowest Bucket at the bottom of the Profile
value (series float) : the value of this Bucket, can be volume or time, for using time pass and array of 1s to the update function
top (series float) : the top of this Bucket's price range (for calculation)
btm (series float) : the bottom of this Bucket's price range (for calculation)
center (series float) : the center of this Bucket's price range (for plotting)
fraction (series float) : the fraction this Bucket's value is compared to the total of the Profile
plot_bucket_line (Line type from robbatt/lib_plot_objects/24) : the line that resembles this bucket and it's valeu in the Profile
ProfileArgs
Fields:
show_poc (series bool) : whether to plot a POC line across the Profile Box (default: true)
show_profile (series bool) : whether to plot a line for each Bucket in the Profile Box, indicating the value per Bucket (Price range), e.g. volume that occured in a certain time and price range (default: false)
show_va (series bool) : whether to plot a VAH/VAL line across the Profile Box (default: false)
show_va_fill (series bool) : whether to fill the 'value' area between VAH/VAL line (default: false)
show_background (series bool) : whether to fill the Profile Box with a background color (default: false)
show_labels (series bool) : whether to add labels to the right end of the POC/VAH/VAL line (default: false)
show_price_levels (series bool) : whether add price values to the labels to the right end of the POC/VAH/VAL line (default: false)
extend (series bool) : whether extend the Profile Box to the current candle (default: false)
default_size (series int) : the default min. width of the Profile Box (default: 30)
args_poc_line (LineArgs type from robbatt/lib_plot_objects/24) : arguments for the poc line plot
args_va_line (LineArgs type from robbatt/lib_plot_objects/24) : arguments for the va line plot
args_poc_label (LabelArgs type from robbatt/lib_plot_objects/24) : arguments for the poc label plot
args_va_label (LabelArgs type from robbatt/lib_plot_objects/24) : arguments for the va label plot
args_profile_line (LineArgs type from robbatt/lib_plot_objects/24) : arguments for the Bucket line plots
args_profile_bg (BoxArgs type from robbatt/lib_plot_objects/24)
va_fill_color (series color) : color for the va area fill plot
Profile
Fields:
start (series int) : left x coordinate for the Profile Box
end (series int) : right x coordinate for the Profile Box
resolution (series int) : the amount of buckets/price ranges the Profile will dissect the data into
vah_threshold_pc (series float) : the percentage of the total data value to mark the upper threshold for the main value area
val_threshold_pc (series float) : the percentage of the total data value to mark the lower threshold for the main value area
args (ProfileArgs) : the style arguments for the Profile Box
h (series float) : the highest price of the data
l (series float) : the lowest price of the data
total (series float) : the total data value (e.g. volume of all candles, or just one each to analyse candle distribution over time)
buckets (Bucket ) : the Bucket objects holding the data for each price range bucket
poc_bucket_index (series int) : the Bucket index in buckets, that holds the poc Bucket
vah_bucket_index (series int) : the Bucket index in buckets, that holds the vah Bucket
val_bucket_index (series int) : the Bucket index in buckets, that holds the val Bucket
poc (series float) : the according price level marking the Point Of Control
vah (series float) : the according price level marking the Value Area High
val (series float) : the according price level marking the Value Area Low
plot_poc (Line type from robbatt/lib_plot_objects/24)
plot_vah (Line type from robbatt/lib_plot_objects/24)
plot_val (Line type from robbatt/lib_plot_objects/24)
plot_poc_label (Label type from robbatt/lib_plot_objects/24)
plot_vah_label (Label type from robbatt/lib_plot_objects/24)
plot_val_label (Label type from robbatt/lib_plot_objects/24)
plot_va_fill (LineFill type from robbatt/lib_plot_objects/24)
plot_profile_bg (Box type from robbatt/lib_plot_objects/24)
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.
Volume Based RSI with ADXThe RSI indicator is a powerful tool that utilizes both volume and time to determine market trends. When there is a low volume of trades in a short period of time, but the trading activity is high, it is considered bullish or bearish. In the case of a bullish trend, the RSI indicator will display a green color, while a bearish trend will be represented by a red color. If there is no trading activity, the indicator will display a gray color. Additionally, if the ADX level meets the threshold level, the indicator will display a blue color. However, if the ADX level does not meet the threshold level, the indicator will revert back to displaying a gray color.
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!
buyer_seller_scalping_indicatorThis code is a custom script designed for analyzing trading volume within a specific time window on the TradingView platform. It offers a comprehensive analysis of buying and selling activity during a defined period and provides visual aids and data summaries for traders to make informed decisions. Here's a detailed breakdown of its functionality and how to use it:
1. Custom Time Period: The script starts by allowing you to specify a custom time period for analysis. In this example, it's set from 04:00 to 09:29. You can modify these time values to suit your specific trading needs.
2. Volume Calculation: The script calculates buying and selling volume based on price levels. It takes into account the open, high, low, and close prices to determine whether buying or selling pressure is dominant during the specified time frame.
3. Total Volume Calculation: It calculates the total volume within the custom time period. This can help you gauge the overall activity and liquidity during the chosen time window.
4. Visualizations: The script then plots visual elements on the chart:
- A volume histogram, which provides a graphical representation of the total volume during the time period.
- Buying and selling volume indicators, which are shown as circles on the chart, highlighting the relative strength of buyers and sellers.
- An average volume line, represented in gray, which helps you identify the average trading volume over a 50-period moving average.
5. Volume Type Determination: The script determines whether buyers or sellers dominate the market during the specified time period. It labels this as "Buyers Volume > Sellers Volume," "Sellers Volume > Buyers Volume," or "Buyers Volume = Sellers Volume." This information can be crucial for assessing market sentiment.
6. Percentage Breakdown: The script calculates the percentage of buying and selling volume in relation to the total volume, helping you understand the distribution of market participants. These percentages are displayed in a table.
7. Table Display: Finally, the script creates a table that displays the following information:
- The current volume type (buyers, sellers, or balanced), with corresponding text colors.
- The percentage of buyers and sellers in the market.
How to Use:
1. Copy the script and add it as a custom script on TradingView.
2. Apply the script to your desired financial chart.
3. Adjust the custom time period if needed.
4. Interpret the visual elements and table to gain insights into market sentiment and volume distribution during the specified time frame.
5. Use this information to inform your trading decisions and strategies, especially when trading within the chosen time window.
This script is a valuable tool for traders seeking to understand market dynamics and volume behavior during specific trading hours, ultimately aiding in more informed trading decisions.
Disclaimer:
The indicator provided herein is experimental and has not undergone comprehensive testing. Its usage is solely at your own risk.
The publisher assumes no responsibility for any trading decisions made based on the utilization of this indicator.
MarketSmith VolumesThe 'MarketSmith Volumes' is to be used with the 'MarketSmith Indicator' and 'EPS & Sales' in order to mimic fully MarketSmith Graphs with the maximum number of indicators allowed by a free Tradingview Plan: 3
This indicator is no more than a simple volume indicator where all parameters are already adjusted to resemble MarketSmith graphical volumes.
Also you will find integrated:
High Volumes Bars Peak :
They allow us to see peak volumes at a glance.
10-Week Average Volume :
When viewing a weekly chart, this line represents a 10-week moving average volume level. It allows you to see if the current Volume Bar of the week is above or under the average volume traded in the past 10 Weeks.
50-Day Average Volume :
When viewing a daily chart, this line represents a 50-day moving average volume level. Whether or not volume is above or below the average for a certain period could have a significant impact on your stock chart analysis.
Buyer/Seller Dominance ©TMW
The "Buyer/Seller Dominance" indicator script, developed by Deepanshu Sharma under The Market Wisdom (TMW), is a powerful analytical tool designed for use on the TradingView platform. This script is released under the Mozilla Public License 2.0, and it offers traders and investors an innovative perspective on market dynamics by assessing the relative strength of buyers and sellers within a given time frame.
Key Features:
1. Dominance Calculation: The indicator calculates the dominance of buyers and sellers over a specified number of candles. Users can define the number of candles (`n`) to consider in the dominance calculation.
2. Visual Representation: The script provides a visual representation of buyer and seller dominance using colored columns on the price chart. Green columns represent buyer dominance, while red columns represent seller dominance.
3. Balance Line: The indicator includes a dashed horizontal line at the zero level, representing a balance point between buyer and seller dominance. When the green and red columns cross this line, it signifies shifts in market sentiment.
How it Works:
The script divides the historical price data into segments of specified candle count (`n`) and assesses each segment's dominance. It calculates the volume associated with both green (bullish) and red (bearish) candles within each segment.
If a candle's closing price is higher than its opening price, it is considered a green candle. Similarly, if the closing price is lower than the opening price, the candle is classified as red. The volume of each respective type of candle is then accumulated for each segment.
The script plots the cumulative green candle volume as the "Buyer Dominance" column and the cumulative red candle volume as the "Seller Dominance" column. This visual representation helps traders gauge the ebb and flow of buyer and seller strength in the market.
Disclaimer :
The indicator is provided for informational purposes only and should not be considered as financial advice. It's important to conduct thorough research and analysis before making any trading decisions. The creator, Deepanshu Sharma, and "The Market Wisdom" team are not responsible for any trading losses incurred based on the usage of this indicator.
Remember that trading involves risks, and historical performance may not necessarily predict future results. Always consider multiple indicators, market trends, and risk management strategies when making trading decisions.
Dynamic Point of Control (POC)The Dynamic Point of Control (POC) indicator provides traders and analysts with insightful information about price levels, volume distribution, and sentiment within a specified historical range.
Instant Updates : POC recalculates with every new bar, keeping you ahead of the game.
Market Bias : Assess market sentiment through bullish volume share.
Customization : Tailor inputs to match your unique trading strategy.
Chart Presence : See POC and related data graphically on your price chart.
How to Use :
Traders can use the Dynamic POC indicator to identify Point of Control price level, understand volume distribution, and gauge market sentiment. The indicator's visual cues and customizable parameters make it a valuable tool for technical analysis and decision-making.
Heikin-Ashi Rolling Time Decay Volume OscillatorThe indicator calculates a time-decayed moving sum of volume data for both bullish (green) and bearish (red) candles. It then generates a volume share oscillator as a smoothed and weighted (time-decayed) moving sum of bullish volume (positive share) or bearish volume (negative share) relative to the total volume.
The volume share is displayed as an area chart with gradient fills representing overbought and oversold regions. Additionally, an Arnaud Legoux Moving Average (ALMA) of the volume oscillator is plotted on the chart.
Trend Momentum and Price Control :
This indicator serves as a powerful tool for traders to gauge trend momentum and identify which side, bulls or bears, is controlling price movements. When the volume oscillator trends strongly in the green territory, it suggests that bulls are in control of price movements, indicating a potential uptrend. Conversely, when the oscillator tilts into the red, it indicates bearish dominance and a potential downtrend. With the incorporation of ALMA for smoothing, this indicator becomes an essential tool for traders and analysts navigating the dynamics of traded assets.
Source Candles :
This indicator is designed to work with Heiken Ashi or Japanese candlesticks to discern candle bias, whether it's red or green. Heiken Ashi tends to produce red candles during downtrends and green candles during uptrends, providing a clearer trend indication. In contrast, traditional candlesticks alternate colors regardless of the dominant price direction. Users can select between "Heikin-Ashi Candles" and regular "Japanese Candles" as the source for price direction."
A time decay cumulative sum, also known as a weighted moving sum or exponentially weighted moving sum, offers several advantages when it comes to determining market dynamics compared to other methods:
Responsive to Recent Data: Time decay cumulative sum gives more weight to recent data points and gradually reduces the impact of older data. This responsiveness is crucial in rapidly changing market conditions where recent price and volume information is more relevant for analysis.
Adaptive to Market Volatility : It adapts to changes in market volatility. When markets are highly volatile, it places more emphasis on recent data to reflect the current market environment accurately. Conversely, during calmer periods, it considers older data less important.
Effective for Identifying Turning Points : Time decay cumulative sums are particularly effective at identifying turning points in market dynamics. They can indicate shifts from bullish to bearish sentiment and vice versa, providing early signals of potential trend reversals.
Reduces Lag : Traditional cumulative sums or simple moving averages can lag behind actual market changes, making them less effective for real-time decision-making. Time decay cumulative sums reduce this lag by giving more weight to recent events.
Dynamic Weighting: The weighting scheme can be adjusted to fit specific market dynamics or trading strategies. Traders can customize the decay rate or smoothing factor to align with their analysis goals and timeframes.
Improved Signal Clarity : The time decay cumulative sum can provide clearer and more precise signals for overbought and oversold conditions, as well as trend strength, due to its ability to emphasize recent relevant data.
In summary, a time decay cumulative sum is a valuable tool in determining market dynamics because it adapts to changing market conditions, reduces noise, and provides timely and accurate insights into trends, turning points, and the relative strength of bullish and bearish forces. Its responsiveness and adaptability make it an essential component of many technical analysis and trading strategies.
Volume Delta CandlesThis indicator is designed to visualize the volume delta, which represents the difference between buying and selling volumes during each candle period. The indicator plots custom candlesticks on the chart, with OHLC values calculated based on the volume delta.
Calculations:
To calculate the volume delta, the indicator first determines the buying and selling volumes. If the closing price is higher than the opening price (close > open), the volume is considered as buying volume. If the closing price is lower than the opening price (close < open), the volume is considered as selling volume. Otherwise, the volume is set to zero. The volume delta is then calculated as the difference between the buying volume and the selling volume.
The custom OHLC values are derived from the volume delta. The custom open is obtained by subtracting the volume delta from the closing price. The custom close is obtained by adding the volume delta to the closing price. The custom high is set as the maximum value between the closing price and the custom open, ensuring that the candle represents the highest value within the range. The custom low is set as the minimum value between the closing price and the custom open, ensuring that the candle represents the lowest value within the range.
Interpretation:
The indicator's custom candles provide visual insights into the volume delta. Each candlestick's color (lime for positive volume delta, fuchsia for negative volume delta) indicates the dominance of buying or selling pressure during that period. When the volume delta is positive, it suggests that buying volume exceeded selling volume, possibly indicating a bullish sentiment. Conversely, when the volume delta is negative, it indicates that selling volume was higher, potentially signaling a bearish sentiment. The indicator also plots a zero line to represent the equilibrium point, where buying and selling volumes are equal.
Potential Uses and Limitations:
Traders can use the indicator to gain insights into the strength and direction of buying and selling pressures. Positive volume delta during an uptrend could suggest the presence of strong buying interest, potentially supporting further bullish moves. On the other hand, negative volume delta during a downtrend could indicate intensified selling pressure, hinting at potential further declines. Traders might use the indicator in conjunction with other technical analysis tools, such as support and resistance levels, trendlines, or oscillators, to confirm potential reversal points or trend continuations.
It's essential to interpret the indicator in the context of the overall market environment. While volume delta can provide valuable insights into short-term buying and selling imbalances, it is just one aspect of market analysis. Traders should consider other factors, such as market structure, fundamental events, and overall sentiment, to make informed trading decisions. Additionally, the indicator's efficacy might vary across different market conditions, and it may produce false signals during low-volume periods or choppy markets.
Conclusion:
By visualizing volume delta through custom candlesticks, traders can gauge market sentiment and potentially identify key reversal or continuation points. As with any technical indicator, it is advisable to use the Volume Delta Candles in combination with other tools to gain a comprehensive understanding of market conditions and make well-informed trading choices. Additionally, traders should practice proper risk management techniques to protect their capital while using the indicator in their trading strategy.
Volume accumulation on past range [TCS] | VTAThe indicator calculates buy and sell volume values for different look-back periods based on the high, low, close, and tick volume data of the chart.
The range can be selected by adding the end date and the look-back period, which starts from the end date. It can calculate a maximum of 100 candlesticks.
The calculated buy and sell volume values are stored in separate variables, representing cumulative volume values over their respective look-back periods. It's important to note that the provided code calculates the buy and sell volume values individually for each look-back period and then sums them.
This information can be useful in understanding who is in control of the market during the selected range. The 'heatmap' is particularly helpful in identifying areas of high or low trading activity, which can help define support and resistance levels.
For example, if there is a greater accumulation of bullish volume than bearish volume and a break occurs in a resistance area, it may present a good entry opportunity.
Please note that this indicator is for educational purposes only and should not be used for trading without further testing and analysis.
Volume+The enhanced Volume+ Indicator is a valuable tool that builds upon the traditional Volume indicator by incorporating a technique known as linear prediction.
In traditional Volume analysis, the volume data for a bar is only known once the bar has closed. However, with the enhanced Volume+ Indicator, we utilize linear prediction to estimate the closing volume of the k-bar before it actually closes. This estimation is based on historical volume observed in the market.
By employing this indicator, traders and investors can gain an early insight into the potential volume of the current bar, even before it concludes. This can be particularly useful for those who wish to make informed decisions based on volume analysis and its impact on price movements.
===========================中文版本===========================
增强的Volume+指标是一个有价值的工具,它通过结合一种称为线性预测的技术建立在传统成交量指标的基础上。
在传统的成交量分析中,只有在柱线收盘后才能知道柱线的成交量数据。然而,通过增强的Volume+指标,我们利用线性预测来估计 k 柱实际收盘前的收盘成交量。该估计基于市场观察到的历史交易量。
通过使用该指标,交易者和投资者可以在k柱结束之前就尽早了解当前柱的潜在交易量。对于那些希望根据交易量分析及其对价格变动的影响做出明智决策的人来说,这尤其有用。