Relative Volume Combined With a Cumulative FunctionHi everyone
The today's script was suggested by a follower.
--------------------------------------
1 minute of Knowledge
--------------------------------------
Many traders look at volume as a pre-signal that a move may happen.
In trading, some say that "the volume precedes the movement".
This simply means that often volume will increase before a significant move in the stock.
Imagine if a unique trader is buying a crypto/stock. The volume is unlikely to move.
But, if all the mass goes to mass spot buy an asset, then we could see a volume spike announcing a potential upwards move.
---------------------------------------------
What's the story with that indicator?
---------------------------------------------
It's an interesting way of presenting the volume data.
Will show the total volume for the selected period.
You can choose between relative and cumulative presentation.
The users can display the consecutive rising volume above the 0 line and the failing volume below that line.
--------------------------------------
Mix knowledge with usefulness
--------------------------------------
A price making a higher/high (HH) or lower/low (LL) has a real and strong meaning- a HH or LL on a volume has a significant meaning also.
Increasing volume for a stock/crypto, could signify that buyers were willing to purchase a bigger number of shares at a higher price (comparatively to the day before)
Obviously, non-stop crazy buying/shorting won't work at some point - and that "some point" may hurt a bit.
Such volume indicator combined with others like momentum or strength indicators is a nice trading strategy.
The volume announces that a move may happen and the other indicators will confirm the prophecy :)
Peace
Dave
X-volume
Range Force Impulse The "Range Force Impulse" indicator combines 4 useful indicators into one, freeing up chart real-estate and giving the trader insight into trend health, bull/bear commitment, range and volatility all at a glance.
The indicator consists of the following:
Direction - True Range and Average True Range columns shown above and below 0 depending on direction of the period's price
-- TR (gray) shows the current period's trading volatility
-- ATR (Impulse colors, see below) shows an EMA of TR over a specified length
-- Can be used to determine stops and targets (Example: Stop loss at prev close - ATR, Target at 2x ATR)
Index - Alexander Elder's EMA of (change(close) * volume), shows crosses above 0 (green) and below 0 (red), and intermediate signals
-- Shows bull vs. bear interest/commitment/dominance
-- Elder recommends EMA length of 2 for daily chart buy/sell signals, and 13 for weekly chart bull/bear dominance & trend direction signals
-- Intermediate signals are shown above 0 when falling (salmon), or below 0 when rising (pale yellow)
System - Range columns are colored using Alexander Elder's censorship system (green: do not short, red: do not long, blue: is up to you)
-- Shows overall trend health (Macd histogram and EMA up/down changes)
Volume ⨃ αMomentum 🦝🦾First attempt playing around with mixing volume and momentum... I find it to be nonsense, but putting it up for the moment.
Flunki Quad VWAP Plots & ClosesHerewith a further multi-timeframe Volume Weighted Average Price indicator
This has 4 Timesframes (5 including the default pine VWAP)
So, 4 Multi timeframe VWAP line plots, PLUS (and here's the interesting bit) 4 previous CLOSE values of the 4 timeframes.
Play with the options, the above uses a fat VWAP line and horizontal levels.
Enjoy
(DJI)Dow Jones Industrial 30 Volume IndicatorThis is my "(DJI)Dow Jones Industrial 30 Volume Indicator" using PSv4.0 freely available to ALL! The title literally "sums" up what this is. This came about by a response from another member inquiring about volume in DJI on TV. After further consideration, I decided to add all of those volumes up, nicely wrapped, into a multicolored package in order to have this available for those who wish to use it. I provided a wide assortment of vibrant color schemes to choose from, for anyone who may have vision impairments. Surprisingly, this script is very resource intensive on the TV cloud, so it may take a while to initially load. I optimized this script as much as humanly possible while including other beneficial features listed below.
Features List Includes:
Enable/disable dark background for enhanced visibility
Color schemes (all displayed above)
Transparency control
Colorize by candle color - (close - close)
Moving average "type" option with multiple selections
Adjustable moving average period
The comments section below is solely just for commenting and other remarks, ideas, compliments, etc... regarding only this indicator, not others. When available time provides itself, I will consider your inquiries, thoughts, and concepts presented below in the comments section if you do have any questions or comments regarding this indicator. When my indicators achieve more prevalent use by TV members, I may implement more ideas when they present themselves as worthy additions. As always, "Like" it if you simply just like it with a proper thumbs up, and also return to my scripts list occasionally for additional postings. Have a profitable future everyone!
Relative Volume (RVOL) - ATR - R4RocketHello !!
This is a big upgrade on my earlier Indicator called "RVOL - R4Rocket". I could have updated the existing script, but there were two reasons for me to not do so.
1. I changed a lot of the previous code and added a lot of statistics like
a. Intraday Daily ATR Plot
b. Progressive (High - Low) Range as % of Daily ATR
c. % of RVOL Days in available chart data in any timeframe
d. In the new script RVOL Sectional has been removed as I did't find it very useful (Old script still has that feature)
e. And lastly and greatly, I modified the actual RVOL code (Huh ? Well I'll explain what I mean by this below)
2. Earlier I named my script just as RVOL. But then I though, well not everyone is going to search "Relative Volume" Indicator as "RVOL" Indicator, right? And Then during my second update I even tried to see whether I can change the script name but I couldn't figure it out. (Maybe it's not possible or maybe you know, "I DON'T HAVE ENOUGH BRAIN POWER" :P). So in order to make my script more accessible and easy to find for everubody so that it may add a little value to them in their trading, I'm changing the name of the script in this publication to "Relative Volume (RVOL) - ATR - R4Rocket". (Quite a big name, don't you think?)
Now as my reasons are out of the way, let me tell you about the indicator and the available options.
First let me explain what is RVOL basically. (Even after making 4 updates to my last script, I forgot to explain this......BIG BRAIN POWER :P)
It is calculated as (Cumulative sum of volume till time t from the start of the session) divided by the (Average of same period volume over a given number of days).
Lets say market starts at 09:30 am and right now the time is 10:00 am. So what RVOL does is it takes the sum of volume done from 9:30 am to 10:00 am for today and divides it by the same average volume that occurred between 9:30 to 10:00 in lets say X number of last days.
What this does is gives you the means to quantify how much everybody is interested today in the given stock w.r.t last X days. Generally higher the RVOL value - higher the public interest (due to some known or unknown reason like results / news / market condition etc) - and hence higher is the probability of stock movement on intraday basis. (Mostly everybody prefers to trade stocks intraday with RVOL > 2)
Now let's get back to the changes and the features.
1. It calculates Relative Volume
Adjusted in a way that the recent volume spike (e.g say due to quarterly result announcement or some other big news) don't skew the next day's
RVOL calculation. What this will do is, it will give you a good idea whether the stock is still in play the next day or a day after that.
LIGHTS !! CAMERA !! ANNNNNNDD ACTION !! (I love to watch movies, not very relevant here I know, but couldn't help it :P)
Now you can see in the image below the difference between old and new script RVOL calculations. This will help you to find out 2nd Day, 3rd Day plays.
To calculate RVOL first you have to choose your local exchange trading hours
E.g. NSE (India) trades from 09:15 to 15:30
NASDAQ (USA) trades from 09:30 to 16:00
LSE (UK) trades from 08:00 to 16:30 etc
Then you have to choose the RVOL period. This is the lookback period for cumulative volume average calculations.(I suggest using default value of 4 but it depends upon your preference and one more thing to note is that too high of a value will not even load the script due to some constraints that I don't know)
And last parameter is RVOL Trigger = What RVOL value YOU CONSIDER IMPORTANT. (I like 2 and if RVOL > RVOL Trigger then the columns will turn Green otherwise they will be Red. SIMPLE !!)
You can use any timeframe from 1 min to 1 Day. (Even custom timeframes like 2,4,6 will work fine)
1 min Chart
2 min Chart
2. It calculates Daily ATR in % terms of the day's open and plots it on intraday charts (and on daily charts too, if you want)
It's just what I just said - plain & simple.
You can see it in the image below. (Yellow dotted line and value in yellow color)
This will help you if you use profit targets or stop losses based on previous day's ATR values.
All you have to do is tick the Plot Daily ATR % box in inputs and choose the ATR Average.
3. The indicator calculates (High - Low) range as and when it extends throughout the day as the % of Daily ATR
This will help you quickly in finding which stocks are trading with extreme volatility.
Can be seen in the image below where the stocks trade @ almost 3 times or 300 % of the previous days ATR (Blue dotted line and value in blue color)
4. And lastly it gives you the statistic that will tell you how much is the average % of total days are RVOL days. (Did you get that ? It sounded great in my head but really don't know what I just said)
Let me tell you in terms of numbers. Lets say on daily timeframe Tradingview provides some 5000 bars worth of historical data. Out of that there were 16% days where RVOL was more than 2. Roughly speaking if you were to trade this stock every day then you would find on an average about 3 days per month with RVOL > 2.
(If you reduce the RVOL Trigger, then you will get more % RVOL days. In the second image if you reduce RVOL Trigger to 1.5 then you will have almost 27 % good trading days AS PER YOUR DESIRED & DEFINED PARAMETER OF RVOL TRIGGER = 1.5. Which translates to almost 6 days per month. You can play with it as you want and deem fit.)
RVOL Trigger = 2
RVOL Trigger = 1.5
“The goal of a successful trader is to make the best trades. Money is secondary.” – Alexander Elder
With best regards.
R4Rocket
Hashem Accumulation/Distribution (V2)Hashem Accumulation/Distribution. Accumulative Net Delta.
Accumulation/Distribution Line with the Histogram of it. Basically shows the buyers and sellers on a move and trend.
Can analyze it to verify if the volume in a trend is confirming it or not.
Added markers when it cross the 0 Line in a Distribution. (after Accumulation) and Vice Versa.
Can be used for the Histogram Divergences and the A/D Line Slope logic for identifying a trend that is supported by the Volume.
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.
Volume SpikeDetect current bar's volume is at least Ratio times than average volume of previous "Look back" bars.
Volume ValueInstead of the Volume this plots the closure price times volume, hence the Value.
Useful in study of long term phenomenons.
Weis Wave Volume (Pinescript 4)Port of LazyBear's Weis Wave Volume indicator to pinescript v4 from v2.
Better OBVJust On balance volume but without the volume from the wick/shadow. Only considers volume in proportion to the body of the candles w.r.t. total length of the candle.
Lancelot ATR Volume MeterThis is an experiment I did a while back ago.
I often think On Balance Volume is a great indicator as trend direction and volume cannot lie.
However, I bumped into a few problems.
It is slow, doesn't show volatility and often time it is prone to chop.
That's why I added ATR to the equation.
Original OBV calculation
src > 0? : +volume : src < 0? -volume
Modified OBV with ATR
src > 0 ? +volume * (volume / atr) : src < 0? -volume * (volume / atr)
I have used 2 ema for this modified OBV.
ema 3
ema 18
By adding ATR to the equation we can smooth out many erratic price movement. (Stop hunting)
Also, when price move slowly but steady, often prepping for a big move, this indicator will move faster.
In short, this indicator prevents you from being stop hunted and also provide great entry for a trending market.
Works well on BTCUSD XBTUSD, as well as other major liquid Pair.
Feel free to follow me on Twitter @Lancelot_Auger for more free Alpha.
Please acknowledge my effort by like and follow.
And lastly,
Save Hong Kong, the revolution of our times.
Volume Weighted DistanceThis script holds several useful functions from statistics and machine learning (ML) and takes measurement of a volume weighted distance in order to identify local trends. It attempts at applying ML techniques to time series processing, shows how different distance measures behave and gives you an arsenal of tools for your endeavors. Tested with BTCUSD.
REM: oddly enough, many people forget that the scripts in PS are generally just STUDIES, i.e. exercises, experiments, trials, and do not embody a final solution. Please treat them as intended ;))
[CS]DirtyFish_TopBottomReaction v1.0DirtyFish Indicators is useful in high frequency trading to check the book resistance of a Support or of a Resistance; in summary you can hint the rejection of a specific support. From the indicator you can see information such as trend, resistance to trend, Higher Volume at price levels.
Delta Volume Columns [LucF]Displays delta volume columns using intrabar volume information. Each volume column is divided into three sections: buying, selling and neutral volume. Volume for each section is determined from the volume and price movement of each intrabar at a user-selected lower resolution.
Features include:
- Choice of color themes for either dark or light chart backgrounds
- Delta volume columns
- Volume Balance displayed as the difference between the MAs of buying and selling volume
- Display of divergences between a bar’s volume balance and the bar’s price movement (example: buying volume > selling volume but close < open). Divergences can be shown in 2 different color schemes (including green/red showing a tentative direction), on volume columns and/or on chart bars
- Display of bar by bar volume balance with highlighting of above average volume
- Display of the usual total volume MA
- Choice of the lower resolution used to retrieve intrabar information
- Alerts configurable on any combination of the markers, with control over long/short direction
- Choice of 3 different markers:
1. Double bumps: two consecutive bars where buying or selling volume is in the same direction and where volume > volume MA
2. Divergence confirmations: direction of the price bar following a price/volume balance divergence
3. Volume balance shifts: zero level crossings of the volume balance MA delta
The chart shows the two main modes of display:
- Top pane : shows the stacked volume columns with divergences in orange and the flattened volume balance MAs delta at the bottom of the volume columns. This volume balance is the same shown in the bottom pane. The top pane also shows the instant volume balance strip above the volume columns. The strip’s colors show which of the buying or selling volume was greater, and colors are brighter if the total volume was above the total volume MA.
- Bottom pane : shows the volume balance MAs delta with markers 1 and 2. Given that this graphic has no price momentum component, I find quite eerie how it often looks like a momentum-based signal.
The default 5 minute intrabar resolution is used in combination with the weekly chart, which is excessive.
This script uses a special characteristic of the security() function’s behavior when it is sent to a resolution lower than the chart’s resolution. Details are given in the script’s comments. This method has the advantage of working under more circumstances than some of the other loop-based methods, but it also has its limits.
IMPORTANT
This is what you need to know:
- The method used does not work on the realtime bar—only on historical bars. Consequently, the volume column shown on the realtime bar is a normal volume column plotted in green or red, following price movement. The column will only show delta volume information after it closes and becomes a historical bar.
- The indicator only works on some chart resolutions: 5, 10, 15 and 30 minutes, 1, 2, 4, 6, and 12 hours, 1 day, 1 week and 1 month. The script’s code can be modified to run on other resolutions, but chart resolutions must be divisible by the lower resolution used for intrabars.
- Intrabar resolutions can be selected from 1, 5, 15, 30, 45 minutes, 1, 2, 3, 4 hours, 1 day, 1 week and 1 month. The intrabar resolution must of course be smaller than the chart’s resolution.
- Contrary to my other indicators where alerts must be configured to trigger “Once Per Bar Close” in order to avoid false triggers (or repainting), all this indicator’s alerts are designed to trigger using previous bar information since the indicator’s calculations in the realtime bar are not exact. Markers are not plotted with a negative offset; they appear at the beginning of the realtime bar following confirmation of the marker’s condition on the previous bar. Alerts for this indicator should thus be configured to trigger “Once Per Bar” so they trigger at the beginning of the realtime bar. Note that the penalty is not that great, as it is simply the instant between the close of the previous realtime bar and the opening of the next. The advantage of using this technique is that the indicator does not repaint; a marker that appears at the beginning of the realtime bar will never disappear.
- The script only plots information that is reliable in the realtime bar, i.e., total volume and markers. All other plots are set to n/a to prevent misleading traders.
- When the difference between the chart’s resolution and the lower resolution is too important, volume columns will not calculate for all bars in the dataset.
On Delta Volume
Buying or selling volume are misnomers, as every unit of volume transacted is both bought and sold by 2 different traders. There is no such thing as “buy only” or “sell only” volume, but trader lingo is riddled with original fabulations.
Without access to order book information, traders work with the assumption that when price moves up during a bar, there was more buying pressure than selling pressure. The built-in volume indicator available on TradingView uses this logic to color the volume columns green or red. While this script’s numbers are more precise because it analyses a number of intrabars to calculate its information, it uses the exact same imperfect logic to calculate its buying/selling/neutral sections.
Until Pine scripts can have access to how much volume was transacted at the bid/ask prices, our so-called buying/selling volume information will always be a mere proxy.
Divergences
You may wonder how there can be divergences between buying/selling volume information and price movement. This will sometimes be due to the methodology’s shortcomings we have just discussed, but divergences may also occur in instances where because of order book structure, it takes less volume to increase the price of an asset than it takes to decrease it.
As usual, divergences are points of interest because they reveal imbalances, which may or may not become turning points. I do not share the overwhelming enthusiasm traders have for divergences. To your pattern-hungry brain, the orange bars this indicator shows on chart will—as divergences on other indicators do–appear to often indicate turnarounds. My opinion is that reality is generally quite sobering, as many who have tried building automated rules based on divergences will tell you. I do not have hard numbers on the lack of performance of divergences—only many failed attempts to make them perform, which a few experienced strategy modelers I know share with me. Please don’t try to read too much into them. While they look great on past data, I find they are often difficult to use in realtime to make bets with good odds.
Thanks to:
- A guy called Kuan who commented on a Backtest Rookies presentation of an intrabar delta volume indicator using a for loop. The heart of “my” indicator is code borrowed from Kuan; I just built a hopefully useful wrapper around it.
- @theheirophant, my partner in the exploration of the sometimes weird abysses of security() ’s behavior at lower resolutions.
Volume multiple indicatorThis indicator shows when the volume is extraordinary increased or decreased.
You can change *multiple*, default is 2.
When today's volume is multiple times greater than yesterday's volume, background is green (regardless of close price. It is related to just volume)
Black means today's volume is multiple times smaller than yesterday's volume.
간단하게 거래량 급증과 급락을 알려주는 지표입니다.
multiple을 조절할 수 있고, 기본값은 2배 입니다.
오늘거래량이 어제거래량보다 2배 많으면 배경색이 초록색이 됩니다.
배경색이 검정색이 된다면, 오늘 거래량이 어제 거래량보다 2배 적다는 뜻입니다.
Volume Flow v3DepthHouse Volume Flow indicator is used to help determine trend direction strictly based on Negative and Positive volume data.
How to Read:
- Moving Average crossovers are used to help determine a possible trend change or retracement.
- The area cloud on the bottom is calculated by the difference of the moving averages. This could be used to help determine the trending volume strength.
- Bright colored volume bars are large volume spikes calculated by the x factor in the options.
Other changes:
- DepthHouse is going open source with numerous of its indicators. This is only one of many!
- Volume is now displayed without being altered for calculations.
Volume moving indicatorHi guys,
This is a multiple Volume MA script. Editing is free for use.
You can use several ma lines by adding one indicator only, and I put 10,20,30,60,100,200 as a threshold which I frequently use.
It is made as an open source at any time possible, so that you are free for playing with it. Even you can add more if you are keen to do so.
Cheers,
JB
Volume moving indicatorJB가 만든 거래량 이평선 모음입니다.
하나의 지표 추가 만으로 여러개의 거래량 이평선들을 사용하실 수 있고, 제가 자주 사용하는 10,20,30,60,100,200선 넣어 놨습니다.
에디트 언제든 가능하시게 오픈소스로 구성되어있으니 매매에 도움되시길 바랍니다.