Total number strength by ticker volumeThis is about stocks, which I always analyze.
Figure this out by looking at what the code calls ta.secutity.
This indicator plots the highest value of the ratio of total volume to individual volume for the stock you are analyzing, and the histogram tumbles to red when the stock changes in that value. The changed value is plotted as a label above that histogram. By using this indicator, you can determine which is currently the focus of attention, and if there are outliers, you will know by the histogram's detachment.
The parameters are explained below, but Timefream is the market value to be determined
setvalue sets the item to be judged, and lenght sets the time period to be judged. setvalue is the parameter that determines the timeframe for the judgment. vol is the volume, VP is the total purchase price, VPMA is its average, VPMAD is the detachment from its average, MA is the average of the vol, MAD is the detachment from its average, LRC is the average of the vol, and LRC is the average of the vol. value of linear regression, and also
The calculation of detachment is not negative because it comes out as a square, but it is not a problem because it is calculated as a percentage.
There is a *problem, and if the timefreame to be displayed is not calculated below the value of timefreame, an error will occur. We are currently searching for a solution to this problem. If you know the solution, I would appreciate it if you could let me know in the chat.
Volume
MADALGO's Fear and Greed OscillatorThe Fear and Greed Oscillator is a dynamic tool designed to gauge market sentiment by analyzing various components such as volatility, momentum, and volume. This indicator synthesizes multiple metrics to provide a singular view of market emotion, oscillating between fear and greed.
🔷 Calculation -
The oscillator integrates the following components, each normalized and weighted to contribute equally:
ATR (Average True Range): Represents market volatility.
MACD (Moving Average Convergence Divergence): Captures market momentum.
RSI (Relative Strength Index): Provides insights into overbought or oversold conditions.
Volume: Reflects market participation levels.
Each component is first normalized to ensure a balanced impact and then averaged to create the final oscillator value.
🔷 Color Coding -
The oscillator's plot changes color based on its value, representing market sentiment:
Green: Indicates a leaning towards greed.
Red: Suggests a leaning towards fear.
The intensity of the color represents the strength of the sentiment.
🔷 Usage -
This indicator is valuable for traders looking to understand market sentiment. It works best when combined with other forms of analysis, such as fundamental or other technical indicators, to form a comprehensive trading strategy.
🔷 Signal Lines -
Two horizontal lines represent extreme conditions:
A line for Extreme Fear.
Another for Extreme Greed.
These lines help identify when the market sentiment is at potentially unsustainable levels.
🔷 Customization -
The Fear and Greed Oscillator is designed with flexibility in mind, allowing users to adjust several parameters to match their specific analysis requirements. Understanding and utilizing these customization options can significantly enhance the indicator's relevance and effectiveness in various market conditions.
1. Length Parameters:
ATR and RSI Length: This input determines the period over which the Average True Range (ATR) and the Relative Strength Index (RSI) are calculated. Adjusting this length can affect the sensitivity of the oscillator to recent market movements. A shorter length makes the oscillator more responsive to recent changes, while a longer length smoothens it, reducing sensitivity to short-term fluctuations.
MACD Parameters: These include the Fast Length, Slow Length, and Signal Smoothing. By adjusting these, users can control how the Moving Average Convergence Divergence (MACD) component reacts to price movements. This customization is crucial for aligning the oscillator with different trading strategies, whether short-term or long-term focused.
Volume Length: This parameter sets the period for the moving average and standard deviation calculations of the volume component. Altering this length allows the oscillator to either emphasize recent volume changes or consider a broader historical context.
2. Weight Adjustments:
Component Weights: Each component (ATR, MACD, RSI, Volume) has an associated weight factor. These weights determine the relative influence of each component on the final oscillator value. Users can increase the weight of a component to give it more influence or decrease it to lessen its impact. This feature is particularly beneficial for traders who have a preference or insight into which market aspects are more indicative of fear or greed at given times.
Balancing the Components: The key to effective customization lies in balancing these weights to reflect the user's market perspective and trading style. For instance, a trader focusing on volatility might increase the weight of the ATR, while one interested in momentum might prioritize the MACD and RSI weights.
3. Color and Signal Line Customization:
Color Intensity: The intensity of the color gradient of the oscillator line can be a visual aid in quickly identifying market sentiment. Users can experiment with the colorValue calculation within the script to adjust how rapidly the color changes with the oscillator values
Extreme Levels: The extreme fear and greed levels, represented by horizontal lines, are customizable. Users can set these levels based on historical data analysis or personal risk tolerance. These lines act as alerts for potentially overextended market conditions.
🔷 Limitations -
As with any technical tool, the Fear and Greed Oscillator should not be used in isolation. It does not predict market direction but rather gauges the prevailing market emotion. Its effectiveness may vary across different markets and timeframes.
🔷 Conclusion -
The Fear and Greed Oscillator offers a unique perspective on market sentiment, encapsulating various aspects of market behavior into a single indicator. It serves as a versatile tool for traders aiming to understand the emotional undercurrents of the market.
🔷 Risk Disclaimer -
Financial trading involves significant risk. The value of investments can fluctuate, and past performance is not indicative of future results. This indicator is for informational purposes and should not be construed as financial advice. Always consider your personal circumstances and seek independent advice before making financial decisions.
Logarithmic CVD [IkkeOmar]The LCVD is another Mean-Reversion Indicator. it doesn't detect trends and does not give a signal per se. However the logarithmic transformation is made to visualize the direction of the trend for the volume. This allows you to see if money is flowing in or out of an asset.
What it does is tell you if we have a flashcrash based on the difference in volume.
Think of this indicator like a form of a volatility index.
Smoothing input:
The only input is an input for the smoothing length of the logDelta.
Volume Calculation:
// @IkkeOmar
//@version=5
indicator('Logarithmic CVD', shorttitle='CVD', overlay=false)
smooth = input.int(defval = 25, title = "Smoothing Distance")
// Calculate buying and selling volume
askVolume = volume * (close > open ? 1 : 0) // Assuming higher close than open indicates buying
bidVolume = volume * (close < open ? 1 : 0) // Assuming lower close than open indicates selling
// Delta is the difference between buying and selling volume
delta = askVolume - bidVolume
// Apply logarithmic transformation to delta
// Adding a check to ensure delta is not zero as log(0) is undefined
logDelta = delta > 0 ? math.log(math.abs(delta)) * math.sign(delta) : - math.log(math.abs(delta)) * math.sign(delta)
// use the the ta lib for calculating the sma of the logDelta
smoothLogDelta = ta.sma(logDelta, smooth)
// Create candlestick plot
plot(logDelta, color= color.green, title='Logarithmic CVD')
plot(smoothLogDelta, color= color.rgb(145, 37, 1), title='Smooth CVD')
These lines calculate the buying and selling volumes. askVolume is calculated as the total volume when the closing price is higher than the opening price, assuming this indicates buying pressure. bidVolume is calculated as the total volume when the closing price is lower than the opening price, assuming selling pressure.
The Delta is simply the difference between buying and selling volumes.
Logarithmic Transformation:
logDelta = delta > 0 ? math.log(math.abs(delta)) * math.sign(delta) : - math.log(math.abs(delta)) * math.sign(delta)
Applies a logarithmic transformation to delta. The math.log function is used to calculate the natural logarithm of the absolute value of delta. The sign of delta is preserved to differentiate between positive and negative values. This transformation helps in scaling the delta values, especially useful when dealing with large numbers.
This script essentially provides a visual representation of the buying and selling pressures in a market, transformed logarithmically for better scaling and smoothed for trend analysis.
Hope it makes sense!
Stay safe everyone!
Don't hesitate to ask any questions if you have any!
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.
HTF Volume by Prosum SolutionsOverview of Features
This indicator was inspired by the work of "LonesomeTheBlue" in the script called "Volume Multi Time Frame" . This script will provide a highly customizable interface to specify the higher timeframe period for the volume with the ability to link to the "HTF Candles by Prosum Solutions" indicator using the "HTF Setting Code" data point, as well as adjusting various styling options for the volume bar color fill and border.
Usage Information
The indicator can be applied to any chart at any time frame. When the "Chart" option is chosen for the "Timeframe" field, the indicator will attempt to find a higher timeframe resolution to ensure the volume bars are drawn. The indicator will simply accumulate the volume value for each candlestick bar and reset when the new high timeframe period has started. The color of the volume bars are relative to the higher timeframe setting so that you can visually interpret when the volume in a rising or falling state relative to the higher timeframe price action.
If you choose to add the "HTF Candles by Prosum Solutions" indicator, you can link this indicator to it by choosing the "HTF Candles" option for the "Timeframe Source" field and then choosing the "HTF Setting Code" option for the "HTF Candles" field. At this point, whenever you adjust the high timeframe setting in the "HTF Candles by Prosum Solutions" indicator, this indicator will automatically adjust the timeframe to match it, thereby reducing the steps you need to take to keep the two indicators in sync.
Enjoy! 👍
AlgoDude_Volume1. Timeframe Selection (selectedTimeframe):
Allows the user to choose the timeframe for the volume data analysis.
Options range from 1 minute to 1 month, including 1, 3, 5, 15, 30, 45 minutes, 1, 2, 3, 4 hours, and daily, weekly, monthly.
2.Moving Average Length (maLength):
Users can specify the length of the moving average applied to the inverse volume.
The range for this input is from 1 to 200 periods, with a default value of 14.
These inputs provide flexibility in analyzing volume data over various timeframes and smoothing the inverse volume data with a moving average of chosen length.
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.
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.
SaAy New Volume ComputationOverview of the Indicator
The "SaAy New Volume Computation" is a trading tool designed to give traders a clear understanding of market volume movements. It overlays on the main trading chart, providing insights into buying and selling pressures.
Key Features of the Indicator
Up and Down Volume Analysis
Buying Pressure (Up Volume) : This metric totals the trading volume on days when the market closes higher than it opens, indicating a bullish or positive market sentiment.
Selling Pressure (Down Volume) : Conversely, this measures the trading volume on days when the market closes lower than it opens, reflecting a bearish or negative sentiment.
Comparative Volume Analysis
Average Volume Comparison : The indicator also compares recent trading volume with the average volume over a set period. This comparison helps identify whether the current trading volume is unusually high or low compared to normal conditions.
Practical Use for Traders
Market Sentiment Understanding : By analyzing the up and down volumes, traders can get a sense of whether the market is dominated by buyers (bulls) or sellers (bears).
Volume Trend Identification: Comparing current trading volumes with the average volume can help traders spot trends or significant changes in market activity. For example, a higher than average volume on a day with rising prices might suggest strong buying interest and a possible continuation of the upward trend.
Conclusion
Overall, the "SaAy New Volume Computation" indicator is a valuable tool for traders. It simplifies the complex task of volume analysis, providing easy-to-understand metrics that indicate market trends and trader sentiment. This can help traders make more informed decisions and better understand the dynamics of the markets they are trading in.
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.
MTF External Range Liquidity - SMC IndicatorsThe Multi-Timeframe External Range Liquidity highlights possible “Key Liquidity Zones” above and below Short-Term highs and lows. Allowing for the filtering out of shorter-term swings and easily identifying levels for possible “liquidity runs” or “stop runs”.
Purged Liquidity
This shows areas where the price has already reached above previous key highs or below previous key lows. Recognizing “Purged Liquidity” areas is useful for historical analysis and understanding prior liquidity-driven movements.
Open Liquidity
These mark possible or potential Open Liquidity Zones where the price might reach above or below short-term key highs and lows.
Multi-Timeframe Analysis
The Multi Timeframe Feature allows traders to have all “key Liquidity Levels” from higher and lower timeframes relative to the current timeframe. (Weekly and down to the 1-Minute Chart) while trading in real-time allowing the trader to keep the higher time frame “levels” in mind when trading on lower time frames.
1W BSL & 1W SSL indicate levels of transposed from the Weekly timeframe to the Daily timeframe or lower.
1D BSL & 1D SSL indicate levels of transposed from the Daily timeframe to the 4H timeframe or lower.
4H BSL & 4H SSL indicate levels of transposed from the 4H timeframe to the 1H timeframe or lower.
1H BSL & 1H SSL indicate levels of transposed from the 1H timeframe to the 15M timeframe or lower.
15M BSL & 15M SSL indicate levels of transposed from the 15M timeframe to the 5M timeframe or lower.
5M BSL & 5M SSL indicate levels of transposed from the 5M timeframe to the timeframes lower than 5M.
How This Can Help with Analysis
Timing Entries
This tool can be used to look for possible entry levels by looking at where the last run on liquidity (Purged Liquidity) above a previous key high or low was. The trader would use this indicator by waiting until the liquidity is purged before looking for a possible trade setup.
This helps in waiting for entries and may avoid or reduce the number of entries where the trade would get stopped due to an early entry.
Setting Possible Targets
This indicator can be used to look for higher time frame “Open Liquidity” key levels above short-term highs or below short-term lows as potential targets.
Other Key Features
Alerts on selected time frame “key levels”
Choose to show and hide levels on any timeframe.
Choose the number of the Purged and Open Liquidity desired to show on the chart.
Highlights the Daily, Weekly, and Monthly Highs and Lows.
Liquidity composition / quantifytools- Overview
Liquidity composition divides each candle into sections that are used to display transaction activity at price. In simple terms, an X-ray through candle is formed, revealing the orderflow that built the candle in greater detail. Liquidity composition consists of two main components, lots and columns. Lots and columns can be used to visualize user specified volume types, currently supporting net volume and volume delta. Lots and columns can be used to visualize same or different volume types, allowing a combination of volume footprint, volume delta footprint and volume profile in one single view. Liquidity composition principally works on any chart, whether that is equities, currencies, cryptocurrencies or commodities, even charts with no volume data (in which case volatility is used to approximate transaction activity). The script also works on any timeframe, from minute charts to monthly charts. Orderflow can be observed in real-time as it develops and none of the indications are repainted.
Example: Displaying same volume types on lots and columns
Example: Displaying different volume types on lots and columns
Liquidity composition supports user specified derivative data, such as point of control(s) and net activity coloring. Derivative data can be calculated based on either net volume or volume delta, resulting in different highlights.
With net volume, volume delta and derivative data in one view, key orderflow events such as delta imbalances, high volume nodes, low volume nodes and point of controls can be used to quickly identify accumulation/distribution, imbalances, unfinished/finished auctions and trapped traders.
Accessing script 🔑
See "Author's instructions" section, found at bottom of the script page.
Key takeaways
- Liquidity composition breaks down transaction activity at price, measured in net volume or volume delta
- Developing activity can be observed real-time, none of the indications are repainted
- Transaction activity is calculated using volumes accrued in lower timeframe price movements
- Lots and columns can be used to display same or different volume types (e.g. volume delta lots and net volume columns) in single view
- Users can specify derivative data such as volume delta POCs, net volume POC and net activity coloring
- For practical guide with practical examples, see last section
Disclaimer
Orderflow data is estimated using lower timeframe price movement. While accurate and useful, it's important to note the calculations are estimations and are not based on orderbook data. Estimates are calculated by allotting volume developing on lower timeframe chart to its respective section based on closing price. Volume delta (difference between buyers/sellers) is calculated by subtracting down move volumes (sell volume) from up move volumes (buy volume). Accuracy of the orderflow estimations largely depends on quality of lower timeframe chart used for calculations, which is why this tool cannot be expected to work accurately on illiquid charts with broken data.
Liquidity composition does not provide a standalone trading strategy or financial advice. It also does not substitute knowing how to trade. Example charts and ideas shown for use cases are textbook examples under ideal conditions, not guaranteed to repeat as they are presented. Liquidity composition should be viewed as one tool providing one kind of evidence, to be used in conjunction with other means of analysis.
- Example charts
Chart #1: BTCUSDT
Chart #2: EURUSD
Chart #3: ES futures
- Calculations
By default, size of sections and lower timeframe accuracy are automatically determined for all charts and timeframes. Number of lower timeframe price moves used for calculating orderflow is kept at fixed value, by default set to 350. Accuracy value dictates how many lower timeframe candles are included in the calculation of volume at price. At 350, the script will always use 350 lower timeframe price movements in calculations (when possible). When calculated dynamic timeframe is less than 1 minute, the script switches to available seconds based timeframes. Minimum dynamic timeframe can be capped to 1 minute (as seconds based timeframes are not available for all plans) or dynamic timeframe can be overridden using an user specified timeframe.
Example: Calculating dynamic lower timeframe
Main chart: 4H / 240 minutes
Accuracy value: 100
Formula: 240 minutes / 100 = 2.4 minutes
Timeframe used for calculations = 2 minutes
Section size is automatically determined based on typical historical candle range, the bigger it is, the bigger the section size as well. Like dynamic timeframe, automatic section size can be manually overridden by user specified size expressed in ticks (minimum price unit). Users can also adjust sensitivity of automatic sizing by setting it higher (smaller sections, more detail and more noise) or lower (less sections, less detail and less noise). Section size and dynamic timeframe can be monitored via metric table.
Volume at price is calculated by allotting volume associated with a lower timeframe price movement to its respective section based on closing price (volume is stored to the section that covers closing price). When used on a chart with no volume data, volatility is used instead to determine likely magnitude of participation. Volume delta (difference between buyers/sellers) is calculated by subtracting down move volumes (sell volume) from up move volumes (buy volume). Volumes accrued in sections are monitored over a longer period of time to determine a "normal" amount of activity, which is then used to normalize accrued volumes by benchmarking them against historical values.
Volume values displayed on the left side represent how close or far volume traded at given section is to an extreme, represented by value of 10 . The more value exceeds 10, the more extreme transaction activity is historically. The lesser the value, the less extreme (and therefore more typical) transaction activity is. Users can adjust sensitivity of volume extreme threshold, either by increasing it (more transaction activity is needed to constitute an extreme) or decreasing it (less transaction activity is needed to constitute an extreme).
Example: Interpreting volume scale
0 = Very little to no transaction activity compared to historical values
5 = Transaction activity equal to average historical values
10 = Transaction activity equal to an extreme in historical values
10+ = The more transaction activity exceeds value of 10, the more extreme it is historically
Accuracy of orderflow data largely depends on quality of lower timeframe data used in calculations. Sometimes quality of underlying lower timeframe data is insufficient due to suboptimal accuracy or broken lower timeframe data, usually caused by illiquid charts with gaps and inconsistent values. Therefore, one should always ensure the usage of most liquid chart available with no gaps in lower timeframe data. To combat poor orderflow data, a simple data quality check is conducted by calculating percentage of sections with volume data out of all available sections. Idea behind the test is to capture instances where unusual amount of sections are completely empty, most likely due to data gaps in LTF chart. E.g. 90% of sections hold some volume data, 10% are completely empty = 90% data quality score.
Data quality score should be viewed as a metric alerting when detail of underlying data is insufficient to consider accurate. When data quality score is slightly below threshold, lower timeframe chart used for calculations is likely fine, but accuracy value is too low. In this case, one should increase accuracy value or manually override used timeframe with a smaller one. When data quality score is well below threshold, lower timeframe chart used for calculations is likely broken and cannot be fixed. In this case, one should look for alternative charts with more reliable data (e.g. ES1! -> SPY, BITSTAMP:BTCUSD -> BINANCE:BTCUSDT).
Example : When insufficient data quality scores can/cannot be fixed
- Derivative data
Point of control
Point of control, referring to point in price where transaction activity is highest, can be calculated based on the volume type of lots or columns (based on net volume or volume delta). Depending on the calculation basis, displayed point of controls will vary. POC calculated based on net volume is no different from traditional POC, it is simply the section with highest amount of transaction activity, marked with an X. When calculating POC based on volume delta, the script will highlight two point of controls, named leading and losing point of control . Leading POC refers to lot with highest amount of volume delta, marked with an X. If leading POC was net buy volume, losing POC is marked on section with highest net sell volume, marked with S respectfully. Same logic applies in vice versa, if leading POC is net sell volume, losing POC is marked on highest buy volume section, using the letter B.
Net activity
Similarly to point of control calculation, net activity can be calculated based on either volume types, lots or columns. When calculating net activity based on net volume, candles will be colorized according to magnitude of total volume traded. When calculating net activity based on volume delta, candles will be colorized according to side with most volume traded (buyers or sellers). Net activity color can be applied on borders or body of a candle.
- Visuals
Lots, columns, candles and POCs can be colorized using a fixed color or a volume based dynamic color, with separate color options for buy side volume, sell side volume and net volume.
Metric table can be offsetted horizontally or vertically from any four corners of the chart, allowing space for tables from other scripts.
Table sizes, label sizes and offsets for visuals are fully customizable using settings menu.
- Practical guide
OHLC data (candles) is a simple condensed visualization of an auction market process. Candles show where price was in the beginning of an auction period (timeframe), the highest/lowest point and where price was at the end of an auction. The core utility of Liquidity composition is being able to view the same auction market process in much greater detail, revealing likely intention, effort and magnitude driving the process. All basic orderflow concepts, such as ones presented by auction market theory can be applied to Liquidity composition as well.
The most obvious and easy to spot use case for orderflow tools is identifying trapped traders/absorption, seen in high transaction activity at the very highs/lows of a candle or even better, at wicks. High participation at wicks can be used to identify forced orders absorbed into limit orders, idea behind being that when high transaction activity is placed at a wick, price went one direction with a lot of participation (high effort) and came right back up (low impact) within the same time period.
Absorption can show itself in many ways:
- Extreme buy volume sections at wick highs or buy side POC at wick highs
- Multiple, clustered high buy volume sections (but not extreme) at wick highs
- Positive net volume delta into a reversal down
- Extreme sell volume sections at wick lows or sell side POC at wick lows
- Multiple, clustered high sell volume sections (but not extreme) at wick lows
- Negative net volume delta into a reversal up
- Extreme net volume sections at or net volume POC at wick highs/lows
- Extreme net volume into a reversal up/down
For accurate analysis, orderflow based events should be viewed in the context of price action. To identify absorption, it's best to look for opportunities where an opposing trend is clearly in place, e.g. absorption into highs on an uptrend, absorption into lows on a downtrend. When price is ranging without a clear trend or there's no opposing trend, extreme activity at an extreme end of a candle might be aggressive participants attempting to initiate a new trend, rather than getting absorbed in the same sense. With enough effort put into pushing price to the opposite direction at overextended price, a shift in trend direction might be near.
Price action based levels are a great way to get context around orderflow events. Simple range highs/lows as a single data point serve as a high probability regimes for reversals, making them a great point of confluence for identifying trapped traders.
Low to zero volume sections can be used to identify points in price with little to no trading, leaving a volume null/void behind. Typically sections like these represent gaps on a lower timeframe chart, which can be used as reference levels for targets and support/resistance.
Net volume can be used for same purposes as above, but for determining general intention of market participants it's a much more suitable tool than volume delta. According to auction market theory, low/no participation is considered to reject prices and high participation is considered to accept prices. With this concept in mind, unfinished auctions occur when participation is high at highs or high at lows, idea behind being that participants are showing willingness and interest to trade at higher or lower prices. Auction is considered finished when the opposite is true, i.e. when participants are not showing willingness to trade at higher/lower prices. In general, direction of unfinished auctions can be expected to continue shortly and direction of unfinished auctions can be expected to hold.
While shape of volume delta and net volume are usually similar, they're not the same thing and do not represent the same event under the hood. Volume delta at 0 does not necessarily mean participation is 0, but can also mean high participation with equal amount of buying and selling. With this distinction in mind, using volume delta and net volume in tandem has the benefit of being able to identify points in price with a lot of up and down price movement packed into a small area, i.e. consolidation. Points in price where price hangs around for an extended period of time can be used to identify levels of interest for re-tests and breakout opportunities.
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.
SVZO [Orderflowing]SVZO | Smoothed Volume Zone Oscillator | Volume Analysis | Customizable Smoothing (+)
Built using Pine Script V5.
Introduction
The Smoothed Volume Zone Oscillator / SVZO indicator, is a smoothed edition of the classic Volume Zone Oscillator concept by Walid Khalil and David Steckler.
This tool is specifically designed for traders focusing on volume-based analysis, offering a slick perspective on volume, momentum and market strength with user input based smoothing capability.
Innovation and Inspiration
The SVZO indicator is a creative viewpoint of the original VZO, introducing smoothing methods for both the SVZO and VZOMA and allowing flexible input options.
This development provides a more detailed and accurate analysis of volume fluctuations relative to price movements.
It's a response to the needs of traders who demand flexible volume-based market analysis tools.
Core Features
SVZO Line: This advanced version of the VZO employs contemporary smoothing techniques for a more accurate analysis of volume changes against price trends.
Customizable Smoothed SVZO: Choose from EMA, HMA, SMA, or no smoothing to adjust the SVZO line's sensitivity and clarity to match trading needs.
Dynamic Moving Average Line: Features an optional MA line with customizable smoothing, providing a benchmark for volume trend and assisting in identifying market shifts.
Signals: Visual cues in the form of dots signal confirmed crossover points, aiding traders in making informed decisions by highlighting key market events.
Period Setting: Tailor the calculation period for both the SVZO and MA line to suit diverse trading strategies.
Input Parameters
SVZO Smoothing Options: Select from EMA, HMA, SMA, or no smoothing to control the SVZO line's responsiveness.
SVZO and MA Line Periods: Configure the calculation periods for the SVZO and MA lines to align with your trading approach.
MA Line Smoothing Options: Opt from EMA, HMA, SMA, or no smoothing for the MA line.
Example of HMA SVZO (Default Values):
Example of HMA SVZO & VZOMA (Default Values):
Example of SMA SVZO & VZOMA (Smooth Length 2):
Usage and Applications
Volume-Based Market Analysis: The SVZO offers a sleek approach to analyzing market volume.
Decision-Making Visual Cues: Its visual signals and dynamic MA line are crucial for spotting potential entry and exit points, as well as anticipating market turns.
Smoother View of Market Conditions: With its customizable settings, the SVZO is versatile across various market conditions and trading styles, from rapid scalping to extended trend following.
The Value
The SVZO indicator is a tool that delivers substantial value through its unique approach to volume analysis and adaptable settings.
Its capacity to provide a view into volume momentum makes it a great volume-based component of any trader's arsenal, justifying its status as a closed-source product.
Conclusion
The SVZO indicator stands out as a slick tool, (based on the concepts of Khalil & Steckler) for volume-based market analysis, with good features and superior customization.
Its unique approach to volume analysis and flexible settings makes it an essential volume-based instrument for traders.
However, it's important to integrate the SVZO indicator into a broader trading strategy and not solely depend on its signals for trading decisions.
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.
Normalized Volume Zone [Orderflowing]Normalized Volume Zone | Normalized VZO | Volume Analysis | Normalization (+) | Customizable (+)
Built using Pine Script V5.
Introduction
The Normalized Volume Zone is an indicator rooted in the classic VZO concept, this indicator takes a step further by normalizing the volume data.
Ideal for traders who rely heavily on volume data and seek a normalized dataset to interpret volume trends and signals.
Inspiration and Innovation
The tool builds upon the foundational concepts of the Volume Zone Oscillator (VZO), introduced by Walid Khalil and David Steckler.
This indicator enhances the traditional VZO by introducing advanced normalization calculations, offering traders a new approach to volume-based market analysis.
Core Features
Calculation Sources: Choose from HLC3, OHLC4, close, or open for VZO calculations.
Customizable Periods: Set your preferred periods for VZO calculation, MA length, and percentile lookback, the indicator bends to your trading style.
Advanced Smoothing Options: Select from a range of smoothing methods like HMA, Fourier, SMA, EMA, WMA, DEMA, and TEMA for the VZO line.
Normalization Techniques: Apply normalization methods such as Percentile, Min-Max, Z-Score, or Log to the VZO data.*
Visual Enhancements: Color-coded VZO and MA lines, along with optional dots for significant changes, provide clear visual cues for easier interpretation.
Multi-Timeframe: Can be used on different timeframes for calculation.
*Some of the normalization methods require that you change the length of smoothing.
Example of Multi-Timeframe (4H Calculation on 30M Chart):
Example of HMA Smoothing & Z-Score Normalization:
Functionality
Normalization: The indicator normalizes the smoothed VZO data, making it more consistent and comparable across different trading scenarios.
Visual: The color changes in the VZO and MA lines, along with the optional dots, offer dynamic visual feedback on market conditions.
Usage and Applications
Volume Trend Analysis: The normalized VZO provides a good picture of volume trends, helping traders identify potential reversals or continuation patterns.
Comparative Analysis: Normalization allows for more meaningful comparisons of volume data across different instruments or time frames.
Risk Management: Use the indicator to filter instrument strength and volatility.
Conclusion
The Normalized Volume Zone indicator stands as a great indicator in volume-based trading analysis.
By normalizing the data, it offers traders a custom view of the volume oscillation.
This indicator is particularly valuable for those who prioritize volume in their analysis, providing a good view of market strength and momentum.
It is important to remember that while this indicator offers volume analysis, it is not recommended to only use this for trading decisions.
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!