Volume Based Ichimoku CloudIntroduction
This release focuses primarily on a volume-based Donchian. For some time I was looking for a volume-based Donchian, not finding anything that satisfied me I tried to apply one, and then I applied it to Ichimoku.
I found advantages especially in the lateralization phase, where the integration with the volume filters some false signals.
I have added some features:
- Check the conditions of buy/sell of classic Ichimoku
- Verified reverse buy/sell condition
- Alerts
- Entrance package
- possibility to choose the type of Donchian to use (classic, volume-based)
Settings
There are the classic parameters of Ichimoku, for scalping, I use setting like(6-17-34-17 or 5-14-28-14), the new parameters are:
Donchian Type : Classic / Volume Based
Show Condition : it shows green/red square on the bottom when all the conditions of Ichimoku are satisfied, without the checkmark the inputs or the alarms will not work for this type of signal
Show Reversal : it shows yellow/purple triangle on the bottom when all during short/long state condition of Ichimoku Tenkan cross the Kijun, without the checkmark the inputs or the alarms will not work for this type of signal
Trades Framework
Show Trade Lines : show the lines for Entry Point, TP1, TP2, SL
Per n Bars : For how many bars the sending lines will be drawn
Enter Gap : It's the gap, in percentage, from the last candle low/high. For example, the entry point will be set 0.1% higher than the last high of the candle, in a long situation, or 0.1% lower than the last low of the candle in a short situation.
Take Profit 1 : It's the gap, in percentage, from the entry point. For example, the first take profit will be set 0.5% higher/lower than the entry point.
Take Profit 2 : It's the gap, in percentage, from the entry point. For example, the second take profit will be set 0.5% higher/lower than the entry point.
Stop Loss : It's the gap, in percentage, from the entry point. For example, the stop loss will be set 0.5% higher/lower than the entry point.
How to use
The use will be like that for the classic Ichimoku, the combination with a volatility indicator or the volume analysis will certainly help to reduce false signals and therefore to select only the most profitable signals.
Remember that every statistical indicator is just a tool, it needs to be understood to be used at its best, otherwise, it is just a colored line in a colored graph.
在腳本中搜尋"volume"
RVM Relative Volume MomentumRVM Relative Volume Momentum is an indicator that shows relative volume as a percentage of volume over the last 5 bars to the average volume of the same 5 bars of the previous 3 days.
RVI Relative Volume IntradayRVI Relative Volume Intraday is a simple label next to the last bar that shows the relative volume as a percentage of the ratio of today's volume to the average volume for the same intraday time period of the last five days. Useful for break-out intraday strategies.
Average Volume Levels (Ortalama Hacim Seviyeleri)English:
The indicator is divided into 3 equal parts by taking the average of the incoming volume data. Those that reach the top are volume buying and selling, the middle section is normal buying and selling, and the bottom section is non-volume buying and selling.
I set the average reception length to 90 bars, so I aimed to prevent excessive regional work.
When the candle start and end price are the same, Yellow Color is formed and it is the possible price reversal zone, indicating that one of the buyers or sellers is finished.
You can receive High Volume Notifications by setting an alarm on the plugin.
Türkçe:
Gelen hacim verilerinin ortalaması alınarak gösterge 3 eşit parçaya bölünür. En üst kısma ulaşanlar hacimli alış ve satışlar, orta kısımda kalan kısım normal alış ve satışlar en alt kısımda kalanlar ise hacimsiz alış ve satışlardır.
Ortalama alış uzunluğunu 90 bar olarak ayarladım böylece aşırı bölgesel çalışılmasının önüne geçmeyi hedefledim.
Mum başlangıç ve bitiş fiyatı aynı olduğunda Sarı Renk oluşur ve muhtemel fiyat dönüş bölgesidir, alıcı yada satıcılardan bir tarafın bitirildiğine işaret eder.
Yüksek Hacim Bildirimlerini eklenti üzerine alarm kurarak alabilirsiniz.
Pivot Boss - Advanced Volume IndicatorThis indicator measures "Compression and Expansion" of current bars volume against 10 day average volume(Can be user defined)
Avg Volume = 10 day avg volume
Wide volume = AvgVolume x 1.25 (Volume bar will be Blue color)
Narrow Volume = AvgVolume x 0.65 (Volume bar will be Magenta color)
Yellow line -- 5 bar avg volume
White Line -- 10 bar avg volume
Volume Indicators PackageCONTAINS 3 OF MY BEST VOLUME INDICATORS ALL FOR THE PRICE OF ONE!
CONTAINS:
Average Dollar Volume in RED
Up/Down Volume Ratio in Green
Volume Buzz/Volume Run Rate in BLUE
If you would like to get these individually, I also have scripts for that too.
Below is information about all three of these indicators, what they do, and why they are important.
---------------------------------------------------------------------------------------------AVERAGE DOLLAR VOLUME----------------------------------------------------------------------------------------
Dollar volume is simply the volume traded multiplied times the cost of the stock.
Dollar volume is an extremely important metric for finding stocks with enough liquidity for market makers to position themselves in. Market Liquidity is defined as market's feature whereby an individual or firm can quickly purchase or sell an asset without causing a drastic change in the asset's price. The key concept you want to understand is that these big instructions with billions of dollars need liquidity in a stock in order to even think about buying it, and therefore these institutions will demand a large dollar volume . A good dollar volume amount, that represents a pretty liquid name, is typically above 100 million $ average. Why are institutions important? Simple because they are the ones who make stocks move, and I mean really move. If you want to see large growth from a stock in a short amount of time, you need institutions wielding billions of dollars to be fighting one another to buy more shares. Institutions are the ones who make or break a stock, this is why we call them market makers.
My script calculates average dollar volume using four averages: the 50, the 30, the 20, and the 10 period. I use multiple averages in order to provide the accurate and up to date information to you. It then selects the minimum of these averages and divides this value by 1 million and displays this number to you.
TL;DR? If you want monster moves from your stocks, you need to pick names with average high liquidity(dollar volume >= $100 million). The number presented to you is in millions of whatever currency the name is traded in.
---------------------------------------------------------------------------------------------UP/DOWN VOLUME RATIO-----------------------------------------------------------------------------------------
Up/Down Volume Ratio is calculated by summing volume on days when it closes up and divide that total by the volume on days when the stock closed down.
High volume up days are typically a sign of accumulation(buying) by big players, while down days are signs of distribution(selling) by big market players. The Up Down volume ratio takes this assumption and turns it into a tangible number that's easier for the trader to understand. My formula is calculated using the past 50 periods, be warned it will not display a value for stocks with under 50 periods of trading history. This indicator is great for identify accumulation of growth stocks early on in their moves, most of the time you would like a growth stocks U/D value to be above 2, showing institutional sponsorship of a stock.
Up/Down Volume value interpretation:
U/D < 1 -> Bearish outlook, as sellers are in control
U/D = 1 -> Sellers and Buyers are equal
U/D > 1 -> Bullish outlook, as buyers are in control
U/D > 2 -> Bullish outlook, significant accumulation underway by market makers
U/D >= 3 -> MONSTER STOCK ALERT, market makers can not get enough of this stock and are ravenous to buy more
U/D values greater than 2 are rare and typically do not last very long, and U/D >= 3 are extremely rare one example I kind find of a stock's U/D peaking above 3 was Google back in 2005.
-----------------------------------------------------------------------------------------------------VOLUME BUZZ-----------------------------------------------------------------------------------------------
Volume Buzz/ Volume Run Rate as seen on TC2000 and MarketSmith respectively.
Basically, the volume buzz tells you what percentage over average(100 time period moving average) the volume traded was. You can use this indicator to more readily identify above-average trading volume and accumulation days on charts. The percentage will show up in the top left corner, make sure to click the settings button and uncheck the second box(left of plot) in order to get rid of the chart line.
On Balance Volume AdjustedOn Balance Volume Adjusted is similar to classic OBV but I consider the 'success of the volume'.
So, we don't add or substract the entire volume, but the percentage or proportional part of the volume that has brought price action.
Volume using Candle RangeAnother way of finding out a rough estimate of the volume or how much bulls or bears were in control using only the range of the candlesticks in relation to the closing price. If the close is in the higher range zone then the volume is said to have been positive, if the close is in the lower range zone then the volume is said to have been negative. The close is compared to the midpoint of the candle to see how far from the midpoint the close was.
The columns bars show how far each candlestick's close price is to the midpoint of its high and low. It's possible for the column bar to be a different color than the candlestick itself if the close was above or below the midpoint. An average line is shown that takes the average of a given length amount of column bars. There is an option to show the absolute value only of the columns and the average line.
This is based on an idea I found about candlestick range bars implying volume. This is an attempt to put that theory into practice and to see if there's any truth to it. It's not exactly volume and may not always look like it, and it does not show how many trades took place but instead tries to use price in relation to the high and low range.
Dynamic Sigma VWAP and Volume Sigma LevelsEver Wondered How can you confidently Identify Reversals / and Trend Direction with Volume ?
So this Script will help you out with that!
What I am talking About?
1. Volume Standard Deviations Spikes being Projected Over the Price
2. Dynamic VWAP being Calculated from the Points of extremities in Volume Action {estimated using Standard Deviation Sigma Level}
So,
This is how sigma levels of 1sigma, 2sigma and 3sigma will look over the volume
Whenever Volume Spikes through these Sigma Levels,
Price Projections are Formed by this Indicator, both on Current Timeframes and Higher Timeframes Prices
So,
This is what price projection of Volume Sigma Levels (1,2,3sigmas crosses) will look if projected on Same Timeframe period
And This is how they look on chart using Higher Timeframe Period, (Default Higher Time Frame is 60mins, You can tweak as per your convenience)
Once All the Sigmas are projected Over the Price,
Dynamic VWAP is calculated from the points where volume crosses current Time Frame 2sigma and 3sigma Levels
see,
This helps out in figuring a lot of things in the price volume action!
Play with it, and Enjoy!
On Balance Volume FieldsThe On Balance Volume (OBV) indicator was developed by Joseph E. Granville and published first in his book "New key to stock market profits" in 1963. It uses volume to determine momentum of an asset. The base concept of OBV is - in simple terms - you take a running total of the volume and either add or subtract the current timeframe volume if the market goes up or down. The simplest use cases only use the line build that way to confirm direction of price, but the possibilities and applications of OBV go far beyond that and are (at least to my knowledge) not found in existing indicators available on this platform.
If you are interested to get a deeper understanding of OBV, I recommend the lecture of the above mentioned book by Granville. All the features described below are taken directly from the book or are inspired by it (deviations will be marked accordingly). If you have no prior experience with OBV, I recommend to start simple and read an easy introduction (e.g. On-Balance Volume (OBV) Definition from Investopedia) and start applying the basic concepts first before heading into the more advanced analysis of OBV fields and trends.
Markets and Timeframes
As the OBV is "just" a momentum indicator, it should be applicable to any market and timeframe.
As a long term investor, my experience is limited to the longer timeframes (primarily daily), which is also how Granville applies it. But that is most likely due to the time it was developed and the lack of lower timeframe data at that point in time. I don't see why it wouldn't be applicable to any timeframe, but cannot speak from experience here so do your own research and let me know. Likewise, I invest in the crypto markets almost exclusively and hence this is where my experience with this indicator comes from.
Feature List
As a general note before starting into the description of the individual features: I use the colors and values of the default settings of the indicator to describe it. The general look and feel obviously can be customized (and I highly recommend doing so, as this is a very visual representation of volume, and it should suit your way of looking at a chart) and I also tried to make the individual features as customizable as possible.
Also, all additions to the OBV itself can be turned off so that you're left with just the OBV line (although if that's what you want, I recommend a version of the indicator with less overhead).
Fields
Fields are defined as successive UPs or DOWNs on the OBV. An UP is any OBV reading above the last high pivot and subsequently a DOWN is any reading below the last low pivot. An UP-field is the time from the first UP after a DOWN-field to the first DOWN (not including). The same goes for a DOWN field but vice versa.
The field serves the same purpose as the OBV itself. To indicate momentum direction. I haven't found much use for the fields themselves other than serving as a more smoothed view on the current momentum. The real power of the fields emerges when starting to determine larger trends of off them (as you will see soon).
Therefor the fields are displayed on the indicator as background colors (UP = green, DOWN = red), but only very faint to not distract too much from the other parts of the indicator.
Major Volume Trend
The major volume trend - from which Granville says, it's the one that tends to precede price - is determined as the succession of the highest highs and lowest lows of UP and DOWN fields. It is represented by the colors of the numbers printed on the highs and lows of the fields.
The trend to be "Rising" is defined as the highest high of an UP field being higher than the highest high of the last UP field and the lowest low of the last DOWN field being higher than the lowest low of the prior DOWN field. And vice versa for a "Falling" trend. If the trend does not have a rising or falling pattern, it is said to be "Doubtful". The colors are indicated as follows:
Rising = green
Falling = red
Doubtful = blue
ZigZag Swing count
The swing count is determined by counting the number of swings within a trend (as described above) and is represented by the numbers above the highs and lows of the fields. It determines the length and thus strength of a trend.
In general there are two ways to determine the count. The first one is by counting the swings between pivots and the second one by counting the swings between highs and lows of fields. This indicator represents the SECOND one as it represents the longer term trend (which I'm more interested in as it denotes a longer term perspective).
However, the ZigZag count has three applications on the OBV. The "simple ZigZag" is a count of three swings which mainly tells you that the shorter term momentum of the market has changed and the current trend is weakening. This doesn't mean it will reverse. A count of three downs is still healthy if it occurs on a strong uptrend (and vice versa) and it should primarily serve as a sign of caution. If the count increases beyond three, the last trend is weakening considerably, and you should probably take action.
The second count to look out for is five swings - the "compound ZigZag". If this goes hand in hand with breaking a major support/resistance on the OBV it can offer a buying/selling opportunity in the direction of the trend. Otherwise, there's a good chance that this is a reversal signal.
The third count is nine. To quote Granville directly: "there is a very strong tendency FOR MAJOR REVERSAL OF REND AFTER THE NINTH SWING" (emphasis by the author). This is something I look out for and get cautious about, although I have found signal to be weak in an overextended market. I have observed counts of 10 and even 12 which did not result in a major reversal and the market trended further after a short period of time. This is still a major sign of caution and should not be taken lightly.
Moving average
Although Granville talks only briefly about averages and the only mention of a specific one is the 10MA, I found moving averages to be a very valuable addition to my analysis of the OBV movements.
The indicator uses three Exponential Moving Averages. A long term one to determine the general direction and two short term ones to determine the momentum of the trend. Especially for the latter two, keep in mind that those are very indirect as they are indicators of an indicator anyway and I they should not necessarily be used as support or resistance (although that might sometimes be helpful). I recommend paying most attention to the longterm average as I've found it to be very accurate when determining the longterm trend of a market (even better than the same indicator on the price).
If the OBV is above the long term average, the space between OBV and average is filled green and filled red if below. The colors and defaults for the averages are:
long term, 144EMA, green
short term 1, 21EMA, blue
short term 2, 55EMA, red
Divergences
This is a very rudimentary adaption of the standard TradingView "Divergence Indicator". I find it helpful to have these on the radar, but do not actively use them (as in having a strategy based on OBV/price divergence). This is something that I would eventually pick up in a later version of the indicator if there is any demand for it, or I find the time to look into strategies based on this.
Comparison line
A small but very helpful addition to the indicator is a horizontal line that traces the current OBV value in real time, which makes it very easy to compare the current value of the OBV to historic values (which is a study I can highly recommend).
Delta Volume Weighted - IntradayResets at the start of the day's session (9:50 am on the ASX).
Takes the first candle and checks if its a green candle (close > open), and adds the volume to a total (which starts at 0 at the start of the day).
Subtracts it if the candles in red.
Continues to do this along with all the candles.
The volume is also multiplied by the difference between open and close so that large candles with large volume have more weight and move the indicator more.
Volume Weighted Bollinger Bands 出来高加重ボリンジャーバンドIt is a volume-weighted index of Bollinger Bands.
The central line is vwma so it's quite responsive
The standard deviation is also volume weighted
Charts without volume are not weighted with volume as 1.
It seems that the usage in trading is the same as the Bollinger band
ボリンジャーバンドを出来高加重した指標です
中央線はvwma出来高加重移動平均なのでかなり反応が良いです
標準偏差も出来高加重してしています
出来高の無いチャートは出来高を1として加重しないようにしています
トレードでの使い方はボリンジャーバンドと同じで良いと思われます
Volume Support & Resistance multi timeframe [LM]Hello guys,
I would like to introduce you volume support and resistance horizontals. It draws line horizontal on high and low high volume candles that has volume above volume MA for certain period multiplied by multiplier and also the volume is increasing from previous volume . You can select lines on this timeframe and/or another one.
The colors are dynamic depending whether price is below or above the line:
for the current timeframe green is used for support and blue for resistance
for the other timeframe by default 4h orange is used for support and violet for resistance
There are various sections in setting:
volume - here you can select SMA volume length and multiplier
show and hide section of the current timeframe
other timeframe
show and hide other timeframe horizontals
I'm mainly looking smaller timeframe and trading higher timeframe from level to level
Any suggestions are welcome
Slim Ribbon Volume BarsThe Slim Ribbon Volume Bars indicator is intended to be paired with the Slim Ribbon. The Slim Ribbon is also available for free in TradingView. The Slim Ribbon Volume Bars indicator changes the color of the volume bars based on the momentum condition of the Slim Ribbon. When the Ribbons have a bullish condition, the indicator colors the volume bars green. When the Ribbons have a bearish condition, the indicator colors the volume bars red. Finally, when the Ribbons have a neutral condition, the indicator colors the volume bars gray. See below for an overview of the Slim Ribbon.
The Slim Ribbon was developed by Steve Miller. Steve Miller is a 46-year veteran stock, futures and options trader. His badge on the trading floor was his initials, “SLM” and has since gone by the nickname Slim.
The Slim Ribbon is a momentum indicator . It is composed of 3 exponential moving averages (8, 13 and 21). A bullish condition occurs when the 8 period MA is above the 13 period MA and the 13 period MA is above the 21 period MA. A bearish condition occurs when the 8 period MA is below the 13 period MA and the 13 period MA is below the 21 period MA. A neutral condition occurs when the Ribbons are not in alignment.
The Slim Ribbon also notifies you when we transition from one condition to another. A green up arrow indicates that the Slim Ribbon has shifted from a neutral condition to a bullish condition. A red down arrow indicates that the Slim Ribbon has shifted from a neutral condition to a bearish condition. A blue up arrow indicates that we have shifted from a bearish condition to a neutral condition. Lastly, a blue down arrow indicates that we have shifted from a bullish condition to a neutral condition.
We would recommend using the Slim Ribbon on a candlestick chart. Steve Miller believes in the importance of visualizing trends. As a result, we have designed the Slim Ribbon to change the color of the candlesticks based on the condition of the ribbon. When the Slim Ribbon has a bullish condition, the candlesticks will turn green. When the Slim Ribbon has a bearish condition, the candlesticks will turn red. When the Slim Ribbon has a neutral condition, the candlesticks will turn gray.
Crypto USD VolumeOften times I need to check the volume in cryptocurrency exchanges and I find myself checking which type of volume I am looking at, I need to manually make sense what the data is and converting it into USD volume which I end up going to CoinMarketCap website to verify whether my calculation is right.
Today I thought it was about time I created an automatic way to find the volume in USD Dollars. This is what this script does.
1 - It removes the base currency from the symbol (e.g., "BTCUSD", it would remove "BTC", leaving us with the "USD" part.). This is important because it helps us identify the currency the pair uses.
2 - It has different pair's variables, each is given a specific currency that the final volume is calculated from. (BTC, ETH, BNB and USD are the default currencies, for other ones, it must be added manually).
This works with all crypto symbols that include BTC, ETH, BNB and USD as currencies. If you modify it, please make sure to compare data with the exchange's one.
Combo Strategy 123 Reversal & Finite Volume Elements (FVE) This is combo strategies for get a cumulative signal.
First strategy
This System was created from the Book "How I Tripled My Money In The
Futures Market" by Ulf Jensen, Page 183. This is reverse type of strategies.
The strategy buys at market, if close price is higher than the previous close
during 2 days and the meaning of 9-days Stochastic Slow Oscillator is lower than 50.
The strategy sells at market, if close price is lower than the previous close price
during 2 days and the meaning of 9-days Stochastic Fast Oscillator is higher than 50.
Second strategy
The FVE is a pure volume indicator. Unlike most of the other indicators
(except OBV), price change doesn`t come into the equation for the FVE (price
is not multiplied by volume), but is only used to determine whether money is
flowing in or out of the stock. This is contrary to the current trend in the
design of modern money flow indicators. The author decided against a price-volume
indicator for the following reasons:
- A pure volume indicator has more power to contradict.
- The number of buyers or sellers (which is assessed by volume) will be the same,
regardless of the price fluctuation.
- Price-volume indicators tend to spike excessively at breakouts or breakdowns.
WARNING:
- For purpose educate only
- This script to change bars colors.
Horizontal VolumePlot the last length volume observations horizontally on the price graph by using rescaling, with a position relative to the price highest, lowest, or moving average. Note that the indicator is subject to repainting.
Settings
Length: Determine the number of histogram bars to be plotted
Src: Determine the scale of the indicator
Relative Position: Determine how the bars are plotted
Unicolor: If TRUE, the histogram bars will have the same color, else the color is a gradient.
Details
The relative position setting determines how the histogram bars are plotted, by default "Lowest", this set the base of the plot at the lowest src value over length periods.
If "Highest" is selected, the base become the highest src value over length periods.
Finally "Moving Average" set the base value equal to the price moving average with period length , however this mod work differently, as it allows the bars to have a "negative" value.
Negative bars indicates that the volume at that precise point is lower than the mean of the last length volume observations.
The gradient tells you how close the volume is to the maximum value of the last length volume observations, with bluer colors indicating a volume closer to its maximum value.
Usage
The indicator gives you information on the volume, but you can use it more creatively since it can be really close to the price. For example, you can make support and resistances from the indicator:
Here we make a resistance from the highest bars displayed by the indicator. If you have other ideas feel free to share.
Summary
Rescaling is nice, and line.new allows you to plot pretty much everything you want, in the order you want, this is how this script was achieved.
Neko emojis are cutes, if you see one, try including it to your scripts, don't overdo it tho, as they can be quite intrusive. They won't mess up with your code as long as you give them a //
Nifty VolumeWhy this Script : Nifty 50 does not provide volume and some time it is really useful to understand the volume .
This is the pine script which calculate the nifty 50 volume .
Logic :
Take each stock contribute to nifty 50 and find it's volume .
Multiply the same with contribution percentage of the same on Nifty 50
Add up all of them and find the total volume .
There is a similar script by @daytraderph which is built for Bank Nifty (custom volume) . I took the same and built for Nfity.
Nifty has 50 stocks and you cant call security method more than 40 times from one Pine script, so this is the limitation of this script. It consider top 40 stocks and find the volume (which contribute pretty much around 95% of the volume) and convert the same to 100 %
Bank Nifty VolumeWhy this Script : Nifty 50 does not provide volume and some time it is really useful to understand the volume .
This is the pine script which calculate the nifty 50 volume .
Logic :
Take each stock contribute to nifty 50 and find it's volume .
Multiply the same with contribution percentage of the same on Nifty 50
Add up all of them and find the total volume .
I took the open source code from @daytraderph script called, Custom Volume
I will make sure I will update the contribution percentage of all stocks my self instead o you update using input methods. This is the difference. Some people don't know where to look at this to update the value, so for them this script might be useful. And this is the only difference comparing to Custom Volume script.
Ultimate VolumeThis script can display a lot of different volume statistics. It also colours bars depending on a chosen, customisable criterion. Most options are disabled by default and can be reenabled in the settings menu.
FAQ
Why are the bars slightly higher than the default volume bars?
Due to the limitations of Pinescript.
What are the two last values (including the one in white?)
They're there due to the limitations of Pinescript. It used to be possible to prevent certain values from being plotted, but still display them as indicator values, but the functionality of that option was changed and is now WIP so until it's restored, these values are necessary to scale the bars properly.
Why are the percentages formatted as volume?
Due to the limitations of Pinescript.
Why are there so many options?
I don't know. They sort of happened. But you don't have to switch them on.
What is money volume?
It's an average of the bar price multiplied by the bar volume .
Why does the daily average volume display different values than the standard sma volume?
Because mine doesn't take into account the current day. So it doesn't fluctuate intraday. Which, I think, makes more sense.
What is total volume?
It's a sum of the total volume for that day and is reset on the next. This option only works with intraday timeframes.
What is average 1 bar intraday volume?
It's the average volume for 1 intraday bar, based on the current day's values only. Obviously, it only works intraday and changes dynamically. It's not an SMA , it's a simple average of all bars for a given day.
What is all-time 1 bar intraday volume?
It's the average volume for 1 intraday bar, but based on the whole chart's history. It's impossible to select a length for this, again, because of certain limitations.
What is short volume?
It is approximately 1/3rd of the actual short volume , due to the limitations of FINRA. It's multiplied by 3 in the script and it may be not entirely accurate. The short volume % is calculated differently, using the 1/3rd of short and total volume from FINRA.
What are the default threshold values?
They are 150%, 200%, 1000% of the average for the average bar volume and all-time average bar volume options, 10%, 50%, 100% for the average daily volume option and 100K, 500K and 1M for the volume option.
Candle VolumeScript Based on Volume Based Coloured Bars by KivancOzbilgic
/////////////
This indicator turns the candle into a volume-weighted signal, When the price falls, the candle is red, and when the price rises, the candle is green. In addition, we each have two colors Happening:
Dark red: It is dark red when the downtrend trading volume is greater than 200% of its average price (default 20 days), which indicates that our price action is supported by strong bearish trading volume
Red: When the price drops and the trading volume is between 50% and 200% of its average (default 20 days), in this case, we can think that the trading volume is neither strong nor weak
Light red: When the price drops and VOLUME is less than 50% of its average price (default 20 days), the trading volume is weak and there is not much support for price movements
Dark green: When the price rises and the trading volume is greater than 200% of its average price (default 20 days), it indicates that our price movement is supported by a strong bullish trading volume
Green: When the price rises and the trading volume is between 50% and 200% of its average price (the default is 20 days), in this case, we can think that the trading volume is neither strong nor weak
Light green: When the price rises and the trading volume is less than 50% of its average price (default 20 days), the trading volume is weak and does not support the price trend well
Default Low Volume is 50% (0.5) and High 200% (2), but if those values don't suit you, you can change them according to your trading personality
//////////////////////////
Esse é um indicador que colore a candlera de acordo com o volume baseado na média, quando o volume está acima da média a candlera fica verde, e quando está abaixo, a candlera fica vermelha, e as cores das candleras funcionam dessa forma :
Vermelho escuro: fica vermelho escuro quando o preço cai e o volume de negociação é superior a 200% do preço médio (padrão 20 dias), o que indica que nossa ação de preço é suportada por um forte volume de negociação de baixa
Vermelho: quando o preço cai e o volume de negociação está entre 50% e 200% de sua média (padrão de 20 dias), nesse caso, podemos pensar que o volume de negociação não é forte nem fraco
Vermelho claro: quando o preço cai e VOLUME é inferior a 50% do preço médio (padrão 20 dias), o volume de negociação é fraco e não há muito suporte para movimentos de preço
Verde escuro: quando o preço aumenta e o volume de negociação é superior a 200% do preço médio (padrão 20 dias), isso indica que nosso movimento de preço é suportado por um forte volume de negociação de alta
Verde: quando o preço aumenta e o volume de negociação está entre 50% e 200% do preço médio (o padrão é 20 dias), nesse caso, podemos pensar que o volume de negociação não é forte nem fraco
Verde claro: quando o preço aumenta e o volume de negociação é inferior a 50% do preço médio (padrão 20 dias), o volume de negociação é fraco e não suporta bem a tendência de preço
O volume baixo padrão é 50% (0,5) e alto 200% (2), mas se esses valores não forem adequados para você, você poderá alterá-los de acordo com sua personalidade de trading
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!
-
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!