Custom_AVWAP_Harpal's-AnchorsAutomated VWAP Indicator written in PineScript for TradingView charts. Automatically Anchored at key swing H/L levels extracted from price and volume time-series.
Indicator takes one Argument, "LookBack (# of Periods)", and then for a given security finds three key anchors, the highest and lowest values in the 'hlc3' column (average of high low and close on the daily timeframe) in the last 'LookBack' # of days. The script displays up to three color coded time-series corresponding to a trailing Volume Weighted Average Price beginning at the anchor dates corresponding to the anchor points listed above.
Volume
BTC Net Volume (Spot) (by JaggedSoft, fixed by SLN)• WHAT:
This indicator plots the aggregated net volume delta of BTC spot pairs from 8 exchanges over the last 60 periods (default settings).
Tracks the following pairs:
"BINANCE:BTCUSDT"
"BITFINEX:BTCUSD"
"POLONIEX:BTCUSDT"
"BITTREX:BTCUSDT"
"COINBASE:BTCUSD"
"BITSTAMP:BTCUSD"
"KRAKEN:XBTUSD"
"BITGET:BTCUSDT"
"GEMINI:BTCUSD"
• HOW TO USE:
Used for confirmation when watching futures that can experience quick movements in the form of liquidation-events. If the oscillator is green or trending upward, it's confirming a positive bias. The inverse is true for a negative bias. This is especially true on higher timeframes.
Can also be used to find correlations between different tech-assets.
• NOTES:
I forked JaggedSofts indicator to fix the data-source error it was having. Let me know if you want to customize exchanges or add more pairs, maybe I can add that in the future!
This indicator replaces the outdated alternative linked here : Please only use this one
• LIMITATIONS:
Only tested with normal japanese candlesticks .
• THANKS:
to the creator of this script, JaggedSoft. It's a great indicator!
• DISCLAIMER:
Not financial Advice, use at your own risk.
Money Flow IntensityThis indicator works very similarly to Elder's Force Index (EFI) and builds on top of what I have for the Money Flow Line (see my other scripts). It combines price movements with volume to create sort of "dollar flow" pressure up and down, looking for "smart money" ("big money") to make their move.
The indicator uses a lookback period to calculate a standard deviation of the movement intensity, then creates gradients to visualize how intense the movement is relative to other movements. This helps measure the pull away from the average more easily than with the Money Flow Line alone.
Much like with EFI, high intensity moves can indicate two things:
1. Strength and conviction in the current direction OR...
2. A reversal is coming soon
You can also watch for waning volume in the current direction, indicating that a trend is losing interest and may be due for a pullback.
There is no way to know, but combining this with price action and a trend indicator can help give you some good educated guesses about what could happen next. Combine with averaging in or out and managing risk appropriately. Good luck :)
Dollar Cost VolumeWhen asset prices rise or fall greatly it can be difficult to measure the interest levels across time periods. Think of assets like BBBY, GME, CVNA, BTCUSD, etc... :)
This simple visualization multiplies a pricing option by the volume to give a "dollar cost" volume over time. With this, you can more easily measure interest levels from "smart money" ("big money") and eliminate some of the noise from large volume moves when prices are very low (or small volume moves when prices are very high).
Aggregated Volume Profile Spot & Futures ⚉ OVERVIEW ⚉
Aggregate Volume Profile - Shows the Volume Profile from 9 exchanges. Works on almost all CRYPTO Tickers!
You can enter your own desired exchanges, on/off any others, as well as select the sources of SPOT, FUTURES and others.
The script also includes several input parameters that allow the user to control which exchanges and currencies are included in the aggregated data.
The user can also choose how volume is displayed (in assets, U.S. dollars or euros) and how it is calculated (sum, average, median, or dispersion).
WARNING Indicator is for CRYPTO ONLY.
______________________
⚉ SETTINGS ⚉
‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
Data Type — Choose Single or Aggregated data.
• Single — Show only current Volume.
• Aggregated — Show Aggregated Volume.
Volume By — You can also select how the volume is displayed.
• COIN — Volume in Actives.
• USD — Volume in United Stated Dollar.
• EUR — Volume in European Union.
• RUB — Volume in Russian Ruble.
Calculate By — Choose how Aggregated Volume it is calculated.
• SUM — This displays the total volume from all sources.
• AVG — This displays the average price of the volume from all sources.
• MEDIAN — This displays the median volume from all sources.
• VARIANCE — This displays the variance of the volume from all sources.
• Delta Type — Select the Volume Profile type.
• Bullish — Shows the volume of buyers.
• Bearish — Shows the volume of sellers.
• Both — Shows the total volume of buyers and sellers.
Additional features
The remaining functions are responsible for the visual part of the Volume Profile and are intuitive and I recommend that you familiarize yourself with them simply by using them.
________________
⚉ NOTES ⚉
‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
If you have any ideas what to add to my work to add more sources or make calculations cooler, suggest in DM .
Also I recommend exploring and trying out my similar work.
Volume-Weighted Price Levels (VWPL)Introduction:
In this script, we will be creating an indicator that plots horizontal lines on the chart for each unique price in a given range, and colors them based on the volume of that price.
Explanation:
First, we define the input "Length" as an integer. This will determine the number of bars back from the current bar to include in the range.
We then create two arrays: "price" and "vol." The "price" array will store all the unique prices in the given range, and the "vol" array will store the corresponding volumes for those prices.
Using a for loop, we iterate through the range of bars and check if the current close price is already included in the "price" array. If it is not, we add it to the array and also add the corresponding volume to the "vol" array. If it is already included, we find the index of that price in the "price" array and add the current volume to the volume stored at that index in the "vol" array.
After the for loop, we find the maximum volume in the "vol" array and use that to find the corresponding price in the "price" array. This will be the price at which we draw the horizontal line.
We then create an array of lines called "lines" and, using another for loop, we iterate through the "price" array and add a line to the "lines" array for each price. The color of each line is determined by the volume of that price, using a color gradient from blue (lowest volume) to red (highest volume).
Finally, we use an if statement to check if the current bar is the last bar in the chart, and if it is, we use another for loop to iterate through the "lines" array and delete all the lines. This is to prevent the lines from being carried over to the next bar and potentially being plotted multiple times.
Conclusion:
This script can be useful for visualizing the price levels with the highest volume in a given range, as well as seeing how volume is distributed among different price levels. It can be helpful for identifying areas of significant buying or selling pressure.
(mab) Volume IndexThis script implements the (mab) Volume Index (MVI) which is a volume momentum oscillator. The formula is similar to the formula of RSI but uses volume instead of price. The price is calculated as the average of open, high, low and close prices and is used to determine if the volume is counted as up-volume or down-volume.
I created MVI to replace OBV on my charts, because OBV is not as simple to read and find e.g. divergences. MVI is much easier to read because it is an oscillator with a minimum value of 0 and a maximum value of 100. It's easy to find divergences too. I like to display MVI over the volume bars. However, you can display it in a separate pain as well.
(mab) Money Flow - MMFThis indicator implements the (mab) Money Flow (MMF). The MMF is calculated using a formula inspired by RSI. In contrast to RSI, MMF uses the average of open, high, low and close as price source. This price is then multiplied with the volume as input for the RSI like formula to calculate the value.
Features:
- Volume weighted price momentum oscillator
- Uses average of open, close, high and low as price component to make the signal less choppy while still as fast
- EMA on MMF
- Highlighting when EMA is in oversold or overbought area
- Alarms
Note that the MMF formula is different than the formula used for other money flow indices like MFI or CMF.
Why do we need another money flow indicator if there are already many established ones? Well I used and tested many money flow indicators including MFI and CMF among others. However, none of them showed the results I was looking for. MFI for example uses a simpler formula for the calculation, which results in a different reading that isn't showing divergences as clearly as I would like. CMF on the other hand has no defined maximum or minimum (similar to MACD) so that it's difficult to determine overbought and oversold values. The MMF is an oscillator with a minimum value of 0 and a maximum value of 100 like RSI. The usage of the average of open, close, high and low as price element makes it less choppy compared to RSI while it still reacts as fast to movements.
Volume Cross ━ (For Volume Crop) [whvntr]This fulfills a request from user: iTibu to make an oscillator to go along with one of my indicators named: " Volume Crop ━ Hidden Volume Divergence ". It essentially does the same thing, without the Midline Tool , so you can better understand where the crosses are happening. Again, the hidden MACD Divergence circles formula originated from TheLark. I converted these values to volume instead of price.
Disclaimer: using this indicator, or any indicator anywhere, involves risk when trading and isn't a guarantee of 100% accurate results.
Wicks percentagesThis indicator shows the percentage of the upper and lower wicks in reference to the entire candle.
Is recommended to use with white background.
Volume Crop ━ Hidden Volume Divergence [whvntr] Volume Divergence
• Formula originated from: "Hidden Price Divergence" (circles) by TheLark. I did two things to harness its
effectiveness:
• Firstly, I developed a unique way to filter out the divergence signals that were appearing on both sides of the
midline. This filter will be known as the "Midline Tool" . It filters out a lot of the false signals commonly
associated with oscillators.
• Then, I modified the default format from Price to Volume.
• The midline formula "Midline Tool" was developed by me . It adjusts in the thousands since it's volume.
Let me know in the comments if you would rater have a smaller step value than 10,000. How does it work?
Crossover then Crossunder, the arrows only appear during the first sign of hidden volume divergence once
crossing the midline. Normally, these signs appear on both side of the midline both bearish and bullish no
matter if it's on an oversold or overbought side of the spectrum... Also, let
me know in the comments if you would like for me to release an oscillator version of this
indicator for co-witnessing.
Features:
• Volume divergence
• Midline Tool©
• Disclaimer: This indicator does not constitute investment advice. Trade at your own risk with the investments
you can afford to lose because all financial investments have risks and this is not a
guarantee that the volume divergence will be 100% all the time.
CVD - Cumulative Volume Delta (Chart)█ OVERVIEW
This indicator displays cumulative volume delta (CVD) as an on-chart oscillator. It uses intrabar analysis to obtain more precise volume delta information compared to methods that only use the chart's timeframe.
The core concepts in this script come from our first CVD indicator , which displays CVD values as plot candles in a separate indicator pane. In this script, CVD values are scaled according to price ranges and represented on the main chart pane.
█ CONCEPTS
Bar polarity
Bar polarity refers to the position of the close price relative to the open price. In other words, bar polarity is the direction of price change.
Intrabars
Intrabars are chart bars at a lower timeframe than the chart's. Each 1H chart bar of a 24x7 market will, for example, usually contain 60 bars at the lower timeframe of 1min, provided there was market activity during each minute of the hour. Mining information from intrabars can be useful in that it offers traders visibility on the activity inside a chart bar.
Lower timeframes (LTFs)
A lower timeframe is a timeframe that is smaller than the chart's timeframe. This script utilizes a LTF to analyze intrabars, or price changes within a chart bar. The lower the LTF, the more intrabars are analyzed, but the less chart bars can display information due to the limited number of intrabars that can be analyzed.
Volume delta
Volume delta is a measure that separates volume into "up" and "down" parts, then takes the difference to estimate the net demand for the asset. This approach gives traders a more detailed insight when analyzing volume and market sentiment. There are several methods for determining whether an asset's volume belongs in the "up" or "down" category. Some indicators, such as On Balance Volume and the Klinger Oscillator , use the change in price between bars to assign volume values to the appropriate category. Others, such as Chaikin Money Flow , make assumptions based on open, high, low, and close prices. The most accurate method involves using tick data to determine whether each transaction occurred at the bid or ask price and assigning the volume value to the appropriate category accordingly. However, this method requires a large amount of data on historical bars, which can limit the historical depth of charts and the number of symbols for which tick data is available.
In the context where historical tick data is not yet available on TradingView, intrabar analysis is the most precise technique to calculate volume delta on historical bars on our charts. This indicator uses intrabar analysis to achieve a compromise between simplicity and accuracy in calculating volume delta on historical bars. Our Volume Profile indicators use it as well. Other volume delta indicators in our Community Scripts , such as the Realtime 5D Profile , use real-time chart updates to achieve more precise volume delta calculations. However, these indicators aren't suitable for analyzing historical bars since they only work for real-time analysis.
This is the logic we use to assign intrabar volume to the "up" or "down" category:
• If the intrabar's open and close values are different, their relative position is used.
• If the intrabar's open and close values are the same, the difference between the intrabar's close and the previous intrabar's close is used.
• As a last resort, when there is no movement during an intrabar and it closes at the same price as the previous intrabar, the last known polarity is used.
Once all intrabars comprising a chart bar are analyzed, we calculate the net difference between "up" and "down" intrabar volume to produce the volume delta for the chart bar.
█ FEATURES
CVD resets
The "cumulative" part of the indicator's name stems from the fact that calculations accumulate during a period of time. By periodically resetting the volume delta accumulation, we can analyze the progression of volume delta across manageable chunks, which is often more useful than looking at volume delta accumulated from the beginning of a chart's history.
You can configure the reset period using the "CVD Resets" input, which offers the following selections:
• None : Calculations do not reset.
• On a fixed higher timeframe : Calculations reset on the higher timeframe you select in the "Fixed higher timeframe" field.
• At a fixed time that you specify.
• At the beginning of the regular session .
• On trend changes : Calculations reset on the direction change of either the Aroon indicator, Parabolic SAR , or Supertrend .
• On a stepped higher timeframe : Calculations reset on a higher timeframe automatically stepped using the chart's timeframe and following these rules:
Chart TF HTF
< 1min 1H
< 3H 1D
<= 12H 1W
< 1W 1M
>= 1W 1Y
Specifying intrabar precision
Ten options are included in the script to control the number of intrabars used per chart bar for calculations. The greater the number of intrabars per chart bar, the fewer chart bars can be analyzed.
The first five options allow users to specify the approximate amount of chart bars to be covered:
• Least Precise (Most chart bars) : Covers all chart bars by dividing the current timeframe by four.
This ensures the highest level of intrabar precision while achieving complete coverage for the dataset.
• Less Precise (Some chart bars) & More Precise (Less chart bars) : These options calculate a stepped LTF in relation to the current chart's timeframe.
• Very precise (2min intrabars) : Uses the second highest quantity of intrabars possible with the 2min LTF.
• Most precise (1min intrabars) : Uses the maximum quantity of intrabars possible with the 1min LTF.
The stepped lower timeframe for "Less Precise" and "More Precise" options is calculated from the current chart's timeframe as follows:
Chart Timeframe Lower Timeframe
Less Precise More Precise
< 1hr 1min 1min
< 1D 15min 1min
< 1W 2hr 30min
> 1W 1D 60min
The last five options allow users to specify an approximate fixed number of intrabars to analyze per chart bar. The available choices are 12, 24, 50, 100, and 250. The script will calculate the LTF which most closely approximates the specified number of intrabars per chart bar. Keep in mind that due to factors such as the length of a ticker's sessions and rounding of the LTF, it is not always possible to produce the exact number specified. However, the script will do its best to get as close to the value as possible.
As there is a limit to the number of intrabars that can be analyzed by a script, a tradeoff occurs between the number of intrabars analyzed per chart bar and the chart bars for which calculations are possible.
Display
This script displays raw or cumulative volume delta values on the chart as either line or histogram oscillator zones scaled according to the price chart, allowing traders to visualize volume activity on each bar or cumulatively over time. The indicator's background shows where CVD resets occur, demarcating the beginning of new zones. The vertical axis of each oscillator zone is scaled relative to the one with the highest price range, and the oscillator values are scaled relative to the highest volume delta. A vertical offset is applied to each oscillator zone so that the highest oscillator value aligns with the lowest price. This method ensures an accurate, intuitive visual comparison of volume activity within zones, as the scale is consistent across the chart, and oscillator values sit below prices. The vertical scale of oscillator zones can be adjusted using the "Zone Height" input in the script settings.
This script displays labels at the highest and lowest oscillator values in each zone, which can be enabled using the "Hi/Lo Labels" input in the "Visuals" section of the script settings. Additionally, the oscillator's value on a chart bar is displayed as a tooltip when a user hovers over the bar, which can be enabled using the "Value Tooltips" input.
Divergences occur when the polarity of volume delta does not match that of the chart bar. The script displays divergences as bar colors and background colors that can be enabled using the "Color bars on divergences" and "Color background on divergences" inputs.
An information box in the lower-left corner of the indicator displays the HTF used for resets, the LTF used for intrabars, the average quantity of intrabars per chart bar, and the number of chart bars for which there is LTF data. This is enabled using the "Show information box" input in the "Visuals" section of the script settings.
FOR Pine Script™ CODERS
• This script utilizes `ltf()` and `ltfStats()` from the lower_tf library.
The `ltf()` function determines the appropriate lower timeframe from the selected calculation mode and chart timeframe, and returns it in a format that can be used with request.security_lower_tf() .
The `ltfStats()` function, on the other hand, is used to compute and display statistical information about the lower timeframe in an information box.
• The script utilizes display.data_window and display.status_line to restrict the display of certain plots.
These new built-ins allow coders to fine-tune where a script’s plot values are displayed.
• The newly added session.isfirstbar_regular built-in allows for resetting the CVD segments at the start of the regular session.
• The VisibleChart library developed by our resident PineCoders team leverages the chart.left_visible_bar_time and chart.right_visible_bar_time variables to optimize the performance of this script.
These variables identify the opening time of the leftmost and rightmost visible bars on the chart, allowing the script to recalculate and draw objects only within the range of visible bars as the user scrolls.
This functionality also enables the scaling of the oscillator zones.
These variables are just a couple of the many new built-ins available in the chart.* namespace.
For more information, check out this blog post or look them up by typing "chart." in the Pine Script™ Reference Manual .
• Our ta library has undergone significant updates recently, including the incorporation of the `aroon()` indicator used as a method for resetting CVD segments within this script.
Revisit the library to see more of the newly added content!
Look first. Then leap.
Accumulated Put/Call Ratio V2This is an updated version of the Accumulated P/C Ratio. Some changes include:
- Pinescript privacy changed from protected to open.
- Utilizes the "request.security_lower_tf" function for weekly and monthly charts.
- Now acquires and sums raw put volume (ticker: PVOL) and call volume (ticker: CVOL) separately, then divides the aggregate put to aggregate call to get the P/C ratio, as opposed to the original version which directly sums the put call ratio (ticker: PCC). Mathematically this calculation makes more sense, but the major drawback of this change seems to be that PVOL and CVOL don't have as much historical data as PCC.
The way to interpret the indicator is the same as the original version - higher values are bullish while lower values are bearish. A solid (0 transparency) bar means that the value is beyond 3 standard deviations within a particular period.
Price Weighted Volume MA (PWVMA)Title: "Price Weighted Volume Moving Average Indicator for TradingView"
Abstract: This script presents a TradingView indicator that displays the price weighted volume moving average (PWVMA) of a financial asset. The PWVMA is a technical analysis tool that helps traders visualize the relationship between price and volume over a specified period of time. The script offers two PWVMA calculation methods: the standard volume moving average (VMA) and the exponentially smoothed volume moving average (EVMA). The user can choose between these methods and customize the length and reset (session weighting) parameters of the moving average. The PWVMA is plotted on the chart alongside the volume data for easy comparison and analysis.
Introduction: In financial markets, volume is an important factor that can provide insights into the strength of a trend or the intensity of buying or selling pressure. The PWVMA is a variant of the volume moving average (VMA) that takes into account the price of the asset in the calculation. This makes the PWVMA more sensitive to price changes and helps traders understand the underlying dynamics of the market.
Methodology: The PWVMA is calculated by dividing the sum of the product of volume and price over a specified period by the sum of the price over the same period. In the VMA method, this calculation is performed using a simple moving average. In the EVMA method, the calculation uses an exponentially smoothed moving average, which gives greater weight to more recent data points.
Implementation: The script is implemented in TradingView's PineScript language and can be easily added to any chart on the platform. The user can choose between the VMA and EVMA methods and adjust the length and reset (session weighting) parameters as needed. The PWVMA is plotted on the chart alongside the volume data, allowing traders to compare and analyze the relationship between the two.
Conclusion: The PWVMA is a useful technical analysis tool that helps traders understand the relationship between price and volume in the market. This script provides a convenient and customizable implementation of the PWVMA for use in TradingView.
(I love using openai to write my descriptions)
LiquidationsFirst, thanks to the following Tradingview community members for providing open source indicators that I used to develop this indicator!
Liquidations by volume (spot/futures) - @Thomas_Davison
Pivot and liquidation lines - @lmatl
Let me know if either of you do not approve and I will remove the indicator.
This indicator uses pivot points, volume and a liquidation percentage to determine potential liquidation levels. These are not exact but can give traders an idea of potential support or resistance levels.
Pivot points: Currently the pivot points are set to look left 5 bars and right 2 bars. This will determine the high and lows in the chart.
Volume: Assuming that high volume bars are where more leverage is used, this indicator uses the average volume over a 1000 bar period to determine to determine a baseline. I have arbitrarily set 100x lines to 20% above the average volume, 50x lines 10% above, 25x lines 5% above, 10x lines 2.5% above and 5x lines 1.25% above.
Liquidation: Finally, we are making a few assumptions on how liquidations are calculated. The following table includes the percentage a position can decline before being liquidated.
Short: Long:
100x 0.51% 0.49%
50x 1.55% 1.47%
25x 3.70% 3.38%
10x 5.11% 4.67%
5x 6.705% 6.115%
Let me know if there are any questions or if anyone has any improvements!
Volume Weighted Exponential Moving Average Suite (VWEMA)This is a volume weighted exponential moving average (EMA) script that allows users to customize various parameters to fit their specific needs.
The script includes four different EMA styles: EMA, DEMA, TEMA, and EHMA. Users can choose which style they would like to use by selecting it in the input field. The script also allows users to customize the length of the EMA, with options for both a maximum and minimum length. Users can also choose to use a manual length or to use the dominant cycle within a range as the length.
In addition to these options, the script also includes the ability to turn on or off volume weighting and a daily reset feature that resets the EMA every day. There is also an option to turn on deviation bands, which show the standard deviation of the selected EMA.
Overall, this script offers a wide range of customization options to help users find the best EMA settings for their needs. It is an advanced tool that can be very helpful for traders looking to optimize their EMA strategy.
Cumulative length instead of cycle length
Double EMA Volume Weighted
Triple EMA Volume Weighted
EHMA Volume Weighted
Higher time frame
Deviation Bands
Aggregated Volume Spot & Futures ⚉ OVERVIEW ⚉
The indicator presents a comprehensive approach to Aggregated Volume Data . Works on almost all CRYPTO Tickers!
The script also includes several input parameters that allow the user to control which exchanges and currencies are included in the aggregated data.
This script allows the user to choose from several data display modes, including volume, spot & perp, delta, cumulative delta, and others.
The user can also choose how volume is displayed (in assets, U.S. dollars or euros) and how it is calculated (sum, average, median, or dispersion).
WARNING Indicator is for CRYPTO ONLY.
______________________
⚉ SETTINGS ⚉
‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
Mode — Choose Mode.
• Volume — This displays the Volume
• Volume (Colored) — Shows aggregated volume but applying different volume colors for different exchanges.
• Delta — This displays the difference between the number of sellers and buyers.
• Cumulative Delta — This displays the cumulative delta between sellers and buyers.
• Spot & Perp — Shows Spot and Futures volume at the same time.
• Delta (Spot - Perp) — Shows the difference between Spot and Futures Volume.
• Liquidations — Displays Potential Liquidations. (Calculated between the difference in volume between Futures and Spots)
• OBV — On Balance Volume.
• MFI — Money Flow Indicator.
• Data Type — Choose Single or Aggregated data.
• Single — Show only current Volume.
• Aggregated — Show Aggregated Volume.
Volume By — You can also select how the volume is displayed.
• COIN — Volume in Actives.
• USD — Volume in United Stated Dollar.
• EUR — Volume in European Union.
• RUB — Volume in Russian Ruble.
Calculate By — Choose how Aggregated Volume it is calculated.
• SUM — This displays the total volume from all sources.
• AVG — This displays the average price of the volume from all sources.
• MEDIAN — This displays the median volume from all sources.
• VARIANCE — This displays the variance of the volume from all sources.
* 🡅 Be Careful, Reacts to Every Mode.
Additional features
• Show MA — Show Movieng Average of Volume.
• MA Period — Period of MA.
• Lookback — Lookback period for 'Cumulative Delta' and for 'MFI'.
• Liquidation Filter — Filters out small or negative difference values.
• Show Table — Table shows the current volume of the last candle. Also in the Mode "Colored" shows the color of exchanges if they have volume.
________________
⚉ NOTES ⚉
‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
I don't pretend to be the best choice for calculating CVD , Delta and Liquidations, the calculations are chosen to be optimal from what I have seen and know.
If you have any ideas what to add to my work to add more sources or make calculations cooler, suggest in DM .
Anchored VWAP BandSimple script to anchor vwap to a drag and drop spot on the chart and display it as a band instead of a line.
the AVAP Band displays:
1. The AVWAP using High as the source
2. The AVWAP using OHLC4 as the source
3. The AVWAP using Low as the source
This is just a different way of visualising VWAP from an anchored point in time (Band vs Line)
Volume Candlestick Heatmap Colors [vnhilton]This indicator colours candles based on their volume for a set period of time. The highest volume & lowest volume in this period are set by 2 colours, & any candle with volume inside the range will have a colour based on the gradient created by the 2 colours. Ability to hide the candle body, wick, border if preferred (Hide candlestick body, wick, border, through the settings if applicable). Features 20 pre-set themes + ability to set your own custom theme.
Anamnisar; Aubergine; Between The Clouds; Bichrome
Bora Bora; Candy; Cherryblossoms; Dracula
Dance To Forget; Fresh Turboscent; Friday; Frozen
Miaka; Minnesota Vikings; Misty Meadow; Monochrome
Neon Life; Purple Bliss; Purple Paradise; Sea Blizz
Shore; Sky; Starfall; Superman
Talking To Mice Elf; The Strain; Winter; Vasily
Volume profile zonesHi all!
This script calculates and shows the volume profile for the range of a higher timeframe candle. It then shows support or resistance (/supply or demand) zones based on the volume profiles with the most volume. The defaults are just my preferred settings so feel free to play with them! Also feel free to let me know about bugs and features. I already have a list of features to make, e.g.:
base on pivots
more info zone calculations, e.g. breaks and retests, virgin point of control etc.
add alerts
get rid of getPriceLevels()
get rid of _barVolumeProfile prefix
handle realtime
...
Best of trading luck!
Imbalance Detector [LuxAlgo]This indicator detects and highlights market imbalances alongside a dashboard returning information about their frequency of occurrence and their fill percentage. Imbalances included in this script are Fair Value Gaps (FVG), Opening Gaps (OG) and Volume Imbalances (VI).
Alerts are available for the occurrences of all market imbalances.
Settings
Imbalances
Each imbalance has the same settings layout:
Imbalance: Enable/disable the detection of the specific imbalance.
Min Width: If enabled, requires the imbalance area width to be greater than the specified value. This minimum width can be expressed in points, percentages or ATR multiples.
Extend: Extend imbalances by a specified number of bars.
Dashboard
Show Dashboard: Enable/disable the dashboard on the chart.
Dashboard Location: Location of the dashboard on the chart.
Dashboard Size: Size of the dashboard.
Usage
Market imbalances are part of the many concepts available to price action traders and highlight areas where there is a disparity between supply and demand.
It is common to see price come back to these areas and traders often use them as supports and resistances but also as targets.
Details
The script can detect three distinct types of imbalances described below.
Fair Value Gaps
Fair Value Gaps (FVG) are three candle formations characterized by a gap between the wicks of the non-adjacent candles in the formation.
A bullish FVG is characterized by a gap between the current price low and the 2 bars anterior price high, and a bearish FVG is characterized by a gap between the current price high and the 2 bars anterior price low.
Opening Gaps
Opening Gaps (OG) are imbalances characterized by non-existent activity within a specific price range.
A bullish OG occurs when the current price low is greater than the previous high, a bearish OG occurs when price high is lower than the previous price low.
Opening Gaps primarily occur in closing markets, as such they are less common in the cryptocurrency market.
Most of the time an Opening Gap will also be accompanied by a Fair Value Gap, in order to avoid clutter the indicator will not detect Fair Value Gaps if Opening Gaps are enabled and if an Opening Gap has been detected
Volume Imbalances
Volume Imbalances (VI) are characterized by a price discontinuity between the opening price and previous close, but unlike Opening Gaps we do not see nonexistent activity within a certain price range.
A bullish VI occur when both the opening and closing prices are superior to the previous closing price, with the current price low overlapping the previous price high. A bearish VI occur when both the opening and closing prices are inferior to the previous closing price, with the current price high overlapping the previous price low.
Because Volume Imbalances can occur excessively on markets with frequent gaps, we make use of an additional condition for filtering out less significant imbalances. Bullish VI's will require the previous price high to be lower than the opening price, while bullish VI's will require the previous price low to be higher than the opening price.
[Pt] Periodic Volume ProfileThis script is an attempt to recreate the Periodic Volume Profile that is built-in by TradingView, with slightly different features. Related blog: www.tradingview.com
This script is based on another script "Volume Profile, Pivot Anchored" by @dgtrd
*Note that only limited number Volume Profile can be displayed on the chart due to limitations on displaying boxes and lines.
Description
This Periodic Volume Profile (PVP) indicator allows trades to view volume profiles for periods longer than the current timeframe. The indicator builds one general volume profile for each new period, set by the user through the “Periodic Timeframe” input parameter.
This script also has the option to extend Point of Control (POC) lines with optional end conditions: Until Bar Touch, Until Last Bar, Until Bar Cross, or None, which extends to the right.
Signals are generated for Naked POC touches and crosses by a triangle symbol and a cross symbol, by default.
Alerts are available for POC touches and crosses.
What is Volume Profile?
Volume profile is a technical analysis tool that shows the volume of trades at different prices for a given security or market over a specific period of time.
Volume profile can be used to identify key levels of support and resistance, as well as to assess the overall supply and demand for a security. For example, if there is a high volume of trades at a particular price level, this may indicate that there is a significant level of support or resistance at that price. On the other hand, if there is relatively low volume at a particular price, this may indicate that there is not much interest in trading at that level.
Traders can use volume profile to identify trends, make trading decisions, and set stop-loss and take-profit orders. It can also be useful for identifying patterns such as "pockets of liquidity," which are areas where there is a high volume of trades but relatively little price movement.
It is important to note that volume profile should be used in conjunction with other technical analysis tools and should not be relied upon in isolation. It is also important to consider the overall context and market conditions when interpreting volume profile data.
Key Difference with TradingView's PVP indicator - TradingView's PVP intraday period does not align with standard intraday timeframes as it is determined by # of bars. This script provides volume profiles that aligns with higher timeframe periods.
Enjoy~!
On Balance Volume CrossoversCheck on balance volume but with crossover. You can choose the smoothing method, which is set by default to use the Volume Weighted Moving Average (bringing volume to the equation is always a good idea) but you can change to SMA, MA, EMA, ...
Hope you guys enjoy it and don't forget to rate it up! :)
I plan to include % from 0-100 OBV in here later! Stay tuned.
Feedback is cool.