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.
X-volume
Advanced Liquidations Heatmap v4 [HG]Description:
This indicator examines price movements, volume, support, and resistance levels to pinpoint potential trading opportunities. It identifies large, volatile moves with substantial activity in specific zones on the chart, which the market tends to revisit due to the high transaction volume in these areas. The primary purpose of this indicator is to highlight these high-probability areas where the market is likely to return.
Leverage Liquidations Feature:
This indicator incorporates a feature that displays arbitrary liquidation levels, corresponding to various leverage settings common among market participants. Users need to analyze the market and select appropriate leverage settings based on their insights.
Transparency Feature:
The indicator also includes a feature that modulates the transparency of the displayed areas according to their significance, enhancing the visual representation of market activity.
Color Modulation Feature:
This feature modifies the color of the displayed areas depending on their importance.
Using the indicator:
We recommend using this indicator to trade towards and away from significant areas, and to look for reversals when these zones are revisited. Although trading offers no certainties, only probabilities, the significant candles on the chart denote high-probability areas the market frequently revisits. Additionally, zones recovered between 50% - 100% indicate high-probability points where the market might reverse its direction. The probability of a market direction change escalates as more significant areas are recovered sequentially. While there's no strict rule for when these areas are recovered, observing candle colors (green, blue, red, purple) can assist in assessing the velocity of a move to or from a zone. For more effective use of this indicator, determine a trend using other preferred indicators or even a basic EMA. Dedicate time to understanding how these zones are revisited for each specific asset.
Strong Move Up:
Strong Move Down:
Area Recovered Partially:
Significant Areas Are Recovered Sequentially:
Here's how to use the "Leverage Liquidations Feature":
Analyze market leverage tendencies: It's essential for users to undertake their own research into the common leverage settings utilized by market participants for a specific asset. By doing this, they can input these settings into the indicator to gain a better comprehension of potential price movements. Some sensible defaults are included in the default settings.
Visualize the liquidation levels on the chart: After the user has identified the prevalent leverage settings, the indicator will project the corresponding liquidation levels on the chart. These levels signify the points at which numerous leveraged positions would face liquidation, considering the current market price. This data can be instrumental in setting stop losses, establishing profit targets, and predicting potential market movements due to mass liquidations.
Liquidations Levels On BTC 25x + 50x + 100x + 125x:
Here's how to use the Modulation Features:
Areas more likely to be revisited are rendered more opaque, thereby increasing their visibility on the chart. In contrast, areas less likely to be revisited are shown more transparently. This delivers a straightforward visualization of where the bulk of trading activity is occurring. There's also a Dynamic Theme mode that utilizes color, not just transparency, to emphasize important areas.
Main Features:
Significant candles are identified and marked with colors, indicating high-probability areas the market may revisit.
The indicator facilitates the display of arbitrary liquidation levels based on user-defined leverage settings.
Features modulation options that adjust the transparency and color of the areas shown, based on their importance, offering an intuitive grasp of the market. The Dynamic Theme mode greatly enhances market readability.
The indicator can exhibit what we term ghosts, or dead/recovered areas, enabling users to visually identify which areas were recovered.
Fair Value Gaps can be presented alongside significant candles as both denote imbalances in the chart. Nonetheless, we recommend deactivating the Fair Value Gaps feature when showing numerous liquidation levels, allowing for the representation of data across a broader price range. Moreover, it's crucial to recognize that enabling Fair Value Gaps can influence calculations.
Documentation:
The indicator is accompanied by comprehensive documentation detailing all its options for user reference. Additionally, we provide a comprehensive instructional video.
Limitations:
A. The indicator can only showcase a limited amount of areas, so if many liquidation levels are displayed, the price range that can be shown becomes more narrow.
B. Analogous to point (A), activating the Fair Value Gaps Feature also constricts the price range of identified areas.
Recommendation:
If you wish to display more data, employ the indicator multiple times with varying settings. Also, use the 'Hide Normal Vectors' option on all but one indicator so the 'Normal' areas don't overlap.
If you experience frequent timeouts, reduce the 'Maximum Vector Zones' setting (We've found that 350 works adequately).
Quantum VRSIThe VRSI indicator is another in the suite of volume indicators we have developed and one that complements our volume price analysis methodology perfectly. and was developed out of a desire to build further on our cornerstone of VPA by peeling back the layers of volume and considering the relative aspect of volume. Hence, the acronym of Volume Relative Strength Index indicator encapsulates what the indicator is all about.
By analyzing relative volume, we are able to see a visual representation of the pressure in a trend, or indeed the lack of pressure, and in doing so, present in a clear, intuitive, and colorful way whether the trend we are trading or considering joining is being driven with constant or rising pressure as it develops. If so, the indicator gives us that all-important ingredient: confidence—namely, the confidence to continue maintaining the position for as long as possible. However, equally important is when we see a trend that is tiring, with falling pressure, sending a strong signal it is time to close out. Alternatively, when there is little or no pressure in the trend, this is a signal to wait and be patient.
These signals are delivered in a variety of ways, primarily through a color change sequence of brighter or darker colors, but equally importantly, based on the height of each pressure bar and its relationship to its neighbor or groups of bars. And herein lies the close relationship to the volume price analysis methodology since the interpretation of both is about judging bars against one in terms of confirmation of trends, such as rising volume and rising pressure bars, or alternatively falling volume and falling pressure bars signaling that the trend is weakening.
The Volume Relative Strength Index indicator, or VRSI, embodies the core concept of volume-price analysis. It blends trading volume data with price to create an indicator for all the various markets and instruments, whether stocks, ETFs, futures, forex, or cryptocurrencies. The result is an intuitive visual representation of the market’s underlying bullish and bearish pressure in the form of an oscillating histogram with varying colors, with the central fulcrum at zero giving a clear indication when sentiment is shifting from bullish to bearish, or vice versa.
Now, for the first time, you can see the strength of the trend represented visually and clearly based on our two leading indicators of relative volume and price, giving you that essential ingredient we all seek: confidence. And just as with all our other indicators, we urge you to use it in multiple timeframes.
MADALGO`s Enhanced OBV DivergencesDescription:
MADALGO's Enhanced OBV Divergences indicator is a unique tool designed for traders to visualize the divergences between price action and On Balance Volume (OBV), a fundamental aspect often indicative of underlying strength or weakness in the market. By keenly identifying these divergences, traders are better positioned to anticipate potential trend reversals or trend continuations, making this script an invaluable addition to their technical analysis toolkit.
This script meticulously scans for both regular and hidden bullish/bearish divergences, providing a comprehensive view of market sentiment. The core of this indicator is built around the OBV, which cumulatively adds or subtracts volume based on the price movement per period, thus providing a running total of volume and portraying the force behind the price movements.
The regular divergences are classic indicators of a potential reversal in the current trend, while hidden divergences are often indicative of trend continuation. These divergences are pinpointed based on the relative positions of the OBV and price highs/lows, over customizable lookback periods and within specified lookback ranges.
Features:
Regular and Hidden Divergences: Clearly marked bullish and bearish divergences provide insights into potential market turning points.
On Balance Volume (OBV) Line: Visualize the continuous flow of buying and selling pressure, enabling the identification of accumulation or distribution phases essential for understanding the market's strength or weakness.
Moving Average of OBV: An optional feature to smooth the OBV line, aiding in the identification of the overarching trend.
Dynamic Statistics Label: A floating label provides real-time updates on essential statistics like the Rate of Percentage Change (RPC) of OBV, the last divergences, and bars since the last divergences.
Inputs:
Pivot Lookback Right and Pivot Lookback Left: Define the lookback periods for identifying pivot points in the OBV line.
Max of Lookback Range and Min of Lookback Range: Define the range for considering divergences.
RPC Period: Defines the period for calculating the Rate of Percentage Change of the OBV.
MA Period: Defines the period for the optional moving average of the OBV.
Plot Bullish, Plot Hidden Bullish, Plot Bearish, Plot Hidden Bearish: Toggle visibility of respective divergences.
Plot Moving Average: Toggle visibility of the OBV moving average.
Usage:
Add the script to your TradingView chart.
Tailor the input parameters in the settings panel to align with your analysis requirements.
The divergences, OBV line, and optional moving average will be plotted on your chart, with a dynamic label displaying real-time statistics.
Set up alerts to be notified of identified divergences, enabling timely decision-making.
Alerts:
Regular bullish/bearish divergence in OBV found: Triggered when a regular bullish or bearish divergence is identified.
Hidden bullish/bearish divergence in OBV found: Triggered when a hidden bullish or bearish divergence is identified.
Underlying Concepts:
The OBV Divergences indicator is rooted in the principle that volume precedes price movement. When prices are rising with increased volume, it suggests that buying pressure is prevailing and may lead to continued upward momentum. Conversely, rising prices with decreasing volume might indicate a lack of buying conviction and could signal a potential price reversal. The identification of divergences between price and OBV can therefore serve as a powerful signal for traders. These examples can be seen below in the image
The Moving Average of the OBV further aids in understanding the prevailing trend by smoothing out the OBV line, providing a clearer picture of the market's longer-term momentum. The Rate of Percentage Change (RPC) provides insight into the momentum of volume, offering an additional layer of analysis. Together, these additional features enhance the core OBV analysis, enabling a more nuanced understanding of volume dynamics fundamental for making more informed trading decisions.
License:
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, you can obtain one at Mozilla Public License 2.0.
Predictive Volume + MTF [Pro]"Predictive Volume + MTF " is a predictor of near-future volume available on 13 of your favorite time frames. The script calculates the volume's % change (PredVol) between Current Volume vs. Previous Volume by predicting whether PredVol will be higher or lower at the end of the current bar using an "elapsed time" vs "volume so far" concept. This gives the benefit of the most up-to-date information without artificial low/high comparisons when a bar has just formed. For example, it would be common to see -100% in a lot of instances when a new bar is just forming which would be normal because volume at the start of a new candle will generally be lower than where it was when the last bar closed. Where this indicator shines is during this old to new bar formation relative to the volume that's carried over to the new bar. As a result, it will now be common to see PredVol values starting much higher because the calculation is dividing up the bar and analyzing fractions of it instead of the entire bar that would otherwise lead to these incorrect volume % change calculations.
Examples of Predictive Volume % Change:
In addition, this indicator uses many other advanced and robust features:
⚡ Matrices that create the table, allowing you to add and remove rows and columns to customize the table to show only the information that's important to you
⚡ View up to 13 time frames at once - it's generally a good idea to have at least 5 time frames up to get an overall feeling of the direction/sentiment of volume with the 1d being 1 of the 5
⏩ Includes the following popular time frames: 1m, 3m, 5m, 10m, 15m, 30m, 1h, 2h, 4h, 8h, 1d, week, month
⚡ 3 "bias mode" choices that use Relative Volume (RVOL) from calculations between Current, Previous & Average Volume that provide a heat map with varying degrees of color representing buying & selling momentum of your favorite asset. Traders generally have an innate bias when it comes to their trading methodology. The script's
author created separate modes to account for this. One way to utilize the indicator is to use 2 on your chart, 1 Bullish and 1 Bearish, to see if volume sentiment is skewed towards your particular bias
⏩ 🟢 Standard Mode 🔴 - displays green and red to depict volume momentum using same RVOL calculations as Bullish & Bearish modes
⏩ 🐂 Bullish Mode 🐂 - displays 5 colors to represent the levels of intensity of the Buy/Sell/RVOL data (light blue, green, yellow, light orange, dark orange)
⏩ 🐻 Bearish Mode 🐻 - displays 5 colors to represent the levels of intensity of the Buy/Sell/RVOL data (light red to dark red)
Ex. of all 3 bias modes showing very bullish volume sentiment:
Ex. of all 3 bias modes showing very bearish volume sentiment:
⚡ 2 types of alerts: PREDEFINED and CUSTOM
💡 PREDEFINED ALERTS consist of 4 Bullish & Bearish levels with Lvl 1 designed to be less sensitive than Lvl 2 etc
⏩ Configurable for every time frame, "On Close" or "Each Bar". On Close could be a better choice on lower time frames so that you're not getting a bunch of triggers over a short duration & Each Bar could be a better option for higher time frames so that you don't miss a move mid bar for instance
⏩ Creating a PREDEFINED BULLISH/BEARISH ALERT saves a snapshot of the alert's settings. You can then change the settings and create another alert
⏩ For example, you could create one alert for any alert type (bull and/or bear), for every time frame all at once, or you can create multiple & separate alerts, giving each one a unique name with the time frame that it's for: ex. BTC - Bullish Vol Lvl1 (1m) (keep in mind that TV provides you the ticker, time frame & alert
type automatically (the script's author hard-coded the label names within the script and as a result when they do fire you're provided the type of alert, such as "Bearish Vol (Lvl 1). Technically, you don't even need to name the alert again)
In this example, you're provided information on how to create PREDEFINED ALERTS, what conditions cause the alerts to trigger and how they'll look when they do fire
💡 CUSTOM ALERTS consists of 6 metrics giving you the ability to create your own custom compound alerts
⏩ Configurable for every time frame, "On Close" or "Each Bar". On Close could be a better choice on lower time frames so that you're not getting a bunch of triggers over a short duration & Each Bar could be a better option for higher time frames so that you don't miss a move mid bar for instance
⏩ Creating a CUSTOM ALERT works the same way as PREDEFINED ALERTS (see chart below)
⏩ Check your conditions in real-time for accuracy via a debug feature aka "SHOW HELP FOR TIME FRAME"
In this example, you're provided information on how to create CUSTOM ALERTS
⚡ Header function that provides the ticker, time frame and session that you're on (can use in lieu of TV's watermark feature, or use together)
⏩ There's 2 customizable header inputs - you could include your TradingView username in one of them for the times when promoting your charts across your favorite social media sites
⚡ Timer that shows you when a bar will begin/end plus other features that allow you to change the size and positioning of the table within your charts
⚡ An input that allows you to change the "significant figures" for rounding purposes - can be especially useful when volume is low or when you're trading OTC stocks
⚡ 4 volume moving average lengths - Intraday, Daily, Weekly, Monthly - for those times when 1 moving average to cover the entire gamut of just won't suffice
////////////////////////////////
There's quite a bit more information provided in the attached charts as well as the tooltips within the inputs section of the indicator. Should you have any questions, feedback etc, please do not hesitate to contact the script's author. My hope is that this indicator becomes an invaluable resource to you and you're able to integrate it in to your everyday trading tool bag to make more informed decisions.
YD_Volume_Alert"YD_Volume_Alert" is a simple alert based on the increasing volume.
Although it is a simple indicator, strategies to determine accumulation and distribution can be developed using this indicator, which will also be published as well.
📌 Usage, Details and Alert
Using this indicator is simple.
You can enter two scales, "Increased Percentage 1 (%)" and "Increased Percentage 2 (%)", with default values set to 200% and 500%.
Signals are displayed in green and red triangles at the bottom of the bar, also printed with the text "Increased Volume" and "Hugely increased Volume".
Alerts are provided as a combination of the chart's symbol and the set percentage. For example,
"BINANCE:BTCUSDT.P 's Volume : 200% increased."
===========================================================
"YD_Volume_Alert" 는 거래량 증가에 따른 얼러트를 제공하는 간단한 지표입니다.
간단한 지표이지만 위 지표를 이용하여 매집과 매도의 타이밍으로 이용하는 전략 또한 개발할 수 있으며, 이 역시도 퍼블리시 할 예정입니다.
📌 사용 예시와 알림 설정
지표를 사용하는 방법은 간단합니다.
"Increased Percentage 1 (%)" 과 "Increased Percentage 2 (%)" 두 가지의 배율을 입력할 수 있으며, 기본값은 200%와 500%로 설정되어 있습니다.
시그널은 바 하단에 초록색, 빨간색 삼각형으로 각각 표시되며, "Increased Volume"과 "Hugely increased Volume"이라는 텍스트가 함께 출력됩니다.
얼러트는 자신이 설정한 차트의 심볼과 설정한 퍼센티지의 조합으로 제공되며 예를 들면 다음과 같습니다.
"BINANCE:BTCUSDT.P 's Volume : 200% increased."
YinYang VolumeOverview:
YinYang Volume is an Advanced Volume Indicator. Regular Volume can be deceiving. It can be hard to tell how much of the Volume bar is Buy vs Sell volume, especially since the bar is green or red simply based on if it closes at a greater price than it opened. With YinYang Volume you'll be able to see how much Buy AND Sell Volume there is on each bar. Being able to see both is very useful, but the cherry on top is the Buy and Sell Moving Average Lines. These lines (White is Buy and Orange is Sell) can show who is currently winning the fight, Bulls or Bears. When the lines cross it's a shift in momentum and when combined with other technical analysis you can better understand the direction the market is moving and make an informed and educated trading decision. YinYang Volume also has Information tables, these tables display the Buy vs Sell volume on different Timeframes. This way even if you're trading on a Low Timeframe (like 15 minutes) you can see how the Buy vs Sell volume is fairing on other Timeframes.
Tutorial:
Unlike most volume indicators, including standard volume, we can see both Buy AND Sell volume for each bar. You may be wondering, well what’s the importance of this? The answer is EVERYTHING! Volume is one of the most important indicators when it comes to trading. Nothing moves without volume. However, with standard volume, the bar is either red or green simply based on if it closes greater than it opens. Now, that is pretty silly if you ask us. Let’s get into depth as to why seeing both Buy and Sell volume is important, and examples for how you can make trades with it:
In this example above, we have 2 green bars and they both have high levels of volume. This bar on the right however, has more volume than the one on the left. The issue here is, the bar on the right has MORE Sell volume than it even does have Buy volume; meanwhile the bar on the left has way more buy volume than the bar on the right with little sell volume. Without separating them and by simply looking at the price bar and regular volume bar, we would never be able to deduce this. It is crucial to understand and see how much of each volume there is as it plays a huge role in the price movements.
The white line represents the Buy Volume Moving Average and the orange line represents the Sell Volume Moving Average. These moving averages are very useful as when they cross they represent strong Buy and Sell Signals.
We’ve enabled signals which plot circles onto the MA’s to display when they’ve crossed. The white circle represents a Buy Signal and the Orange circle represents a Sell Signal. These signals are very strong, but there is a catch that comes with it. The bar right after the signal has the highest chance of a reversal so it isn’t always advised to make the trade until confirmed that the reversal didn’t happen on the following bar. If you have enough data based on other technical analysis to know the first signal is true, then use it as a way to solidify the fact that it is a good entry/exit location.
You can change the length of which the MA’s are smoothed out over. For instance, in the previous examples and by default the length is 14. However, if we are to change it to 50 for instance, it makes them a longer lasting MA that has much fewer crosses. This can be useful based on your trading style and if you prefer to stay in trades for quite awhile. As you can see, all signals with the 50 length are quite accurate and would have produced profitable trades, likely more so than at 14, but since it moves slower there's fewer signals to trade on.
Our Information Tables are there to show you the amount of Buy vs Sell %’s on 6 different Time Frames at the same time. It can be very useful to know how people are feeling on different Time Frames without you having to change your own. This way you can stay on say the 15 minute Time Frame locked in your trade and can see if the momentum of your long trade is cooling down based on higher Time Frames Buy vs Sell volume %’s.
For example, let's say you got an alert from YinYang Volume for Buy Signal on the 1 Day. You then entered a trade which you deemed a good location on the 15 minutes (after doing your own technical analysis on the 15 minute too). The Buy vs Sell Volume %’s on the 1 Day was 55% Buy and 45% Sell when you entered the trade. You are still waiting for exit confirmation on the 15 minute but you notice the Buy vs Sell Volume % on the 1 Day goes down to 52% Buy and 48% Sell. You can see the momentum changing. Even though you haven’t received confirmation for exit on the 15 minute, it may still be a good time to get out as momentum is clearly changing on the 1 Day.
We will conclude this Tutorial here. We hope you’ll get some good use out of our Volume Indicator and its ability to display unique Volume Data. If you have any Questions, Comments, Suggestions or Concerns, please don’t hesitate to contact us.
Settings:
1. Show Signals:
Toggling this setting shows when the Buy and Sell Volume MA’s cross each other. It produces a white circle when the Buy Volume Crosses over the Sell Volume (BULLISH) and an orange circle when the Sell Volume Crosses over the Buy Volume (BEARISH).
2. Length:
How far back should we average the Buy and Sell Volume Moving Averages? 14 is default has been tested and proven to work well, however you can change it if there is a different value that suits your trading style better.
3. Type:
How is the Moving Averages calculated? VWMA (Volume Weighted Moving Average) is the default as it has been tested and worked best; afterall, we are calculating volume and therefore should use a volume weighted MA calculation. However, you can change it as your options are:
VWMA, EMA and SMA
4. Information Tables:
4.1. Show Information Tables:
Our Information tables display 6 different resolutions so you can see how much Buy vs Sell volume there is as a % in multiple different Time Frames without having to change your Time Frame.
4.2. Strength:
The Buy / Sell Volume %’s displayed within your Information Tables are based on Moving Averages. The length this moving average uses is based on the Strength you select. The strengths aren’t as simple as just a length amount but are a calculation involving multiple different lengths and averages. However, the stronger the strength, generally the farther the lookback length is as an average. Your options for strength are:
Unbreakable
Very Strong
Strong
Average
Weak
Very Weak
Glass
We recommend ‘Average’ Strength, however if you find you want to see the %’s change more or less frequently you can adjust to your trading style
4.3. Res1 / Res2/ Res3 / Res4 / Res5 / Res6:
These represent the different resolutions (Time Frames) being used in your information tables and can be modified to display whatever resolution works best for your trading style. By default they are:
Res1: Current Timeframe
Res2: 15 Minute
Res3: 1 Hour
Res4: 4 Hour
Res5: 1 Day
Res6: 1 Week
Backup Res (not changeable): 5 Minute (this is only used if your Current Timeframe in Res1 is a duplicate of one of the other resolutions)
HAPPY TRADING!
Zaree - Bull & Bear Volume VoidThe "Zaree - Bull & Bear Volume Void" (BBVV) indicator is a versatile tool designed to help traders assess the dynamics of bull and bear power in the market, with a focus on volume-based analysis. This indicator offers a range of features that aid in identifying potential shifts in market sentiment and strength.
Details of the Indicator:
Volume Void Color Settings: This indicator allows you to customize the colors used for different conditions, such as strong bull areas, slowing bull areas, strong bear areas, and slowing bear areas. These colors play a crucial role in visualizing the indicator's output.
Volume Void Settings: The BBVV indicator provides options for selecting specific volume void functions, which include "Relative Volume Comparison," "Percentage of Average Volume," "Fixed Volume Threshold," "Volatility-Adjusted Volume," "Compare to Previous Volume Bars," "Volume Percentile Rank," and "Market Session Comparison." Each function has its own criteria for evaluating volume conditions.
Void Bull Sensitivity and Void Bear Sensitivity: These are key parameters in the settings. The values you choose for void bull sensitivity and void bear sensitivity will significantly impact the background color displayed by the indicator. Properly configuring these values is crucial for the indicator's effectiveness.
Moving Average Settings: You can specify the source and length of moving averages used in the indicator. This helps in smoothing out data and providing a clearer picture of bull and bear power.
Void Color Background Conditions: The indicator dynamically changes the background color of the chart based on the current market conditions. It takes into account bull and bear power, as well as the configured sensitivity levels to determine whether the market is in a strong or slowing bull/bear phase.
MACD and Signal Lines: The indicator also displays MACD and signal lines on the chart, helping traders identify potential bullish and bearish crossovers.
Histogram Bars: Histogram bars are used to represent the strength of bull and bear power. Above-zero bars indicate bullish strength, while below-zero bars indicate bearish strength.
How to Use the Indicator:
Begin by customizing the color settings for different market conditions to your preference.
Select a volume void function that aligns with your trading strategy and objectives.
Configure the void bull sensitivity and void bear sensitivity values carefully. These values should reflect your desired sensitivity to volume conditions.
Choose the source and length of moving averages based on your analysis requirements.
Pay attention to the background color of the chart. It will change dynamically based on the current market conditions, providing insights into the strength of bull and bear power.
Observe the MACD and signal lines for potential bullish or bearish crossovers, which can be used as additional confirmation signals.
Interpret the histogram bars to gauge the strength of bull and bear power.
Example of Usage:
As a swing trader with a focus on volume analysis, you can use the BBVV indicator to enhance your trading decisions. Here's an example of how you might use the indicator:
Select "Relative Volume Comparison" as the volume void function to assess volume relative to a simple moving average.
Configure void bull sensitivity and void bear sensitivity to match your risk tolerance and trading style.
Choose "SMA" as the moving average type with a suitable length.
Pay attention to the background color changes in the chart. Strong bull areas may indicate potential bullish opportunities, while strong bear areas may signal bearish conditions.
Monitor the MACD and signal lines for potential crossovers, aligning them with the background color to validate your trading decisions.
Use the histogram bars to assess the strength of bull and bear power, helping you gauge market sentiment.
Remember that the BBVV indicator is a valuable tool to complement your trading strategy. It provides insights into volume dynamics and market conditions, allowing you to make informed trading choices.
Be sure to adjust the indicator settings according to your trading preferences and always consider the broader market context in your analysis.
Volume Delta Trailing Stop [LuxAlgo]The ' Volume Delta Trailing Stop ' indicator uses Lower Time Frame (LTF) volume delta data which can provide potential entries together with a Volume-Delta based Trailing Stop-line .
🔶 USAGE
Our 'Volume Delta Trailing Stop' script can show potential entries/Stop Loss lines
A trigger line needs to be broken before a position is taken, after which a Volume Delta-controlled Trailing Stop-line is created:
🔶 DETAILS
🔹 Volume rises when bought or sold
🔹 When the opening price appears on the chart, a buy/sell order has been executed.
If that order is less than the available supply of that particular price, volume will rise, without moving the price.
🔹 When the opening price is the same as the closing price, the volume of that bar can be seen as "neutral volume" (nV); nor "up", nor "down" volume.
Example
A buy order doesn't fill the first available supply in the order book. This price will be the opening price with a certain volume.
When at closing time, price still hasn't moved (the first available supply in the order book isn't filled, or no movement downwards),
the closing price will be equal to the opening price, but with volume. This can be seen as "neutral volume (nV)".
🔹 Delta Volume (ΔV): this is "up volume" minus "down volume"
🔹 Standard volume is colored red when closing price is lower than opening price ( = "down volume").
🔹 Standard volume is colored green when closing price is higher OR equal (nV) than opening price ( = "up volume").
🔹 Neutral Volume
The "Neutral-Volume" is considered "Up-Volume" - setting will dictate whether nV is considered as green 'buy' volume or not.
🔶 EXAMPLE
29 July 10:00 -> 10:05, chart timeframe 5 minutes, open 29311.28, close 29313.89
close > open, so the volume (39.55) is colored green ("up volume").
(The Volume script used in the following examples is the open-source publication Volume Columns w. Alerts (V) from LucF )
Let's zoom to the 1-minute TF:
The same period is now divided into more bars, volume direction (color) is dependable on the difference between open and close.
Counting up and down volume gives a more detailed result, it remains in an upward direction though):
(ΔV = +15.51)
Let's further zoom in to the 1-second TF:
The same period is now divided into even more bars (more possibility for changing direction on each bar)
Here we see several bars that haven't moved in price, but they have volume ("neutral" volume).
(neutral volume is coloured light green here, while up volume is coloured darker green)
When we count all green and red volume bars, the result is quite different:
(ΔV = -0.35)
In total more volume is found when price went downwards, yet price went up in these 5 minutes.
-> This is the heart of our publication, when this divergence occurs, you can see a barcolor changement:
• orange: when price went up, but LTF Volume was mainly in a downward direction.
• blue: when price went down, but LTF Volume was mainly in an upwards direction.
When we split the green "up volume" into "up" and "neutral", the difference is even higher
(here "neutral volume" is colored grey):
(ΔV = -12.76; "up" - "down")
🔶 CONCEPTS
bullishBear = current bar is red but LTF volume is in upward direction -> blue bar
bearishBull = current bar is green but LTF volume is in downward direction -> orange bar
🔹 Potential positioning - forming of Trigger-line
When not in position, the script will wait for a divergence between price and volume direction. When found, a Trigger-line will appear:
• at high when a blue bar appears ( bullishBear ).
• at low when an orange bar appears ( bearishBull ).
Next step is when the Trigger-line is broken by close or high/low (settings: Trigger )
Here, the closing price went under the grey Trigger-line -> bearish position:
🔹 Trailing Stop-line
When the Trigger-line is broken, the Trailing Stop-line (TS-line) will start:
• low when bullish position
• high when bearish position
You can choose (settings -> Trigger -> Close or H/L ) whether close price or high/low should break the Trigger-line
When alerts are enabled ("Any alert() function call"), you'll get the following message:
• ' signal up ' when bullish position
• ' signal down' when bearish position
After that, the TS-line will be adjusted when:
• a blue bullishBear bar appears when in bullish position -> lowest of {low , previous blue bar's high or orange bar's low}
• an orange bearishBull bar appears when in bearish position -> highest of {high, previous blue bar's high or orange bar's low}
When alerts are enabled ("Any alert() function call"), and the TS-line is broken, you'll get the following message:
• ' TS-line broken down ' when out bullish position
• ' TS-line broken up ' when out bearish position
🔹 Reference Point
Default the direction of price will be evaluated by comparing closing price with opening price.
When open and close are the same, you'll get "neutral volume".
You can use "previous close" instead (as in built-in volume indicator) to include gaps.
If close equals open , but close is lower than previous close , it will be regarded as " down volume ",
similar, when close is higher than previous close , it will be regarded as " up volume "
Note, the setting applies for the current timeframe AND Lower timeframe:
Based on: " open " (close - open)
Based on: " previous close " (close - previous close)
🔹 Adjustment
When the TS-line changes, this can be adjusted with a percentage of price , or a multiple of " True Range "
Default (Δ line -> Adjustment - 0)
Δ line -> Adjustment 0.03% (of price)
Δ line -> Mult of TR (10)
🔶 SETTINGS
🔹 LTF: choose your Lower TimeFrame: 1S (seconds), 5S, 10S, 15S, 30S, 1 minute)
🔹 Trigger: Choose the trigger for breaking the Trigger-line ; close or H/L (high when bullish position, low when bearish position)
🔹 Δ line ( Trailing Stop-line ): add/subtract an adjustment when the TS-line changes ( default: Adjustment ):
• Adjustment ( default: 0 ): add/subtract an extra % of price
• Mult of TR : add/subtract a multiple of True Range
🔹 Based on: compare closing price against:
• open
• previous close
🔹 "Neutral-Volume" is considered "Up-Volume" : this setting will dictate whether nV is considered as green 'buy' volume or not.
🔶 CONSIDERATIONS
🔹 The lowest LTF (1S) will give you more detail and will get data close to tick data.
However, a maximum of 100,000 intrabars can be used in calculations .
This means on the daily chart you won't see anything since 1 day ~ 86400 seconds. (just over 1 bar)
-> choose a lower chart timeframe, or choose a higher LTF (5S, 10S, ... 1 minute)
🔹 Always choose a LTF lower than the current chart timeframe.
🔹 Pine Script™ code using this request.security_lower_tf() may calculate differently on historical and real-time bars, leading to repainting .
PhantomFlow AccumulationDetectorThe PhantomFlow AccumulationDetector indicator analyzes the volume profile and displays potential accumulation based on the selected timeframe in the settings. This indicator can be used both as zones for trend following and for identifying reversals, as shown in the examples on the chart. The logic behind the formation of the accumulation zone is based on the fact that the POC (Point of Control) of the current zone is within the Volume Area range of the previous period.
Optimal settings for the working timeframe should be chosen visually, and the size of the zones should not be too large or too small. Additionally, it's advisable not to consider overly wide zones during increased volatility.
Consecutive zones within the same range often indicate a potential reversal.
We borrowed the volume profile calculation code from @LonesomeTheBlue. Thank you for the work done!
buyer_seller_scalping_indicatorThis code is a custom script designed for analyzing trading volume within a specific time window on the TradingView platform. It offers a comprehensive analysis of buying and selling activity during a defined period and provides visual aids and data summaries for traders to make informed decisions. Here's a detailed breakdown of its functionality and how to use it:
1. Custom Time Period: The script starts by allowing you to specify a custom time period for analysis. In this example, it's set from 04:00 to 09:29. You can modify these time values to suit your specific trading needs.
2. Volume Calculation: The script calculates buying and selling volume based on price levels. It takes into account the open, high, low, and close prices to determine whether buying or selling pressure is dominant during the specified time frame.
3. Total Volume Calculation: It calculates the total volume within the custom time period. This can help you gauge the overall activity and liquidity during the chosen time window.
4. Visualizations: The script then plots visual elements on the chart:
- A volume histogram, which provides a graphical representation of the total volume during the time period.
- Buying and selling volume indicators, which are shown as circles on the chart, highlighting the relative strength of buyers and sellers.
- An average volume line, represented in gray, which helps you identify the average trading volume over a 50-period moving average.
5. Volume Type Determination: The script determines whether buyers or sellers dominate the market during the specified time period. It labels this as "Buyers Volume > Sellers Volume," "Sellers Volume > Buyers Volume," or "Buyers Volume = Sellers Volume." This information can be crucial for assessing market sentiment.
6. Percentage Breakdown: The script calculates the percentage of buying and selling volume in relation to the total volume, helping you understand the distribution of market participants. These percentages are displayed in a table.
7. Table Display: Finally, the script creates a table that displays the following information:
- The current volume type (buyers, sellers, or balanced), with corresponding text colors.
- The percentage of buyers and sellers in the market.
How to Use:
1. Copy the script and add it as a custom script on TradingView.
2. Apply the script to your desired financial chart.
3. Adjust the custom time period if needed.
4. Interpret the visual elements and table to gain insights into market sentiment and volume distribution during the specified time frame.
5. Use this information to inform your trading decisions and strategies, especially when trading within the chosen time window.
This script is a valuable tool for traders seeking to understand market dynamics and volume behavior during specific trading hours, ultimately aiding in more informed trading decisions.
Disclaimer:
The indicator provided herein is experimental and has not undergone comprehensive testing. Its usage is solely at your own risk.
The publisher assumes no responsibility for any trading decisions made based on the utilization of this indicator.
Bias of Volume Share inside Std Deviation ChannelThe "Bias of Volume Share inside STD Deviation Channel" indicator is a powerful tool for traders aiming to assess market sentiment within a standard deviation (STD) price channel. This indicator calculates the bullish or bearish bias by analysing the share of volume within the standard deviation channel and provides valuable insights for decision-making.
Usage:
This indicator is a valuable tool for traders seeking to gain in-depth insights into market sentiment within a specified price channel. By focusing on price movements that fall within the standard distribution range and filtering out noise and market manipulations, it provides a clear view of prevailing bullish or bearish biases. Traders can leverage this information to make well-informed trading decisions that align with current market conditions, enhancing their trading strategies and potential for success.
Please ensure you review and adhere to the terms of the Mozilla Public License 2.0, as outlined in the indicator's source code.
*Predictive Volume + HTF [Free]*"Predictive Volume + HTF " is a predictor of real-time to near-future volume % change on the current chart and the next highest time frame. The script calculates the volume's % change (Pred Vol) between Current Volume vs. Previous Volume by predicting whether Pred Vol will be higher or lower at the end of the current bar using an "elapsed time" vs "volume so far" concept. This gives the benefit of the most up-to-date information without artificial low/high comparisons when a bar has just formed. For example, it would be common to see -100% in a lot of instances when a new bar is just forming which would be normal because volume at the start of a new candle will generally be lower than where it was when the last bar closed. Where this indicator shines is during this old to new bar formation and the volume that's carried over to the new bar. As a result, it will now be common to see Pred Vol values starting much higher because the calculation is dividing up the bar and analyzing fractions of it instead of the entire bar that would otherwise lead to these incorrect volume % change calculations.
A few examples of Predictive Volume % Change:
In addition, this indicator uses many advanced and dynamic features:
⚡ Matrices that create the table, allowing you to add and remove columns to customize the table to show only the information that's important to you
⚡ View 2 time frames at once - meaning every time you switch time frames, the table will auto-adjust to show the next highest time frame, or "HTF"
⚡ Header function that keeps you aware of the ticker, time frame and session that you're on at all times (can use in lieu of TV's watermark feature, or use together)
⚡ Timer that shows you when a bar will begin/end
⚡ Includes the following popular time frames: 1m, 3m, 5m, 10m, 15m, 30m, 1h, 2h, 4h, 8h, 1d, week, month
⚡ 3 "bias mode" choices that use Relative Volume (RVOL) from calculations between Current, Previous & Average Volume that provide a visual with varying degrees of color representing buying & selling momentum of your favorite asset. Traders generally have an innate bias when it comes to their trading methodology. Of course it can change quickly depending on current market structure. The script's author created separate modes to account for these biases. One way to utilize the indicator is to use 2 on your chart with 1 Bullish bias \"middle right\" and another Bearish bias \"lower right\" to see if volume pressure is skewed towards your particular bias by showing how many colored boxes there are on each table.
⏩ Standard - 🟢🔴 - displays green and red to depict volume momentum using same RVOL calculations as Bullish & Bearish modes
⏩ Bullish - 🐂🐂 - displays 5 colors to represent the levels of intensity of the Buy/Sell/RVOL data (light blue, green, yellow, light orange, dark orange)
⏩ Bearish - 🐻🐻 - displays 5 colors to represent the levels of intensity of the Buy/Sell/RVOL data (light red to dark purple)
Ex. of all 3 bias modes during a burst of bullish volume momentum:
Ex. of all 3 bias modes during a burst of bearish volume momentum:
⚡ 2 alert types: 1 bullish & 1 bearish with 2 levels for each
⏩ The PREDEFINED ALERTS consist of 2 Bullish & Bearish levels with Lvl 1 designed to be less sensitive than Lvl 2
⏩ Configurable for every time frame, "On Close" or "Each Bar". On Close could be a better choice on lower time frames so that you're not getting a bunch of triggers over a short duration & Each Bar could be a better option for higher time frames so that you don't miss a move mid bar for instance
⏩ Creating a PREDEFINED BULLISH/BEARISH ALERT saves a snapshot of the alert's settings. You can then change the settings and create another alert. In this way, you can create multiple unique alerts
⏩ Create one alert for any alert type (bull and/or bear), for every time frame all at once, or you can create multiple & separate alerts, giving each one a unique name with the time frame that it's for: ex. BTC - Bullish Vol Lvl1 (1m)
In this example, you'll see what causes the alerts to trigger as well as how to create them and how they'll look when they do fire.
////////////////////////////////
It is with a sense of gratitude, appreciation and indebtedness to the coder of this script ©SimpleCryptoLife that I'm able to present this indicator to you after months of hard work. We hope that you find it invaluable during your own trading journey! Should you have any questions, feedback or critiques please do not hesitate to leave a comment.
Colored VWAP and BarcolorThis indicator plots the Volume Weighted Average Price (VWAP) as well as changes the bar color if the current price is above or below VWAP, for quick visual reference.
Background Information
Straight from TradingView, "Volume Weighted Average Price (VWAP) is a technical analysis tool used to measure the average price weighted by volume. VWAP is typically used with intraday charts as a way to determine the general direction of intraday prices. It's similar to a moving average in that when price is above VWAP, prices are rising and when price is below VWAP, prices are falling. VWAP is primarily used by technical analysts to identify market trend."
About the Indicator
This indicator changes the VWAP line color and bar color based on the current price.
Bar Color
Bullish Up Candle Color = Current price is above VWAP and the close of the candle was greater than the open.
Bullish Down Candle Color = Current price is above VWAP and the close of the candle was less than the open.
Bearish Up Candle Color = Current price is below VWAP and the close of the candle was greater than the open.
Bearish Down Candle Color = Current price is below VWAP and the close of the candle was less than the open.
Omega OscillatorThe Omega Oscillator is a toolkit designed to help both experienced and new traders with their trading decisions.
This indicator is a part of the omega toolkit, and his creation method is based on the concept that every trading strategy should have a way to determine the trend, or the bias, that answers the question “long or short?”; the location, which identifies the best price level to enter into a position and to exit, both in profit and in loss, and that will decide the final risk-to-reward ratio of the trade you take; the signal, which is useful to determine the best moment to enter into a position and that if paired with the trend point, his purpose is to identify when the large trend picture is in confluence with the small term; and last but not least the filter point, the filter is used to have another way to have an additional confluence with the trade you want to take, and it’s important to reduce the number of false signals and to increase the win rate.
This tool aims to help traders with the identification of the filter, to allow traders to judge their trades with other tools that can reduce false signals. It’s important to note that indicator and technical analysis is only one of the several different ways to analyze an asset.
One of the main things to keep in mind when working with the financial markets is that not every asset, every historical phase, and every market condition is the same, this is why this tool can be highly personalized and adjustable and provide different overlay tools in order to allow traders to choose the best settings considering these variables and your backtests.
The Oscillator can potentially work on any timeframe and any market thanks to these characteristics, and contains several different unique features:
- Optimization for the perception length parameter, used to analyze data.
- Optimization for the analysis length parameter, used to display data.
- Faculty to personalize the aesthetics of the indicators with the colors and the line width of the main line.
- 5 different tools to let the user choose the optimal way to filter out false signals and analyze the markets.
This script contains several different oscillators, each one precisely designed to remove false signals of different methods of trade.
The first one, called “Omega” is a combination of the best functionality of the other indicator. It contains the “Pendulum” advanced stochastic lines and overbought and oversold lines to analyze reversals, a long-term smoothed histogram to analyze the trend direction based on the “Pullback” formula, and the excess in the volume of the “Interest” oscillator.
The second one is called “Efficiency” and it aims to be the optimal tool to combine with the popular volume spread analysis. His purpose is to analyze the efficiency that the volume has to move the price and this means that when the oscillator is positive, either for the short term with the separated colored lines or the histograms that show the difference between the two lines in the middle-long term trend, this means that the volume has more strength compared to the opposite site volume. The usage of this indicator is to filter out bad signals in the area you are evaluating to take a trade. Be aware that using this oscillator at the beginning of open sessions can lead to false results.
The third one is called “Interest” and it does not include the price in his calculation, but only the volume. It has both the main line and the histogram that like other indicators display respectively the short and the medium-long-term trend. His usage, with the deviation bands automatically displayed, is to detect if there is more strength in the positive candle volume or in the negative candles, to use the volume strength analysis, it’s great to predict reversal and to analyze divergences.
The fourth one is called “Pendulum” and it displays an advanced formula of the popular stochastic oscillator that includes volume, with the oversold and overbought formula that if crossed origin the colored area that you see at the opposite levels, his usage is to determine potential reversal and trend direction, occasionally you can also use the cross of the two lines as a signal to enter a trade.
Additionally, this tool has a histogram that displays the true momentum of the asset you are trading.
The fifth and last one is the Pullback oscillator, and it contains several unique features. This tool will show you the price, displayed as standard candles, of the price. This oscillator can be used both for trend following and for mean reversal trading analysis. The middle area and the smoothed line that you can see aim to be potential support and resistance zones for the price. Note that the price on the moving average of the oscillator is based on volume pressure, and the color of the middle zone area is on the direction of the large trend.
This oscillator also has reversal zones that can help traders identify potential trend exhaustion and reversal price levels, that dynamically change based on the trend situation and adapt their width to the price volatility.
Risk Disclaimer:
All content and scripts provided are purely for informational & educational purposes only and do not constitute financial advice or a solicitation to buy or sell any securities of any type. Past performance does not guarantee future results. Trading can lead to a loss of the invested capital in the financial markets. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information. All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
Omega IndicatorThe Omega Trend and Signal indicator is a toolkit designed to help both experienced and new traders with their trading decisions.
This indicator is a part of the omega toolkit, and his creation method is based on the concept that every trading strategy should have a way to determine the trend, or the bias, that answers the question “long or short?”; the location, which identifies the best price level to enter into a position and to exit, both in profit and in loss, and that will decide the final risk-to-reward ratio of the trade you take; the signal, which is useful to determine the best moment to enter into a position and that if paired with the trend point, his purpose is to identify when the large trend picture is in confluence with the small term; and last but not least the filter point, the filter is used to have another way to have an additional confluence with the trade you want to take, and it’s important to reduce the number of false signals and to increase the win rate.
This tool aims to help traders with the identification of the trend and the signal points, based on a large number of different formula that works combined to display the final output. It’s important to note that indicator and technical analysis is only one of the several different ways to analyze an asset.
One of the main things to keep in mind when working with the financial markets is that not every asset, every historical phase, and every market condition is the same, this is why this tool can be highly personalized and adjustable and provide different overlay tools in order to allow traders to choose the best settings considering this variable and your backtests.
This tool, thanks to the previously cited characteristics, can work on any market and any horizontal time frame, and it has different features:
- Both Trends following and Mean Reversal usage: with different trend detection and signal formulas (not to be followed blindly like any other indicator or trading method).
- Minimalistic usage: with easy-to-enable functions both functionally and aesthetically, to keep your charts clean and to give you the power to choose only what you want to use this indicator for.
- Candle coloring: the easiest way to identify the trend current situation based on the technical formula, with the color you have chosen, and with 5 different variations: strong sell, sell (same color of strong sell but less opacity), neutral, buy, strong buy (same color of buy with more opacity).
- Automatic signal coloring, that will change the way the signals are visualized based on the mid-term trend condition, giving you both entry and exit suggested signals.
- Trend signals: an option that will display the signal based on the same algorithm that works for the candle coloring, but visualizing only the most significant trend changes
- Signal filters, that works differently for trend following and for mean reversal settings, and are divided into three different categories: additional filters remove the repetitive signals in the trend following usage and the low volume signals in the mean reversal usage; location filter remove the signal that is over/below the current trend fair value, giving you only premium or discount signal based on the direction of the trade; and the confluence filter, that for trend following usage filter out signal not in confluence with the Trend cloud overlay indicator and for mean reversal keeps only the signal that is at least in the first band of the Extreme zones overlay indicator.
- Signal sensitivity optimization with the “Fast length” parameter, with base value “1” you can choose the multiplier for that parameter.
- Trend detection optimization with the “Slow length” parameter, with base value “1” you can choose the multiplier for that parameter.
- Overlay indicator optimization with the “Trend length” parameter, with base value “1” you can choose the multiplier for that parameter.
- 4 Overlay indicator to keep the analysis simple and to assist traders to see the trend clearer and identifying the best zones and conditions to enter a trade.
- The option to visualize as numbers that go from 0 to 10 the current trend strength based on the settings to want to use and calculated with the historical best number that has been displayed (it’s shown under the last candles, only if you have selected the trend following or the mean reversal settings).
- Automatic alerts for Buy and Sell signals based on the settings and the filter that you have chosen.
- The option to show only some parts of the indicator, such as the signals or the candle coloring.
- Heikin Ashi: a modified and more simple version of the classic Heikin Ashi candle that is not realistic on the market when used improperly. This option enables the overlay of the candle with the same high, low, and close of the original candle, but the open is the average of the previous open and the previous close.
The signals work this way: if the script has detected a buy signal if the current trend strength is in confluence with the signal, you’ll see a colored dot under the candle (or over if it’s sell), but if the signal is not in confluence, you’ll see a gray (or the color you have chosen for neutral color settings) mark in the same location, so under the candle, if it’s a buy signal not supported by the trend and over the candle if it’s a sell signals not in confluence with the trend parameters, and in this cases the signals aim to suggest to close your open opposite position. This works both for Trend following and for Mean reversal usage.
In this image, there are enable the Adaptive Zone and the Extreme Zones overlay indicators, with the Mean Reversal candle coloring and signal usage.
As you can see, the Extreme Zones are designed to give with a complex script the zones in which the price is likely to reverse, of course depending on the market condition and asset.
The Adaptive Zone is a modified version of the popular super trend indicator, and is designed to work in a different way: instead of giving a buy and sell signal at the switch of the direction, this tool gives its best when used as an area of support and resistance to enter a trade with a bigger risk to reward ratio.
In these other photos, you can see the Trend Midline and the Trend Cloud overlay indicators, with the Trend Following candle coloring and signal usage.
The Trend Midline is a powerful tool that includes different calculations inside and can work like a moving average to identify the level of support and resistance, take profit and stop loss. In addition to that, the Trend Midline overlay indicator is colored based on a large number of different indicators that display the final output as colors, this way, whenever the indicator is colored as the positive color (blue by default) you’ll have another confirmation that the trend is bullish, and vice versa.
The Trend Cloud is a modified version of the popular Ichimoku Kumo, created to help traders identify the trend direction the best. Another great way to use this tool is to mark a horizontal line at the price level in which the two lines of the indicator have switched in position to identify potential future levels of support and resistance.
Risk Disclaimer:
All content and scripts provided are purely for informational & educational purposes only and do not constitute financial advice or a solicitation to buy or sell any securities of any type. Past performance does not guarantee future results. Trading can lead to a loss of the invested capital in the financial markets. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information. All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
PTS Demand IndexPTS Demand Index Indicator for Trading View coded by Precision Trading Systems
This is a complex volume-based indicator which has powerful applications as a leading indicator.
It belongs in Subgraph two under the chart. It ranges from minus 50 to plus 50 hence the reason that zero is significant in its interpretations.
On a regular daily chart of a stock you can consider approximately +29 as overbought and -25 as oversold.
Above zero is considered a bullish uptrend and below zero is seen as a bearish downtrend. This point is more valid on a slower time frame of Demand Index > 50
Shorter lengths of 6-12, etc. offer scalping opportunities for day traders or swing traders when peaks and troughs are encountered at the usual "overbought and oversold" levels similar to using RSI.
At this length you will see frequent crossings of zero as the window of data being examined is tiny.
As a future predictor of price action my preference is the longer lengths from 50 upwards. This makes for a smoother plot without it telling lies by being smoothed. Just increase the length.
They tell stories and show up insider buying and selling in a clear manner. The screenshot is length 200 and shows a power blast signal very well. Because it uses volume, a big volume trade that does not move the price much will often show up in the Demand Index Indicator, warning us of impending rapid price changes.
This is when two big traders or houses buy and sell to each other, both assuming they are right, but obviously one of them will be wrong. It is this wrong person rushing to get out of their position that causes the big move.
This is usually in the direction of the Demand Index move and this is a startling observation and seems to follow the "principle of least action" (PLA), or as Jesse Livermore said, "the price broke very badly on my selling which showed me which was the path of least resistance" . You don't need to take my word for this, just look at the chart.
There are six well known rules to Demand Index, which are widely published but still worth knowing.
However after using this for more than twenty five years I have identified some new "rules" which I will share.
The six "regular" rules
1. Divergences. If the price of a market is making a new low and DI is not this is a positive divergence seen as bullish
2. The extreme peak, this forecasts that price in the underlying market will move higher shortly. (A rare rule)
3. If the market is making new highs and Demand Index is not this is often a sign of a top and is also a bearish divergence
4. If Demand Index crosses above zero this usually signals a change in market trend
5. A long term divergence between prices and DI usually indicate a long term top or bottom is forming.
6. If DI is hovering around zero without much direction it is a sign of an indecisive and weak market lacking gusto.
The five "extra rules" of Demand Index below.
7. "The DI trend line break"
If one draws a trend line on the indicator when one has a nice place to put it that links two or three peaks or troughs together, then it breaks up or down through it, then it often signifies a price break in the same direction.
Demand Index will often signal this price break a few bars ahead of time (Sometimes as much as 10 bars ahead) Making it justified in its title as a "leading indicator" because those who know trade without telling what they know. Demand Index listens and reports it back to you.
8. "DI power blast"
(This is the example in the screenshot which lead to a big move up at 230pm UK time which is the US opening time on the ES SP500 Futures 30 second chart)
This is when a bigger than normal move occurs in DI, it does not have to "cross zero" in the event just that it can be just below or just above. It signals a big move in the direction of the blast. The example shot from -15 up to +5 in a couple of bars which lead to a 14 point move up in the futures a few minutes later.
9. "DI congestion break out"
A congested area in DI, such as is described of a stock price in a narrow range break out known as "NR" is a valid signal when emerging up or down from this range and predicts a move in that direction from the market studied.
10. "Failed zero break"
If a market is far above zero and falls down to it just puncturing it then rises up again, this is a bullish sign and a sign of a supportive market. The same applies to the vice versa signal. It acts as support and resistance often.
To be cautious you can use a plus or minus 2 or 3 as the threshold instead of zero, to give less fake signals.
11. "DI Support and resistance"
This one takes more of a deeper look. If you see a level of DI acting as support and draw a line across the subgraph two chart then you can sometimes see that this acts as support again even though the market price is totally different. A strange phenomenon but worth looking for. The same applies for resistance in the vice versa argument.
The original Demand Index formula has been adhered to exactly as it was designed without any deviations, smoothing or added parameters.
I was unable to find another script on Trading View which followed it exactly when checking against my other versions.
According to legend, the designer of this indicator Mr James Sibbet called a very big move in the Silver futures markets back in 1979 which was reported in his weekly newsletter called "Let's Talk Silver & Gold".
It was called the Silver short squeeze and the price doubled in just a few months. As a designer of trading software myself since 2006 I can say Demand Index is truly an elegant work of art.
More about divergences
Having studied many technical indicators over the years I have formed the opinion that Demand Index is the best of the best for finding meaningful divergences.
This indicator needs volume to work correctly at its best.
You can still use it on indices and Forex but as the essential volume element is missing the results will be less than optimal.
It will "work" as the library code assigns a volume of 1 if no volume is found on the symbol used.
The best markets are those with a lot of volume and a lot of players arguing over the direction.
Liquid futures and stocks do well with this indicator.
Please remember to use risk management and stop losses as not every signal will win.
Thanks for reading and good luck with using it on Trading View
Roger Medcalf - Precision Trading Systems
Exceptional Volume Spike - Potential Trend Reversal IndicatorWhat the Script Does:
The indicator aims to identify potential trend reversal points using the following steps:
Input Parameters: The script has three main input parameters that you can adjust:
relative_volume_threshold: This parameter sets the threshold for what is considered an exceptional volume spike in relation to the average volume.
ema_length: The length of the exponential moving average (EMA) used for smoothing calculations.
lookback_period: The period over which the script calculates potential support and resistance levels.
Relative Volume Calculation: The script calculates the relative volume by dividing the current volume by the average volume over the specified lookback_period.
Exceptional Volume Spikes: The script identifies exceptional volume spikes when the calculated relative volume exceeds the specified relative_volume_threshold.
EMA of Exceptional Volume Spikes: The script calculates the exponential moving average (EMA) of volume spikes. This EMA smooths out the volume spikes over the chosen ema_length.
Trend Direction: The script determines the trend direction using the crossovers of the EMA of exceptional volume spikes. If the EMA crosses above the EMA of regular volume (not spikes), it suggests a potential upward trend reversal. Conversely, if the EMA crosses below, it suggests a potential downward trend reversal.
Support and Resistance Levels: The script calculates potential support and resistance levels based on the highest high (hh) and lowest low (ll) over the specified lookback_period. These levels are then plotted on the chart.
Plot Shapes and EMA: The script plots triangle shapes below the bars for potential upward reversals and above the bars for potential downward reversals. Additionally, it plots the EMA of the closing price with different colors based on the trend direction.
By using this script as an indicator on your chart, you can visually assess potential trend reversal points based on exceptional volume spikes, trend direction crossovers, and support/resistance levels. Remember that this script serves as a tool to assist your analysis, and it's important to combine it with other technical analysis tools and strategies before making trading decisions.
Strategy - Relative Volume GainersStrategy - Relative Volume Gainers
Overview:
This trading strategy, called "Relative Volume Gainers," is designed for Long Entry opportunities in the stock market. The strategy aims to identify potential trading candidates based on specific technical conditions, including volume, price movements, and indicator alignments.
Strategy Rules:
The strategy is focused solely on Long Entry positions.
The volume for the current trading day must be greater than or equal to the volume of the previous day.
The percentage change in price must be greater than or equal to 2.5%.
The Last Traded Price (LTP) must be greater than or equal to the Exponential Moving Average (EMA) 200.
The Relative Volume for the current trading day (calculated over the last 30 days) must be greater than or equal to the Simple Moving Average (SMA) of Relative Volume over the same 30 days.
The current candle on the chart should be Green or Bullish, indicating positive price movement.
The price difference between bid and ask prices should be kept to a minimum.
It's recommended to also analyze market depth for better insights.
Strategy Requirements:
Add the Exponential Moving Average (EMA) 200 to your trading chart.
This strategy can be applied on charts of any timeframe.
For intraday trading, particularly for early entry, consider using a 1-minute timeframe.
It is advisable to create a screener to identify potential trades in real-time market conditions.
Risk Warning:
Stocks that meet the strategy criteria might exhibit high volatility and a high beta, making them inherently risky to trade. Exercise caution and adhere to predetermined risk management strategies.
Determine your trading quantity based on your entry price and stop loss in order to manage risk effectively.
Quantity Calculation Formula:
Quantity calculation is crucial to manage risk and position sizing. The following formulas can be used based on your trading scenario:
Quantity with Leverage:
Quantity = (((Using Capital / 100) * Risk Percent) / (Entry Price - Stop Loss)) * Leverage
Eg: Quantity = (((10000 / 100) * 0.2) / (405.5 - 398.5)) * 5
Quantity = 14
Risk = Rs.100 (Rs.100 is 1% of Rs.10000. So the risk is 1%, means we lose only Rs.100 when the SL is hit. If SL is increased the Quantity will get reduced to maintain a fixed risk of Rs.100)
Quantity without Leverage:
Quantity = (((Using Capital / 100) * Risk Percent) / (Entry Price - Stop Loss))
Note:
Always stay informed about market conditions and be prepared for potential rapid price movements when trading stocks that meet the strategy criteria. Strictly adhere to your predefined risk management strategy to safeguard your capital.
Volume as a Percent of Float by 3iauVolume as a Percent of Float
Plot the difference between current Chart Volume as a percent of Float/Outstanding and the moving average of the same.
Apply a multiplier to this value.
Plot the moving average of the difference between current Chart Volume as a percent of Float/Outstanding and the moving average of the same.
Volume Delta Compare [Ticks ~ LTF data]
The "Volume Delta Compare " publication shows 2 different techniques to show into-depth details of Volume, using Tick and Lower-Time-Frame (LTF) data.
🔶 USAGE
Check for divergences between price and volume movement
Check details (why and when a ΔV developed)
Or if you want to see a lot of data stacked on each other )
🔶 CONCEPTS
🔹 Tick vs. LTF data
a Tick is an measure of (upward or downward) movement in price OR volume.
We can use this data by using varip in the code.
Advantage:
• Detail, detail, detail
• Accurate, per tick
Disadvantage:
• Only realtime
• Can reset 'easily' -> loss of data
• Will reset when settings are changed
LTF data, through the request.security_lower_tf() function, measures the OHLCV data per LTF bar
Advantage:
• Access to history when loading a chart
• No 'loss' of data when chart resets
Disadvantage:
• Less detailed
• Less accurate
This script makes it possible to compare the 2 techniques and enables you to show different values.
🔹 Values
There are mainly 3 important values:
• UP volume (uV): volume when price rises
• DOWN volume (dV): volume when price falls
• NEUTRAL volume (nV): volume when price stays the same
From this, additional data is calculated:
• Volume Delta (ΔV): uV minus dV
• Cumulative Delta Volume (cΔV): sum of ΔV
One typical nV is at open: at that moment there isn't a base price to compare with,
so when the first trade doesn't fully fill the first supply (up or down), volume will rise, but price just is 'open', no movement -> no uV or dV.
• Tick data: every volume changement per tick will be added to the concerning variable (uV, dV or nV)
• LTF data: every volume changement of each bar will be added to the concerning variable (uV, dV or nV)
-> this can easily give a difference, for example (Tick vs. 1 minute LTF), when most of the ticks caused a rise of price, but at the last few seconds, a few ticks causes the close to come below open, with Tick data this could give more UP Volume, while LTF data will show 1 value of DOWN Volume.
🔶 EXAMPLES
🔹 Details
In these examples you can see:
• grey line: Total volume (higher precision)
• UP/DOWN/NEUTRAL Volume
• green columns: uV
• orange columns: dV
• blue pillars: nV
• coloured stepline: reflects ΔV
• close > open and positive ΔV -> green
• close > open but negative ΔV -> fuchsia
• close < open and negative ΔV -> orange
• close < open but positive ΔV -> bright lime green
• Right side -> indication of used data (Tick/LTF data) + last ΔV
• labels (can be disabled)
Above 0 (only with Tick data): data from EVERY tick (ΔV ):
• first the amount of Volume (0 when the amount is very minimal)
• between brackets: price movement
Below 0:
• Σ V: sum of uV, dV and nV, for that bar
• Σ up: sum of uV for that bar
• Σ dn: sum of dV for that bar
• Σ nt: sum of nV for that bar
• Σ P: sum of price movement, for that bar (only at Tick data)
(At the right you'll see a new bar just started)
Here is a detail of the first second at opening:
🔹 Cumulative Volume Delta (CVD)
Difference CVD based on Tick vs. LTF data :
(horizontal lines added for reference)
🔶 FEATURES
🔹 Minimal plotting of na values
Data window and status line only show what is applicable (tick or LTF data) to diminish clutter of data values:
The Tick option has a label above 0 which includes details of every Tick.
If data is added every tick, that label on a 10 minute chart will be filled beyond limitations pretty quickly (string max_length = 4096 limit).
To prevent the script stopping to execute, at a certain limit, this label will stop updating and show the message "Too much data".
The label below the 0-line won't reach that limit, so it will keep on updating.
Timeframes closer to 1 second will have less risk to reach that 4096 limit. Details will remain to show in this case.
🔹 Automatic label colour adaption when changing between dark/light mode values
Label background/text-colour will adapt according to the dark/light-mode by using chart.fg_color / chart.bg_color
🔶 SETTINGS
🔹 Data from: Ticks vs. LTF data
🔹 LTF: Lower Time-Frame for when LTF option is chosen: 1, 5, 10, 15, 30 Seconds or 1 minute
🔹 Also start when bar already has data: only for tick data -> when disabled calculations only start on a new bar.
🔹 CVD, Only show Cumulative Delta Volume: enable to just display CVD
🔹 Colours: colour at the right is for price/volume direction divergences
🔹 Label: choose what you want to display + size labels
🔹 0-line: The label under the 0-line sometimes goes below the chart. this can be adjusted with this setting.
Volume Delta Methods (Chart) [LuxAlgo]The Volume Delta Methods (Chart) aims at highlighting the relationship between Buying or Selling Pressure and Price by presenting Volume Delta , and multiple derivatives of volume delta such as Cumulative Volume Delta (CVD) , Buy/Sell Volume , Total Volume , etc on top of the Main Price Chart .
The script uses two different intrabar (chart bars at a lower timeframe than the chart's) analyses to achieve the most approximate calculation of the volume delta and offers fully customizable visualization features using various types of charts such as line, area, baseline, candles, and histograms.
The script allows traders to see "within" the price bar, provides more transparency over a traditional volume histogram, and also allows users to monitor price and volume activity together.
🔶 USAGE
Volume delta is the difference between the buying volume and the selling volume, in other words, it is the net demand at a given bar allowing traders a more detailed insight when analyzing the market sentiment. A volume delta greater than 0 indicates more buying than selling pressure, whereas a volume delta less than 0 indicates more selling than buying pressure.
Volume delta plus total volume (regular volume) adds additional insight, where the total volume represents all the recorded trades for security that occurs in a given time interval. It is a measurement of the participation, enthusiasm, and interest in a given security.
Divergences occur when the polarity of the volume delta does not match the polarity of the price bar.
The users can enable the display of the numerical values of the volume delta.
Cumulative Volume Delta (CVD) is a way of using Volume Delta to measure an asset’s mid-to-long-term buy and sell pressure. It compares buying and selling volume over time and offers insights into market behavior at specific price points. Cumulative Volume Delta is effectively a continuation of the principles of Volume Delta but involves longer time periods and offers different trading signals.
Like the Volume Delta, the Cumulative Volume Delta (CVD) indicator measures the relationship between buy and sell pressure but does not focus on one specific candle in particular. Rather, the Cumulative Volume Delta takes the relative differences and combines them all over an extended time period.
Users have the ability Cumulative Volume Delta in various types of charts along with an optional smoothing line.
Placed above price bars options.
Interacting with price bar options helps to better identify CVD Divergences.
CVD Divergences
CVD reveals buying and selling trends that may or may not complement the price trend of the asset itself. Sometimes, price trends can run in contrast to trading behavior — sell volume can be dominant while the spot price is rising, and vice versa.
🔶 DETAILS
Theoretically, volume delta is calculated by taking the difference between the volume that traded at the ask price and the volume that traded at the bid price. The most precise calculation method uses tick data but requires huge amounts of data on historical bars, which usually limits the historical depth of charts. This indicator uses two different intrabar analysis methods for the volume delta calculation, where intrabars are chart bars at a lower timeframe than the chart's timeframe:
The logic used to assign intrabar volume to the "up" or "down".
- Buying/Selling pressure of the intrabar option (default)
(close - low) > (high - close) => UP
(close - low) < (high - close) => DOWN
(close - low) = (high - close) => close - previous close is used
- Polarity of the intrabar option
close > open => UP
close < open => DOWN
close = open => close - previous close is used
🔶 SETTINGS
The script takes into account user-defined parameters and performs calculations and presentations based on them, where detailed usage for each user-defined input parameter in indicator settings is provided with the related input's tooltip.
🔹 Calculation Settings
Calculation Method: Calculation method selection, available options 'Intrabar Buying/Selling Pressure' or 'Intrabar Polarity'.
Lower Timeframe Precision: Sets indicator precision, default option is 'Auto'.
🔹 Presentation Settings
Volume Delta: Toggles the visibility of the Volume Delta
Cumulative Volume Delta: Toggles the visibility of the Cumulative Volume Delta
Volume Delta/Price Bar Divergences: Toggles the visibility of the Volume Delta Divergences
Volume Delta Numerical Values: Toggles the visibility of the Volume Delta Numerical Values
🔹 Other Features
Volume MA: Toggles the visibility of the Volume Moving Average
CVD Smoothing: Toggles the visibility of the Cumulative Volume Delta's Smoothing Line
🔹 Volume Delta, Others
Volume Delta: Positive, Negative: Volume Delta color customization options
Volume Histogram: Growing, Falling: Volume Histogram color customization options
Display Length: Length of the visual objects presented with this indicator
Volume Delta Height: Volume delta height customization options
Volume Histogram Height: Volume histogram height customization options
Vertical Offset: Volume delta and histogram vertical positioning customization options
🔹 Cumulative Volume Delta, Others
CVD Line, Width, and Color: Cumulative Volume Delta - Line Width and Color customization options
CVD Area/Baseline, Gradient Coloring: Cumulative Volume Delta - Area and Baseline background gradient coloring customization options
CVD Candles Color, Positive, and Negative: Cumulative Volume Delta - Candles coloring customization options
CVD/Smoothing Background: Highlights and adjusts the transparency of the area between the Cumulative Volume Delta Line and it's Smoothing Line
🔶 RELATED SCRIPTS
Liquidity-Sentiment-Profile
EquiVolume
Volume-Footprint
RVol LabelThis Code is update version of Code Provided by @ssbukam, Here is Link to his original Code and review the Description
Below is Original Description
1. When chart resolution is Daily or Intraday (D, 4H, 1H, 5min, etc), Relative Volume shows value based on DAILY. RVol is measured on daily basis to compare past N number of days.
2. When resolution is changed to Weekly or Monthly, then Relative Volume shows corresponding value. i.e. Weekly shows weekly relative volume of this week compared to past 'N' weeks. Likewise for Monthly. You would see change in label name. Like, Weekly chart shows W_RVol (Weekly Relative Volume). Likewise, Daily & Intraday shows D_RVol. Monthly shows M_RVol (Monthly Relative Volume).
3. Added a plot (by default hidden) for this specific reason: When you move the cursor to focus specific candle, then Indicator Value displays relative volume of that specific candle. This applies to Intraday as well. So if you're in 1HR chart and move the cursor to a specific candle, Indicator Value shows relative volume for that specific candlestick bar.
4. Updating the script so that text size and location can be customized.
Changes to Updated Label by me
1. Added Today's Volume to the Label
2. Added Total Average Volume to the Label
3. Comparison vs Both in Single Line and showing how much volume has traded vs the average volume for that time of the day
4. Aesthetic Look of the Label
How to Use Relative Volume for Trading
Using Relative Volume (RVol) in trading can be a valuable tool to help you identify potential trading opportunities and gain insight into market behavior. Here are some ways to use RVol in your trading strategy:
Identifying High-Volume Breakouts: RVol can help you spot potential breakouts when the volume surges significantly above its average. High RVol during a breakout suggests strong market interest, increasing the probability of a sustained move in the direction of the breakout.
Confirming Trends and Reversals: RVol can act as a confirmation tool for trends and reversals. A trend accompanied by rising RVol indicates a strong and sustainable move. Conversely, a trend with declining RVol might suggest a weakening trend or potential reversal.
Spotting Volume Divergence: When the price is moving in one direction, but RVol is declining or not confirming the move, it may indicate a divergence. This discrepancy could suggest a potential reversal or trend change.
Support and Resistance Confirmation: High RVol near key support or resistance levels can indicate potential price reactions at those levels. This confirmation can be valuable in determining whether a level is likely to hold or break.
Filtering Trade Signals: Incorporate RVol into your existing trading strategy as a filter. For example, you might consider taking trades only if RVol is above a certain threshold, ensuring that you focus on high-impact trading opportunities.
Avoiding Low-Volume Traps: Low RVol can indicate a lack of interest or participation in the market. In such situations, price movements may be erratic and less reliable, so it's often wise to avoid trading during low RVol periods.
Monitoring News Events: Around significant news events or earnings releases, RVol can help you gauge the market's reaction to the information. High RVol during such events can present trading opportunities but be cautious of increased volatility and potential gaps.
Adjusting Trade Size: During periods of extremely high RVol, it might be prudent to adjust your position size to account for higher risk.
Using Relative Volume in Morning Session
If the Volume traded in first 15 minute to 30 Minutes is already at 50% or 100% depending upon the ticker, it means that it is going to have very high Volume vs average by end of the day.
This gives me conviction for Long or Short Trades
Remember that RVol is not a standalone indicator; it works best when used in conjunction with other technical and fundamental analysis tools. Additionally, RVol's effectiveness may vary across different markets and trading strategies. Therefore, backtesting and validating the use of RVol in your trading approach is essential.
Lastly, risk management is crucial in trading. While RVol can provide valuable insights, it cannot guarantee profitable trades. Always use appropriate risk management strategies, such as setting stop-loss levels, and avoid overexposing yourself to the market based solely on RVol readings.