RedK_Supply/Demand Volume Viewer v1Background
============
VolumeViewer is a volume indicator, that offers a simple way to estimate the movement and balance (or lack of) of supply & demand volume based on the shape of the price bar. i put this together few years ago and i have a version of this published for another platform under different names (Directional Volume, BetterVolume) in case you come across them
what is V.Viewer
=====================
The idea here is to find a "simple proxy" for estimating the demand or supply portions of a volume bar - these 2 forces have the potential to affect the current price trend so we want an easy way to track them - or to understand if a stock is in accumulation or distribution - we want to do this without having access to Level II or bid/ask data, and without having to get into the complexity of exploring the lower timeframe price & volume data
- to achieve that, we depend on a simple assumption, that the volume associated with an up move is "demand" and the volume associated with a down move is "Supply". so we basically extrapolate these supply and demand values based on how the bar looks like - a full "green" price bar / candle will be considered 100% demand, and a full "red" price bar will be considered 100% supply - a bar that opens and closes at the same level will be 50/50 split between supply & demand.
- you may say this is a "too simple" of an assumption to make, but believe me, it works :) at least at the basic scenario we need here: i'm just exploring the volume movement and finding key levels - and it provides a good improvement compared to the classic way we see volume on a chart - which is still available here in VolumeViewer.
in all cases, i consider this to be work in progress, so i'd welcome any ideas to improve (without getting too complicated) - there's already a host of great volume-based indicators that will do the multi timeframe drill down, but that's not my scope here.
Technical Jargon & calculation
===========================
1. first we calculate a score % for the volume portion that is considered demand based on the bar shape
skip this part if it sounds too technical => if you're into coding indicators, you would probably know there are couple of different concepts for that algorithm - for example, the one used in Balance Of Power formula - which i'm a big fan of - but the one i use here is different. (how?) this is my own, ant it simply applies double weight for the "wick" parts of a price bar compared to the "body of the bar" -- i did some side-by-side comparison in past and decided this one works better. you can change it in the code if you like
2. after calculating the Bull vs Bears portion of volume, we take a moving average of both for the length you set, to come up with what we consider to be the Demand vs Supply - as usual, i use a weighted moving average (WMA) here.
3. the balance or net volume between these 2 lines is calculated, then we apply a final smoothing and that's the main plot we will get
4. being a very visual person, i did my best to build up the visuals in the correct order - then also to ensure the "study title" bar is properly organized and is simple and useful (Full Volume, Supply, Demand, Net Volume).
- i wish there was a way in Pine to hide a value that i still need to visually plot but don't want it showing its value on the study title bar, but couldn't find it. so the last plot value is repeated twice.
How to use
===========
- V.Viewer is set up to show the simplified view by default for simplicity. so when you first add it to a chart, you will get only the supply vs demand view you can see in the middle pane in the above chart
- Optional / detailed mode: go into the settings, and expose all other plots, you will be able to add the classic volume histogram, and the Supply / Demand lines - note these 2 lines will be overlay-ed on top of each other - this provides an easy way to see who is in control - especially if you change the display of these 2 lines into "area" style. This is what is showing in the lower pane in the above chart.
** Exploring Key Price Levels
- the premise is, at spots where there's big lack of balance, that's where to expect to find key price levels (support / resistance) and these price levels will come into play in future so can be used to set entry / exit targets for our trades - see the example in the AAPL chart where you can easily locate these "balance or reversal levels" using the tops/bottoms/zero-crossings from the Net Volume line
** Use for longer-term Price Analysis
- we can also use this simple indicator to gain more insights (at a high level) of the price in terms of accumulation vs distribution and if the sellers or buyers are in control - for example, in the above AAPL chart, V.Viewer tells us that buyers have been in control since October 19 - even during the recent drop, demand continued to be in play - compare that to DIS chart below for the same period, where it shows that the market was dumping DIS thru the weakness. DIS was bleeding red most of the time
Final thoughts
=============
- V.Viewer is an attempt to enhance the way we see and use Volume by leveraging the shape of the price bar to estimate volume supply & demand - and the Net between the 2
- it will work for stocks and other instruments as long as there's volume data
- note that V.Viewer does not track trend. each bar is taken in isolation of prior bars - the price may be going down and V.Viewer is showing supply going up (absorption scenario?) - so i suggest you do not use it to make decisions without consulting other trend / momentum indicators - of course this is a possible improvement idea, or can be implemented in another indicator, add in trend somehow, or maybe think of making this a +100 / -100 Oscillator .. feel free to play with these thoughts
- all thoughts welcome - if this is useful to you in your trading, please share with other trades here to learn from each other
- the code is commented - please feel free to use it as you like, or build things on top of it - but please continue to credit the author of this code :)
good luck!
-
在腳本中搜尋"volume"
Positive Volume Index + Negative Volume IndexThis is my version of plotting the classic Positive Volume Index and Negative Volume Index. They can be wildly different sometimes and not very helpful with entry and exit points but I hope this helps clearly identify buy and sell signals. Buy when the indicator is green and sell when it is red
This was a special request so let me know when you want more scripts from me!
On Balance Volume ReflexThe On Balance Volume Reflex Indicator was developed by Fred Purifoy (Stocks & Commodities V 6:4 142-144) and it is similar in calculation to the On Balance Volume indicator but uses a lookback period for the change comparisons. Buy when the OVR is above the signal and sell when it falls below the signal.
I have included my On Balance Volume Modified Indicator to highlight the differences between both indicators.
Let me know if you would like to see me write scripts for more indicators!
Custom VolumeIdea : Idea of script is getting the volume of index BNF and NIFTY50 ( as Tradingview don't provide the volume information of the indexes )
How it works : Script works on getting the weighted volume of underlying stocks and the plotting them by weight in volume
Benefits:
1. Can server as example how, once can plot the mixed volume of symbols
2. Will help the traders who consider volume also as decision making factor while trading BNF from tradingview chart
3. Can give volume information on any TF **in my knowledge only available for premium users
Important factor to note: Weight of stocks may change time to time depending on Exchange decision.
BTC Net Volume Delta (Spot)One of my favorite indicators for trend analysis. We sum the volume from all significant BTC Spot exchanges and subtract the sell volume from the buy volume for a cumulative total. A futures version is also available but spot volume is more consistent for analysis. To follow trends you can buy when sell momentum is decreasing, and sell when buy momentum is decreasing.
Do you have any ideas for monitoring sentiment or open interest across multiple exchanges? Message me and I will try to make it happen.
Breakout Volume Can Help Confirm Other SignalsVolume can help confirm signals we might discover using other methods of technical analysis.
This indicator tracks volume intelligently. Its logic spots above-average turnover and then tests against the price change. BrkVol highlights sessions with heavy volume and directional moves. This can help take out the noise and help confirm the trend.
Tesla is a classic example of this, with the stock rallying after showing heavy-volume gains on October 24- 25, December 16 and January 8.
Extreme VolumeThis indicator colors volume bars that are significantly higher volume than the vol moving average ( SMA ). Utilizes two multiplier that can be adjusted by user. Defaults are that the indicator colors volume bars yellow if 20% higher than average, and orange if over 50% higher than average.
Reason why i created this indicator is i typically don't care about volume unless it is significantly higher than average. I find extreme volume useful for confirmation of a breakout, etc. This is why the rest of the volume bars are gray, they are still available for reference, but I dont pay much attention until volume is higher than average.
Also, when you load this indicator it will be in its own pane below the chart. To try and figure out how to add it to same pane as the chart was a huge pain in the ass. Once you figure it out it is pretty easy. I'll try to explain below...
Next to the indicator name you have the following options ... Hide, Settings, Show Source Code{}, Delete(X), and More (3 dots)
1) Click on "More" (3 dots)
2) Click on "Move To" then chose "Existing Pane Above"
3) Volume will likely be too large. Volume scale should be on left side, use your mouse to adjust volume smaller
4) Volume will likely be in the middle of your chart, click on it and drag it down.
Multi-MA Volume Oscillator with IntraDayTo learn how to read indicator, please refer to
This version combines all major MA's in a Volume Oscillator formula. It then takes the average of all and applies alert conditions.
It also includes Intra-Day trading for each major volume zone - Asia/Europe/USA
Please adjust timing to your local time. Tradingview's time system seems to be 'buggy'. Don't be shocked to find it shift for some weird reason.
Volume Price Confirmation Indicator by 2tmThis script is based on Buff Pelz Dormeier’s article “Investing with Volume Analysus”
As you knows the Volume is the Only Indicator to prior Candles.
So, Lot's of CMT(Charted Market Technicians) invest the Volume Indicator and the Buff Dormeier's VPCI is very popular.
If you have interest let's prey to God Google then he'll be answered.
Anyway, The Basic Logic is this.
a. VPC=SUM(C*V,PERIOD)/SUM(V,PERIOD)-MA(C,PERIOD)
b. VPR= SUM(C*V,PERIOD)/SUM(V,PERIOD)/MA(C,PERIOD)
c. VM=AVG(V,PERIOD)/AVG(V,PERIOD*K)
d. VPCI=VPC*VPR*VM
Feel free to use my script.
Wyckoff Volume ColorThis volume indicator is intended to be used for the Wyckoff strategy.
Green volume bar indicates last price close above close 10 days ago together with volume larger than 2 * SMA(volume, 20)
Blue volume bar indicates last price close above close 10 days ago together with volume less than 2 * SMA(volume, 20)
Orange volume bar indicates last price close lower than close 10 days ago together with volume less than 2 * SMA(volume, 20)
Red volume bar indicates last price close lower than close 10 days ago together with volume larger than 2 * SMA(volume, 20)
The main purpose is to have green bars with a buying climax and red bars with a selling climax.
Three variables can be changed by simply pressing the settings button.
How many days back the closing price is compared to. Now 10 days.
How many times the SMA(volume) is multiplied by. Now times 2.
How many days the SMA(volume) consists by. Now 20 days.
ETH HawkEye Aggregated Volume IndicatorThis is combined Aggregated ETH Exchange Volume by Neobutane with HawkEye volume clone indicator by LazyBear.
Indicator includes aggregated raw ETH volume from 7 user selectable fiat and tether exchanges on USD, USDT, BTC, EUR, GBP, JPY pairs + Exponential MA + hawkeye bar coloring where: green is bullish volume , red - bearish and white - volume neutral to the market:
Bitfinex
Coinbase
Bitstamp
Kraken
Binance
Poloniex
Bittrex
*There is a TV bug that doesn't display a whole volume history if some pair was added later than date intended to be analysed by operator eg, if you want to watch older data you should exclude all secondary pairs that were added later and switch off "newer" exchanges like Binance.
Volume+ (RVOL/Alerts)This indicator colors the volume bars based on any of the three follow criteria:
- Volume Amount
- RVOL (Relative Volume)
- Lookback (Highest Over Period)
You can use one, two or all three of these settings at the same time.
You can also set alerts with this indicator. The script will trigger an alert whenever any of the three specified flags are triggered.
RVOL is calculated as: Volume divided by Moving Average value. You can change the moving average period (and type) in the settings.
Accumulated Volume PressureVolume Pressure = Volume / Price Change
A little price change with the same volume causes volume pressure. Volume Pressure pushes the prices up. Volume Pressure tells the desire to buy.
Accumulated Volume Pressure is plotted.
Chiki-Poki BFXLS Longs Shorts Abs Normalized Volume Pro by RRBChiki-Poki BFXLS Longs vs Shorts Absolute Normalized Volume Value Pro by RagingRocketBull 2018
Version 1.0
This indicator displays Longs vs Shorts in a side by side graph, shows volume's absolute price value and normalized volume of Longs/Shorts for the current asset. This allows for more accurate L/S comparisons (like a log scale for volume) since volume on spot exchanges (Bitstamp, Bitfinex, Coinbase etc) is measured in coins traded, not USD traded. Similarly, L/S is usually the amount of coins in open L/S positions, not their total USD value. On Bitmex and other futures exchanges volume is measured in USD traded, so you don't need to apply the Volume Absolute Price Value checkbox to compare L/S. You should always check first whether your source is measured in coins or USD.
Chiki-Poki BFXLS primarily uses *SHORTS/LONGS feeds from Bitfinex for the current crypto asset, but you can specify custom L/S source tickers instead.
This 2-in-1 works both in the Main Chart and in the indicator pane below. You can switch between Main/Sub Window panes using RMB on the indicator's name and selecting Move To/Pane Above/Below.
This indicator doesn't use volume of the current asset. It uses L/S ticker's OHLC as a source for SHORTS/LONGS volumes instead. Essentially L/S => L/S Volume == L/S
Features:
- Display Longs vs Shorts side by side graph for the current crypto asset, i.e. for BTCUSD - BTCUSDLONGS/BTCUSDSHORTS, for ETHUSD - ETHUSDLONGS/ETHUSDSHORTS etc.
- Use custom OHLC ticker sources for Longs/Shorts from different exchanges/crypto assets with/without exchange prefix.
- Plot Longs/Shorts as lines or candles
- Show/Hide L/S, Diff, MAs, ATH/ATL
- Use Longs/Shorts Volume Absolute Price Value (Price * L/S Volume) instead of Coins Traded in open L/S positions to compare total L/S value/capitalization
- Normalize L/S Volume using Price / Price MA / L/S Volume MA
- Supports any existing type of MA: SMA, EMA, WMA, HMA etc
- Volume Absolute Price Value / Normalize also works on candles
- Oscillator mode with negative axis (works in both Main Chart/Subwindow panes).
- Highlight L/S Volume spikes above L/S MAs in both lines/oscillator.
- Change L/S MA color based on a number of last rising/falling L/S bars, colorize candles
- Display L/S volume as 1000s, mlns, or blns using alpha multiplier
1. based on BFXLS Longs vs Shorts and Compare Style, uses plot*, security and custom hma functions
2. swma has a fixed length = 4, alma and linreg have additional offset and smoothing params
Notes:
- Make sure that Left Price Scale shows up with Auto Fit Data enabled. You can reattach indicator to a different scale in Style.
- It is not recommended to switch modes multiple times due to TradingView's scale reattachment bugs. You should switch between Main Chart and Sub Window only once.
- When the USD price of an asset is lower you can trade more coins but capitalization value won't be as significant as when there are less coins for a higher price. Same goes for Shorts/Longs.
Current ATH in shorts doesn't trigger a squeeze because its total value is now far less than before and we are in a bear market where it's normal to have a higher number of shorts.
- You should always subtract Hedged L/S from L/S because hedged positions are temporary - used to preserve the value of the main position in the opposite direction and should be disregarded as such.
- Low margin rates increase the probability of a move in an underlying direction because it is cheaper. High margin rates => the market is anticipating a move in this direction, thus a more expensive rate. Sudden 5-10x rate raises imply a possible reversal soon. high - 0.1%, avg - 0.01-0.02%, low - 0.001-0.005%
You can also check out:
- BFXLS Longs/Shorts on BFXData
- Bitfinex L/S margin rates and Hedged L/S on datamish
- Bitmex L/S on Coinfarm.online
Enhanced On Balance VolumeEnhanced On Balance Volume
"On-balance volume (OBV) is a momentum indicator that uses volume flow to predict changes in stock price.
Joseph Granville first developed the OBV metric in the 1960s.
He believed that when volume increases sharply without a significant change in the stock's price, the price will eventually jump upward, and vice versa."
The On Balance Volume generalizes.
Only the direction of change is taken into consideration, making the price irrelevant.
Enhanced On Balance Volume comes to life when the entire price action is being considered - the lows and highs.
// I looked around on TradingView and there was no such indicator.
// This is a version of the well known On Balance Volume, ported to Pinescript, meant for markets with volume data.
Volume Zone Oscillator and Price Zone (VZO/PZO) [NeoButane]" Volume Precedes Price is the conceptual idea for the oscillator."
"The main idea of the VZO was to try to change the OBV to look like an oscillator rather than an indicator, also to include time; primarily to identify which zone the volume is located in during a specific period "
How to read this indicator:
Positive reading -> bullish
Negative reading -> bearish
-60 or 60 is seen as the limit of the oscillator range, and a pullback should be expected from there.
Plus and minus signs have been added to the top and bottom for VZO and PZO, with an adjustable threshold to trigger.
Alert conditions have been added to this indicator for ease of use.
Volume Zone Oscillator, write-up by the author (recommended reading)
http:capitalsynergy.com/resources/IFTA09VZO.pdf
Volume Zone Oscillator, uses and formula
https:www.investopedia.com/articles/active-trading/072815/how-interpret-volume-zone-oscillator.asp
Price Zone Oscillator, uses and formula
https:www.investopedia.com/terms/p/price-zone-oscillator.asp
Cumulative Net VolumeThis indicator calculate the Cumulative Net Volume (volume in versus volume out) as seen in red and green cross
I normalize it to be as price indicator -then using color setting it easy to see when volume influx is positive compare to negative period
next step -I add rsi and Bollinger to highlight the area where volume is going up or down with the best period by rsi and Bollinger (green red)
it easy indicator for starter to see where the best buy or sell point
have fun
Better X-Trend /Better Volume Paint BarThese are Emini-Watch's free indicators, Better X-Trend and Better Volume paint bar.
For more information go to:
emini-watch.com emini-watch.com
Better Volume - a separate, non-overlaid volume indicatorHey guys
Coming at you again with a very simple script for displaying volume that is not overlaid on the price chart. This volume is in a separate indicator window for when you don't want the volume to get in your way. Bonus: default colors are color matched to default volume indicator (can be changed in the "Style" tab under settings). Includes the moving average as well, with the option to hide it if desired
Inspired by @tradedevils
Weis Wave VolumeThis indicator is based on the Weis Wave described by David H. Weis in his book Trades About to Happen: A Modern Adaptation of the Wyckoff Method, more info how to use this indicator can also be found in this video . The Weis Wave is an adaptation of Richard D. Wyckoff’s method Wave Charts. It works in all time periods and can be applied to all asset types. For assets that do not support volume Weis propose in his book to use the true range instead, so if you want to use this indicator for assets that do not support volume, make sure to enable the checkbox "Use True Range instead of Volume".
Unlike other implementations I found here on Trading, this implementation make use of a Renko-like zig zag pattern, very similar to how it is described in David H. Weis' book. The settings for the zig zag pattern are very similar to the standard Renko settings here on TradingView, in the "Renko Assignment Method" you either chose "ATR" or "Traditional" (read more about it here ). The ATR length or the brick size is then entered in the textbox "Value". You can also chose another setting in the "Renko Assignment Method" drop down named "Part of Price" which calculate the brick size from the current close and divide it by the value in the text box "Value". It is also possible to chose if the zig zag pattern shall use the high/low, the open/close or just the close as the most extreme values in its calculation, you select this in the drop down "Price Source". If you want the price to oscillate around a zero value, enable the "Oscillating" checkbox.
TradingView's pine script does currently not support to print non-static text on the chart, so it is not possible at this point to write out the volume on the zig zag chart. It is also not possible to have both an overlay and separate chart pane in the same indicator, therefor this indicator is split up in two.
You can find the zig zag indicator here:
Bitfinex margin change / total volumeThis script tracks the net Bitfinex margin sizes from candle to candle (longs - shorts), and divide it by the total volume from the previous candle. This should give you a ratio of net margin trading volume over total volume on Bitfinex.
Note that assuming the delay is not severe, this ratio should never exceed 1 or -1 (since margin traded volume should strictly be lower than total traded volume during any time interval). As you can see clearly however, the ratio exceeds 1 and -1 quite frequently. Thanks to @CryptoTrendy on Twitter for bringing this issue to attention. Our trading group has noticed this issue ever since they introduced the tickers, and we suspect there are severe inaccuracies in either one, or both of the margin and total volume tickers.
BTC World Volume (Multi-Exchange)Release: 2018-03-29
__________________________
WHAT IT DOES
Bitcoin is listed on multiple exchanges. Many people have called for a single global index that would quote BTC volume across all exchanges: this script is such a virtual volume aggregate of the 17 largest fiat exchanges on TradingView (listed in the script comments, and in Format > Inputs for you to select). It includes USD, EUR, JPY, KRW and USDT sources.
It will, independently for each tick, quote the volume from all selected exchanges and display a stacked representation, freely inspired from CoinMarketCap charts; also a Moving Average. Each fiat/continent has its own general color, to be able to quickly glance at where volume is coming from, e.g. BitMEX or Asia. (colors are based on Google's Material Design).
By default:
Grey: BitMEX
Green: USD
Yellow: Tether (USDT)
Red: Asia (JPY, KRW)
Blue: Europe (EUR)
No more "on Coinbase this" or "on Bitstamp that", you've now got a global overview! It becomes easy to debunk a few common myths.
See CoinMarketCap for reference.
Note: Bitmex is not taken into account in CoinMarketCap (afaik) since it's trading a derivative asset (XBTUSD contracts), but it usually amounts to ~50% of the overall BTC volume in USD value. The 16 other exchanges quote their volume in BTC, and they represent 30~40% of the overall BTC volume. I believe the whole is good enough to smooth out exchanges variations, and get a fair representation of real-time activity.
__________________________
HOW TO USE IT
Just add it to your chart, it will appear as a separate indicator. By default, it appears as stacked colored "areas". There is also a total volume Histogram, which is transparent by default: you can tweak that in Format > Style.
The darker and lighter backgrounds are respectively indicative of a downward price candle (open > close), or an upward price candle (close > open). They are unrelated to volume and simply help interpreting the indicator.
You can check/uncheck exchanges in the Format > Inputs tab to remove/add some of them from computation. All are enabled by default.
You can check/uncheck exchanges in the Format > Style tab to hide them (usually you would hide all or none).
You can edit colors and transpareny as well for each exchange.
You can edit "Volume histogram" transparency to have it show (it's a simpler representation than areas).
Moving Average: You can select the type (SMA, EMA, DEMA or TEMA) and length.
__________________________
Please leave feedback below or pm me directly for bugs and suggestions.
CMYK VOLUME CROPPED ◊ Introduction
This is a simple volume script, colored in the CMYK theme.
Cropping occurs when VOLUME > 5 * EMA, and is Shown with a transparant bar across the screen.
This way, large volume peaks don't influence scaling anymore.
◊ Adjustments
CMYK color theme applied.
Crops volume peaks, to preserve scaling.
◊ Usage
Indicates Volume
◊ Future Prospects
None
◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ CMYK SCRIPTS ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊ ◊
░▒▓█ CMYK ◊ VOLUME █▓▒░
░▒▓█ CMYK ◊ RMI █▓▒░
░▒▓█ CMYK ◊ RMI ARROWS █▓▒░
░▒▓█ CMYK ◊ HIGH LOW █▓▒░