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!
Hacim
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.
Kashif_MFI+RSI+BBMerging Money Flow Index (MFI), Relative Strength Index (RSI), and Bollinger Bands in TradingView can offer traders a comprehensive view of market conditions, providing insights into potential price reversals, overbought or oversold conditions, and potential trend changes. Here are some benefits of combining these indicators:
Confirmation of Overbought and Oversold Conditions:
MFI and RSI are both oscillators that measure overbought and oversold conditions. When MFI and RSI readings are high (above their respective overbought levels), and the price is near or above the upper Bollinger Band, it may suggest that the asset is overextended and a reversal could be imminent. Conversely, when MFI and RSI readings are low (below their respective oversold levels) and the price is near or below the lower Bollinger Band, it may indicate potential buying opportunities.
Divergence Analysis:
Traders often look for divergences between price action and MFI/RSI. If the price is making new highs, but MFI/RSI is not confirming these highs (bearish divergence), it could signal weakening momentum and a possible reversal. Combining this analysis with Bollinger Bands can add another layer of confirmation, especially if the price is touching or exceeding the upper Bollinger Band during this divergence.
Volatility Confirmation:
Bollinger Bands provide a measure of volatility by expanding and contracting based on price volatility. If the bands are widening, it indicates increased volatility. Combining this information with MFI and RSI readings can help traders assess the strength of a trend. For example, during a strong uptrend, if MFI and RSI are high and Bollinger Bands are expanding, it may suggest a sustained bullish trend.
Identifying Trend Reversals:
The combination of MFI, RSI, and Bollinger Bands can be useful in identifying potential trend reversals. For instance, if MFI and RSI are in overbought conditions and the price is significantly above the upper Bollinger Band, it may signal that the trend is reaching an extreme and could reverse. Conversely, if MFI and RSI are in oversold conditions and the price is near or below the lower Bollinger Band, it may suggest that selling pressure is exhausted, and a reversal might be in play.
Comprehensive Market Assessment:
By merging these indicators, traders get a more comprehensive view of market conditions. They can assess both momentum (MFI and RSI) and volatility (Bollinger Bands) simultaneously, helping them make more informed trading decisions.
It's important to note that no single indicator or combination of indicators guarantees accurate predictions in trading. Traders should use these tools as part of a broader analysis and consider other factors such as fundamental analysis, market trends, and risk management.
VWAP Oscillator (Normalised)Thanks:
Thanks to upslidedown for his VWAP Oscillator that served as the inspiration for this normalised version.
Core Aspects:
The script calculates the VWAP by considering both volume and price data, offering a comprehensive view of market activity.
Uses an adaptive normalization function to balance the data, ensuring that the VWAP reflects current market conditions accurately.
The oscillator includes customizable settings such as VWAP source, lookback period, and buffer percentage.
Provides a clear visual representation of market trends.
Usage Summary:
Detect divergences between price and oscillator for potential trend reversals.
Assess market momentum with oscillator’s position relative to the zero line.
Identify overbought and oversold conditions to anticipate market corrections.
Use volume-confirmed signals for enhanced reliability in trend strength assessments.
Re-Anchoring VWAP TripleThe Triple Re-Anchoring VWAP (Volume Weighted Average Price) indicator is a tool designed for traders seeking a deeper understanding of market trends and key price levels. This indicator dynamically recalibrates VWAP calculations based on significant market pivot points, offering a unique perspective on potential support and resistance levels.
Key Features:
Dynamic Re-anchoring at All-Time Highs (ATH) : The first layer of this indicator continuously tracks the all-time high and recalibrates the VWAP from each new ATH. This VWAP line, typically acting as a dynamic resistance level, offers insights into the overbought conditions and potential reversal zones.
Adaptive Re-anchoring to Post-ATH Lows : The second component of the indicator shifts focus to the market's reaction post-ATH. It identifies the lowest low following an ATH and re-anchors the VWAP calculation from this point. This VWAP line often serves as a dynamic support level, highlighting key areas where the market finds value after a significant high.
Re-anchoring to Highs After Post-ATH Lows : The third element of this tool takes adaptation one step further by tracking the highest high achieved after the lowest low post-ATH. This VWAP line can act as either support or resistance, providing a nuanced view of the market's valuation in the recovery phase or during consolidation after a significant low.
Applications:
Trend Confirmation and Reversal Signals : By comparing the price action relative to the dynamically anchored VWAP lines, traders can gauge the strength of the trend and anticipate potential reversals.
Entry and Exit Points : By highlighting significant support and resistance areas, it assists in determining optimal entry and exit points, particularly in swing trading and mean reversion strategies.
Enhanced Market Insight : The dynamic nature of the indicator, with its shifting anchor points, offers a refined understanding of market sentiment and valuation changes over time.
Why Triple Re-Anchoring VWAP?
Traditional VWAP tools offer a linear view, often missing out on the intricacies of market fluctuations. The Triple Re-Anchoring VWAP addresses this by providing a multi-faceted view of the market, adapting not just to daily price changes but pivoting around significant market events. Whether you're a day trader, swing trader, or long-term investor, this indicator adds depth to your market analysis, enabling more informed trading decisions.
Examples:
OneThingToRuleThemAll [v1.4]This script was created because I wanted to be able to display a contextual chart of commonly used indicators for scalping and swing traders, with the ability to control the visual representation on the charts as their cross-overs, cross-unders, or changes of state happen in real time. Additionally, I wanted the ability to control how or when they are displayed. While looking through other community projects, I found they lacked the ability to full customize the output controls and values used for these indicators.
The script leverages standard RSI/MACD/VWAP/MVWAP/EMA calculations to help a trader visually make more informed decisions on entering or exiting a trade, depending on their understanding on what the indicators represent. Paired with a table directly on the chart, it allows a trader to quickly reference values to make more informed decisions without having to look away from the price action or look through multiple indicator outputs.
The main functionality of the indicator is controlled within the settings directly on the chart. There a user can enable the visual representations, or disable, and configure how they are displayed on the charts by altering their values or style types.
Users have the ability to enable/disable visual representations of:
The indicator chart
RSI Cross-over and RSI Reversals
MACD Uptrends and Downtrends
VWAP Cross-overs and Cross-unders
VWAP Line
MVWAP Cross-overs and Cross-unders
MVWAP Line
EMA Cross-overs and Cross-unders
EMA Line
Some traders like to use these visual indications as thresholds to enter or exit trades. Its best to find out which ones work the best with the security you are trying to trade. Personally, I use the table as a reference in conjunction with the RSI chart indicators to help me decide a logical trailing stop if I am scalping. Some users might like the track EMA200 crossovers, and have visual representations on the chart for when that happens. However, users may use the other indicators in other methods, and this script provides the ability to be able to configure those both visually and by value.
The pine script code is open source and itself is fairly straightforward, it is mostly written to provide the ultimate level of control the the user of the various indicators. Please reach out to me directly if you would like a further understanding of the code and an explanation on anything that may be unclear.
Enjoy :)
-dead1.
Market SessionsMarket Sessions Indicator Overview:
The "Market Sessions" indicator is a powerful tool designed to enhance traders' insights by providing comprehensive information about key market sessions, daily high/low values, and important exponential moving averages (EMAs) directly on the trading chart.
Key Features:
Market Sessions Display:
Visually represents Sydney/Tokyo, London, and New York sessions using distinct color-coded shapes.
Enhances visibility by dynamically changing the background color during specific trading sessions.
Daily High/Low:
Plots and labels the high and low values of the previous trading day on the chart.
Customizable colors for daily high and low markers.
Exponential Moving Averages (EMAs):
Includes 20, 50, and 200-period EMAs for comprehensive trend analysis.
Users have the flexibility to customize the visibility and color of each EMA.
Dashboard Information:
Real-time information about the current and upcoming market sessions.
Displays the time remaining for the upcoming session, aiding in timely decision-making.
Stock Session Information:
Clearly marks open and close times for Asia, Euro, and USA stock sessions.
Customizable visibility options for stock open/close lines, allowing for a tailored chart display.
Usage Guidelines:
Market Session Identification: Easily identify distinct market sessions using color-coded shapes and background color changes.
Daily Analysis: Quickly reference labeled lines for the high and low values of the previous trading day.
Trend Analysis: Observe the plotted EMAs on the chart for insights into the prevailing trends.
Real-time Monitoring: Utilize the dashboard for real-time information on current and upcoming sessions.
Stock Session Details: Identify specific open and close times for stock sessions, aiding in strategic planning.
Customization Options:
User-Friendly Parameters: Customize visibility, color, and positioning based on individual preferences.
Dashboard Configuration: Adjust dashboard position, text placement, and EMA parameters to tailor the indicator to specific needs.
Backtesting Feature:
The indicator includes a backtest feature, allowing users to visualize past sessions for testing and refining trading strategies.
This Market Sessions Indicator provides traders with a holistic view of market dynamics, facilitating informed decision-making and enhancing overall trading experiences.
Trend Strength Over TimeThe script serves as an indicator designed to assess and visualize trend strength and Volume strength over time. It employs a variety of calculations and conditions to offer insights into both bullish and bearish market trends. Let's explore the key conceptual elements of the code.
Trend Strength Conditions:
The script defines conditions to assess trend strength based on a comparison between each calculated percentile value and the highest high (bullish) or lowest low (bearish). Separate conditions are established for each percentile length, allowing for a nuanced understanding of trend dynamics across different timeframes.
Counting Bull and Bear Trends:
To quantify the strength of bullish and bearish trends, the script maintains counts for the number of conditions that are true for each. This count-based approach provides a quantitative measure of trend strength.
Weak Bull and Bear Counts:
Recognizing that trends are not always clear-cut, the script introduces the concept of weak trends. It counts instances where the percentiles fall between the highest high and lowest low, indicating a potential weakening of the prevailing trend.
Bull and Bear Strength:
Bull and bear strengths are calculated based on the counts, with adjustments made for weak trends. This step provides a more nuanced and comprehensive assessment of trend strength by considering both strong and weak signals.
Current Trend Value:
The culmination of these calculations is the determination of the current trend value. This value represents the balance between bullish and bearish forces, offering a dynamic indicator of the market's prevailing sentiment.
Volume Strength Calculation:
In addition to price-based indicators, the script incorporates volume strength as a crucial element. This is calculated using the simple moving averages (SMAs) of volume over different lengths, normalized relative to the SMA over a length of 144. Volume strength adds a layer of confirmation or divergence to the price-based trend analysis.
Color Change:
To facilitate quick and intuitive interpretation, the script dynamically changes the color of the plotted line on the chart based on the current trend value. Green indicates a bullish trend, red indicates a bearish trend, and blue suggests a neutral or indecisive market.
Plotting:
The script uses the plot function to visually present the calculated trend strength and volume strength on the chart. This visual representation aids traders in making informed decisions based on the identified trends and their strengths.
Volume Strength: A Detailed Explanation
In the context of the provided script, volume strength is a critical component used to assess the strength of a market trend. It provides insights into the level of participation and commitment of market participants, offering a complementary perspective to traditional price-based indicators. Let's delve into the concept and practical applications of volume strength.
Calculation of Volume Strength:
The script calculates volume strength by considering the simple moving averages (SMAs) of volume over different time periods (13, 21, 34, 55, 89). These individual SMAs are then normalized relative to the SMA over a more extended period of 144. The weights assigned to each SMA in the calculation are defined in the variable VCF (Volume Correction Factor).
Calculation of Volume Strength with Weights: The weights assigned to each SMA in this calculation are crucial for emphasizing the significance of shorter-term volume movements relative to a longer-term baseline.
Interpretation of Weights:
The choice of weights reflects the relative importance of shorter-term volume movements compared to longer-term trends. In this script, shorter-term SMAs (13, 21, 34, 55, 89) are assigned decreasing weights, while the longer-term SMA (144) serves as the baseline.
Shorter-term SMAs with higher weights may have a more immediate impact on the volume strength calculation. This implies that recent changes in volume carry more weight in assessing the current market conditions.
The decreasing weights for shorter-term SMAs might indicate that, as the timeframe lengthens, the significance of recent volume movements diminishes in relation to the longer-term trend. This approach allows for a focus on both short-term volatility and longer-term stability in volume patterns.
The purpose of normalization is to emphasize the current volume's significance in comparison to its historical context. This can help identify abnormal volume spikes or sustained increases in trading activity, which may indicate the strength or weakness of a trend.
Interpretation and Practical Use:
Confirmation of Trend:
Rising volume during an uptrend can validate the strength of the upward movement, suggesting that a significant number of market participants are actively buying. Conversely, decreasing volume during an uptrend might indicate weakening interest and a potential reversal.
In a downtrend, increasing volume on downward price movements reinforces the strength of the trend. A decrease in volume during a downtrend may suggest a potential weakening or exhaustion of the downward momentum.
Divergence Analysis:
Divergence occurs when there is a disagreement between the price movement and the corresponding volume. For example, if prices are rising but volume is declining, it could signal a lack of conviction in the upward movement, and a reversal might be imminent.
Conversely, if prices are falling, but volume is decreasing as well, it might suggest that the downward momentum is losing steam, and a potential reversal or consolidation could be on the horizon.
In conclusion, volume strength analysis provides traders with a powerful tool to gauge the conviction behind price movements. By incorporating volume data into the technical analysis, one can make more informed decisions, enhance trend identification, and improve risk management strategies.
Accumulation/Distribution Money Flow v1.0This indicator is intended to measure selling and buying pressure, calculates accumulation/distribution levels and suggests current trend intensity and direction.
Core calculations are based on open source script by cI8DH which was not updated ever since 2018. Also, it implements the technique to avoid price gaps issues as described in Twiggs® Money Flow .
The indicator can plot calculated A/D line, a smoothed A/D line and another smoother derivative from the smoothed line which serves as a signal line. By implementing crossovers detection between two lines and also measuring distance between them it plots the histogram of the difference and can also color chart bars accordingly.
You can also use settings to factor in price and/or volume into calculations.
Three options for visual color representation are available.
1) Simple color bars
In this case bars are colored in red and green by default, whereas green indicates positive distance between smoothed A/D line and signal line (upward movement), and red indicated negative distance (downward movement).
2) 4-color scheme
In this case pale green and pale red colors are added, whereas pale red used when the histogram is positive and A/D + signal lines are below zero lines (start of upward movement from lower levels), and pale green is where histogram is negative and both A/D and signal lines are above zero line (start of downward movement from top levels). Bright red and green colors indicate strong movement where the position of A/D + signal lines correspond to positive and.or negative histogram values. This option allows to visually track trend intensity more precisely.
3) Gradient bars color
In this scheme the candles are colored using gradient of either red or green color depending on the intensity and direction of the trend. For that color scheme you must specify the lookback parameter indicating number of bars back to determine highest/lowest values.
Pocket Pivot BreakoutPocket Pivot Breakout Indicator
The pocket pivot breakout indicator will show a blue arrow under the candle if both the following conditions are met:
1. The percentage change of the candle on that day from open is greater than 3%.
2. The volume on the day of 3% candle is higher than the highest red volume in the past 10 days.
The second condition is based on the 'Pocket Pivot' concept developed by Gil Morales and Chris Kacher.
If only one of the conditions is met, while the other is not, there will be no arrow.
How to use the Pocket Pivot Breakout indicator?
1. If the stock is breaking out of a proper base like (cup & handle, Darvas box etc.), you can use the blue arrow as an indicator to make your initial buy.
2. If you already own a stock, the blue arrow indicator can be used for pyramiding, following a continuation breakout from a proper base.
3. Avoid making a new entry or continuation entry if the stock is too extended from 10ma.
Gap-up > 0.5% Indicator
Gap-up Indicator displays a blue colored candle when a stock gaps up by more than 0.5% compared to previous day's close.
It is turned off by default. To activate it, check the box next to Gap-up > 0.5% in the indicator options.
How to use the Gap-up Indicator?
1. When a stock gaps up, it usually indicates strength, especially if on the day of the gap-up, the stock closes strongly.
2. This indicator should not be used in isolation but with a proper base breakout from a tight consolidation.
3. If a stock is already extended from 10ma, avoid taking any new or continuation entries.
Precautions
1. Avoid buying longs when the general market conditions are not favorable.
2. Avoid buying stocks below 200ma.
3. Avoid making a new entry or pyramid entry if a stock is too extended from 10ma.
Important Points
1. Always choose fundamentally strong stocks showing strong growth in earnings/margins/sales.
2. Buy these fundamentally strong stocks when they are breaking out of proper bases.
3. To learn more about pocket pivots and buyable gap-ups, read the book, Trade Like an O'Neil Disciple (by Gil Morales & Chris Kacher).
Cheers
Simranjit
WHALE SIGNAL 4H
WHALE SIGNAL 4H BASED ON VOLUME CHANGE AND MOVING AVERAGE
This script aims to highlight potential whale signals on the 4-hour timeframe by analyzing volume changes, and it provides options for customization through input parameters. Whale signals are then displayed on the chart with different colors for the last hit and the previous hits. The Detector parameter adds flexibility to consider neighboring bars in the detection process, Let's break down the key components:
1/The script defines input parameters that users can customize:
-VCH (Volume Change on 4H candle) with a default value of 3, 3 times the MA Value.
-Length_240 (Moving Average length for the last 21 bars on the 4-hour timeframe).
-Detector (a boolean parameter to enable or disable whale detection in the previous or next bar).
2/Logic Section:
The script defines a function bar(hit) to convert the bar index based on the timeframe.
It calculates the Volume Change (whale signal) by comparing the current volume with a threshold (VCH * vma).
The Detector parameter allows for flexibility in detecting whale signals in neighboring bars.
3/ Plotting Section:
The script defines a function is_whale() to check if there is a whale signal and if it occurred in the last three bars.
It uses the plot function to display whale signals on the chart with different colors and offsets.
Volume Spread Analysis [Ahmed]Greetings everyone,
I'm thrilled to present a Pine Script I've crafted for Volume Spread Analysis (VSA) Indicator. This tool is aimed at empowering you to make smarter trading choices by scrutinizing the volume spread across a specified interval.
The script delivers a comparative volume analysis, permitting you to fix the type and length of the moving average. It subsequently delineates the moving average (MA), MA augmented by 1 standard deviation (SD), and MA increased by 2 SD. You can fully personalize the color coding for these echelons.
Volume Spread Analysis is an analytical technique that scrutinizes candles and the volume per candle to predict price direction. It considers the volume per candle, the spread range, and the closing price.
To effectively leverage VSA, you need to adhere to a few steps:
1. Ensure you use candlesticks for trading. Other chart types like line, bar, and renko charts may not yield optimal results.
2. Confirm that your broker provides reliable volume data.
3. Be mindful of the chart's timeframe. Volume analysis may not be effective on very short timeframes such as a minute chart. I recommend using daily, weekly, or monthly charts.
Another tip is to examine the spread between the price bars and the volume bars to discern the trend.
The script not only makes it easier to integrate these principles into your trading but also brings precision and convenience to your analysis.
Please remember to adhere to Tradinview terms of service when using the script. Happy trading!
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.
Double Simple Moving AverageThe Double Simple moving average is an indicator developed to help traders identify dynamic levels of support and resistance as well as determine current trend direction.
This indicator shows both an SMA calculated on highs and one calculated on lows. In addition to that, it plots the deviation bands based on the space between the two main lines.
The gradient color between the two main lines can be used to determine the volumetric pressure and confirmation of the current trend.
Liquidity Price Depth Chart [LuxAlgo]The Liquidity Price Depth Chart is a unique indicator inspired by the visual representation of order book depth charts, highlighting sorted prices from bullish and bearish candles located on the chart's visible range, as well as their degree of liquidity.
Note that changing the chart's visible range will recalculate the indicator.
🔶 USAGE
The indicator can be used to visualize sorted bullish/bearish prices (in descending order), with bullish prices being highlighted on the left side of the chart, and bearish prices on the right. Prices are highlighted by dots, and connected by a line.
The displacement of a line relative to the x-axis is an indicator of liquidity, with a higher displacement highlighting prices with more volume.
These can also be easily identified by only keeping the dots, visible voids can be indicative of a price associated with significant volume or of a large price movement if the displacement is more visible for the price axis. These areas could play a key role in future trends.
Additionally, the location of the bullish/bearish prices with the highest volume is highlighted with dotted lines, with the returned horizontal lines being useful as potential support/resistances.
🔹 Liquidity Clusters
Clusters of liquidity can be spotted when the Liquidity Price Depth Chart exhibits more rectangular shapes rather than "V" shapes.
The steepest segments of the shape represent periods of non-stationarity/high volatility, while zones with clustered prices highlight zones of potential liquidity clusters, that is zones where traders accumulate positions.
🔹 Liquidity Sentiment
At the bottom of each area, a percentage can be visible. This percentage aims to indicate if the traded volume is more often associated with bullish or bearish price variations.
In the chart above we can see that bullish price variations make 63.89% of the total volume in the range visible range.
🔶 SETTINGS
🔹 Bullish Elements
Bullish Price Highest Volume Location: Shows the location of the bullish price variation with the highest associated volume using one horizontal and one vertical line.
Bullish Volume %: Displays the bullish volume percentage at the bottom of the depth chart.
🔹 Bearish Elements
Bearish Price Highest Volume Location: Shows the location of the bearish price variation with the highest associated volume using one horizontal and one vertical line.
Bearish Volume %: Displays the bearish volume percentage at the bottom of the depth chart.
🔹 Misc
Volume % Box Padding: Width of the volume % boxes at the bottom of the Liquidity Price Depth Chart as a percentage of the chart visible range
Oscillator Volume Profile [Trendoscope®]The Oscillator Volume Profile indicator is designed to construct a volume profile based on predefined oscillator levels. It integrates volume data with oscillator readings to offer a unique perspective on market dynamics.
🎲 Selectable Oscillators:
Users can select from an array of oscillator options for the basis of the volume profile, including:
Relative Strength Index (RSI)
Chande Momentum Oscillator (CMO)
Center of Gravity (COG)
Money Flow Index (MFI)
Rate of Change (ROC)
Commodity Channel Index (CCI)
Stochastic Oscillator (Stoch)
True Strength Index (TSI)
Williams %R (WPR)
The length parameters - Length, Fast Length, Slow Length allows users to define the period over which the chosen oscillator is calculated, tailoring the sensitivity of the indicator to their trading strategy.
🎲 Dynamic Overbought/Oversold Ranges:
This indicator enhances traditional concepts by introducing dynamic overbought and oversold levels. These adaptable thresholds are calculated using various methods, including:
🎯 Highest/Lowest Range Method : This method establishes the range based on the highest and lowest values of the oscillator within the last N bars.
🎯 Moving Average Range Method : The range is derived from a moving average of the oscillator, providing a smoothed threshold that reflects more recent market conditions.
In addition to these methods, the indicator incorporates a unique 'Sticky Border' feature:
🎯 Sticky Border: With this option enabled, the dynamic ranges maintain their levels until the oscillator breaks out of the range. Once a breakout occurs, the levels are recalculated and updated. This mechanism ensures that the borders remain consistent and relevant, only adjusting to significant market movements that warrant a recalculation.
Users can select their preferred method for determining dynamic ranges, allowing for a customized approach that aligns with their analysis and trading strategy. The sticky border feature further refines this functionality, offering continuity until a decisive market move occurs.
🎲 Volume Profile Calculation Parameters:
🎯 Trend Filter: The indicator provides a versatile trend filter with four selectable options:
Uptrend: The volume profile is calculated when the oscillator indicates an uptrend.
Downtrend: The volume profile is calculated when the oscillator indicates a downtrend.
Any: The volume profile is calculated regardless of the trend.
External: Users can input values from an external indicator. The volume profile is then calculated only when the external indicator's value is non-zero, integrating external analysis into the volume profile construction.
🎯 Precision: Users have the option to define the precision for calculating the volume profile, which is crucial due to the varying scales of different oscillators (e.g., some oscillators range from 0 to 100, while others from -1 to 1). Selecting an appropriate precision ensures that the volume profile is accurately aligned with the minimal price range significant to the chosen oscillator. This setting requires user intervention for optimal configuration, as automatic calculation is not feasible due to the diverse nature of oscillator ranges.
🎯 Number of Bars: Users can select a specific number of bars for volume profile calculation, or opt to include all available historical bars for a comprehensive profile.
🎲 Selecting the right precision:
Users must select the right precision based on their choice of indicator. For example, RSI values range from 0-100. Hence, the default precision of 1 work fine on RSI as the volume profiles are plotted from 0 to 100 at the interval of 0.1
But, the default precision of 1 will not be ok on TSI because TSI values range from -1 to 1. Hence, using 1 as precision will result in very less volume profile lines as shown below.
Due to this, it is necessary to increase the precision for oscillators such as TSI where the range between highest and lowest value is far less. Once we set the precision to 2, we can see more appropriate volume profile division.
🎲 Note of thanks:
This publication uses polyline feature for drawing volume profiles. The advantage of using polyline is that we can overcome max 500 lines issue that we face by using the regular line objects. More details of polyline can be found in the tradingview blog post
Further, using polyline for display of volume profiles is inspired by the publications of fikira and KioseffTrading
10x Bull Vs. Bear VP Intraday Sessions [Kioseff Trading]Hello!
This script "10x Bull Vs. Bear VP Intraday Sessions" lets the user configure up to 10 session ranges for Bull Vs. Bear volume profiles!
Features
Up To 10 Fixed Ranges!
Volume Profile Anchored to Fixed Range
Delta Ladder Anchored to Range
Bull vs Bear Profiles!
Standard Poc and Value Area Lines, in Addition to Separated POCs and Value Area Lines for Bull Profiles and Bear Profiles
Configurable Value Area Target
Up to 2000 Profile Rows per Visible Range
Stylistic Options for Profiles
This script generates Bull vs. Bear volume profiles for up to 10 fixed ranges!
Up to 2000 volume profile levels (price levels) Can be calculated for each profile, thanks to the new polyline feature, allowing for less aggregation / more precision of volume at price and volume delta.
Bull vs Bear Profiles
The image above shows primary functionality!
Green profiles = buying volume
Red profiles = selling volume
All colors are configurable.
Bullish & bearish POC + value areas for each fixed range are displayable!
That’s about it :D
This indicator is part of a series titled “Bull vs. Bear”.
If you have any suggestions please feel free to share!
Volume SentimentIn 1994 Tushar Chande and Stanley Kroll published a epic book of modern trading indicators called "The New Technical Trader". I highly recommend it. Two indicators that stood out was the Market Thrust and Thrust Oscillator. They suggested these as alternatives to the Arms Index. Rather than using the Advancing Stocks and their associated volume, I applied their logic to individual bars.
Bar Sentiment can be defined and the difference between the low and the close relative to the bar width. Smaller values are bearish and larger one are bullish. A bullish candle would close above its mid-point. Conversely, a close below the candle mid-point is considered bearish.
With that, this script sums the bullish or bearish (as defined above) volume over a user defined number of bars. It gives a unique indication of the volume compared to typical volume indicators. It also gives the user the option to set a "High Volume" alert when the total volume is greater than the moving average. This is helpful for identify increasing activity in your security.
Enjoy and happy trading!
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.
Volume DensityScript calculates the amount of volume involved per unit price and is colored based on its previous value. An increasing value along with a suitable price action indicates that there is more supply at that level and could be a potential reversal, a decreasing value indicates that there is less supply and the scrip may be in momentum or having a breakout.
Webby's Quick & Grateful Dead RSWebby's Quick & Grateful Dead RS combines a Relative Strength Line and Moving Averages to help traders hold a core position in a winning stock by identifying moments of strength and weakness in a stocks advance.
The Relative Strength (RS) line is something many investors are familiar with. It is used to measure a stocks performance versus the S&P 500 (default setting) and is typically calculated by dividing the closing price of the stock by the closing price of the S&P. This means if a stock moves up and the S&P moves down or the stock moves up more than the S&P the RS line will increase, if the stock moves down while the S&P moves up the line will decrease.
While the RS Line by itself is a powerful tool, adding moving averages to the RS line can help better understand trends. This work was done by Mike Webster (Webby) as he tried to reverse engineer how William O'Neil was able to hold some of his biggest winning positions.
This indicator plots the RS line along with two moving averages and clearly labels and alerts the 3 signals shared by Webby:
Quick Break - RS line crosses below the fast moving average
Quicksand - RS line moves lower than it was at the time of the Quick Break
Grateful Dead Break - RS line crosses below the slow moving average
To ensure your chart doesn't get skewed, please use the multiplier in the setting to adjust the vertical offset of the RS line and moving averages.
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
Machine Learning: VWAP [YinYangAlgorithms]Machine Learning: VWAP aims to use Machine Learning to Identify the best location to Anchor the VWAP at. Rather than using a traditional fixed length or simply adjusting based on a Date / Time; by applying Machine Learning we may hope to identify crucial areas which make sense to reset the VWAP and start anew. VWAP’s may act similar to a Bollinger Band in the sense that they help to identify both Overbought and Oversold Price locations based on previous movements and help to identify how far the price may move within the current Trend. However, unlike Bollinger Bands, VWAPs have the ability to parabolically get quite spaced out and also reset. For this reason, the price may never actually go from the Lower to the Upper and vice versa (when very spaced out; when the Upper and Lower zones are narrow, it may bounce between the two). The reason for this is due to how the anchor location is calculated and in this specific Indicator, how it changes anchors based on price movement calculated within Machine Learning.
This Indicator changes the anchor if the Low < Lowest Low of a length of X and likewise if the High > Highest High of a length of X. This logic is applied within a Machine Learning standpoint that likewise amplifies this Lookback Length by adding a Machine Learning Length to it and increasing the lookback length even further.
Due to how the anchor for this VWAP changes, you may notice that the Basis Line (Orange) may act as a Trend Identifier. When the Price is above the basis line, it may represent a bullish trend; and likewise it may represent a bearish trend when below it. You may also notice what may happen is when the trend occurs, it may push all the way to the Upper or Lower levels of this VWAP. It may then proceed to move horizontally until the VWAP expands more and it may gain more movement; or it may correct back to the Basis Line. If it corrects back to the basis line, what may happen is it either uses the Basis Line as a Support and continues in its current direction, or it will change the VWAP anchor and start anew.
Tutorial:
If we zoom in on the most recent VWAP we can see how it expands. Expansion may be caused by time but generally it may be caused by price movement and volume. Exponential Price movement causes the VWAP to expand, even if there are corrections to it. However, please note Volume adds a large weighted factor to the calculation; hence Volume Weighted Average Price (VWAP).
If you refer to the white circle in the example above; you’ll be able to see that the VWAP expanded even while the price was correcting to the Basis line. This happens due to exponential movement which holds high volume. If you look at the volume below the white circle, you’ll notice it was very large; however even though there was exponential price movement after the white circle, since the volume was low, the VWAP didn’t expand much more than it already had.
There may be times where both Volume and Price movement isn’t significant enough to cause much of an expansion. During this time it may be considered to be in a state of consolidation. While looking at this example, you may also notice the color switch from red to green to red. The color of the VWAP is related to the movement of the Basis line (Orange middle line). When the current basis is > the basis of the previous bar the color of the VWAP is green, and when the current basis is < the basis of the previous bar, the color of the VWAP is red. The color may help you gauge the current directional movement the price is facing within the VWAP.
You may have noticed there are signals within this Indicator. These signals are composed of Green and Red Triangles which represent potential Bullish and Bearish momentum changes. The Momentum changes happen when the Signal Type:
The High/Low or Close (You pick in settings)
Crosses one of the locations within the VWAP.
Bullish Momentum change signals occur when :
Signal Type crosses OVER the Basis
Signal Type crosses OVER the lower level
Bearish Momentum change signals occur when:
Signal Type crosses UNDER the Basis
Signal Type Crosses UNDER the upper level
These signals may represent locations where momentum may occur in the direction of these signals. For these reasons there are also alerts available to be set up for them.
If you refer to the two circles within the example above, you may see that when the close goes above the basis line, how it mat represents bullish momentum. Likewise if it corrects back to the basis and the basis acts as a support, it may continue its bullish momentum back to the upper levels again. However, if you refer to the red circle, you’ll see if the basis fails to act as a support, it may then start to correct all the way to the lower levels, or depending on how expanded the VWAP is, it may just reset its anchor due to such drastic movement.
You also have the ability to disable Machine Learning by setting ‘Machine Learning Type’ to ‘None’. If this is done, it will go off whether you have it set to:
Bullish
Bearish
Neutral
For the type of VWAP you want to see. In this example above we have it set to ‘Bullish’. Non Machine Learning VWAP are still calculated using the same logic of if low < lowest low over length of X and if high > highest high over length of X.
Non Machine Learning VWAP’s change much quicker but may also allow the price to correct from one side to the other without changing VWAP Anchor. They may be useful for breaking up a trend into smaller pieces after momentum may have changed.
Above is an example of how the Non Machine Learning VWAP looks like when in Bearish. As you can see based on if it is Bullish or Bearish is how it favors the trend to be and may likewise dictate when it changes the Anchor.
When set to neutral however, the Anchor may change quite quickly. This results in a still useful VWAP to help dictate possible zones that the price may move within, but they’re also much tighter zones that may not expand the same way.
We will conclude this Tutorial here, hopefully this gives you some insight as to why and how Machine Learning VWAPs may be useful; as well as how to use them.
Settings:
VWAP:
VWAP Type: Type of VWAP. You can favor specific direction changes or let it be Neutral where there is even weight to both. Please note, these do not apply to the Machine Learning VWAP.
Source: VWAP Source. By default VWAP usually uses HLC3; however OHLC4 may help by providing more data.
Lookback Length: The Length of this VWAP when it comes to seeing if the current High > Highest of this length; or if the current Low is < Lowest of this length.
Standard VWAP Multiplier: This multiplier is applied only to the Standard VWMA. This is when 'Machine Learning Type' is set to 'None'.
Machine Learning:
Use Rational Quadratics: Rationalizing our source may be beneficial for usage within ML calculations.
Signal Type: Bullish and Bearish Signals are when the price crosses over/under the basis, as well as the Upper and Lower levels. These may act as indicators to where price movement may occur.
Machine Learning Type: Are we using a Simple ML Average, KNN Mean Average, KNN Exponential Average or None?
KNN Distance Type: We need to check if distance is within the KNN Min/Max distance, which distance checks are we using.
Machine Learning Length: How far back is our Machine Learning going to keep data for.
k-Nearest Neighbour (KNN) Length: How many k-Nearest Neighbours will we account for?
Fast ML Data Length: What is our Fast ML Length? This is used with our Slow Length to create our KNN Distance.
Slow ML Data Length: What is our Slow ML Length? This is used with our Fast Length to create our KNN Distance.
If you have any questions, comments, ideas or concerns please don't hesitate to contact us.
HAPPY TRADING!