OBV-MACDThe OBV-MACD indicator is a momentum-based technical analysis tool that helps traders identify trend reversals and trend strength. This Pine script is an implementation of the OBV-MACD indicator that uses the On-Balance Volume (OBV) and Moving Average Convergence Divergence (MACD) indicators to provide a momentum data of OBV.
The OBV-MACD indicator uses the OBV to calculate the cumulative volume, which is then smoothed using two moving averages - fast and slow. The difference between these moving averages is plotted as a histogram, with a signal line plotted over it. A buy signal is generated when the histogram crosses above the signal line, indicating a bullish trend, while a sell signal is generated when the histogram crosses below the signal line, indicating a bearish trend.
This Pine script also includes an OBV-MACD-Donchian version that incorporates Donchian channels for the OBV-MACD. The Donchian channel is a technical analysis indicator that helps traders identify the highs and lows of an asset's price over a certain period. The OBV-MACD-Donchian version uses the OBV-MACD indicator along with the Donchian channels to provide signals that the momentum of OBV is making new high/low during that period of time.
Traders can customize the input parameters of the OBV-MACD indicator, such as the timeframe, method of calculation for the moving averages, and the lengths of the moving averages and breakout lengths. The colors of the plot can also be customized to suit the trader's preferences.
VOLUMEBREAKOUT
High/Low VolumeIn this indicator, I show you a better way to define high/low values of volume (or any other indicator).
Quite often, I get requests from my clients that an indicator level should be “high” or that it should be above a certain absolute level.
The first request is hard to interpret mathematically, but traders can easily spot it on the chart. The second one is not flexible, and it might not make sense in another market regime.
To solve that, you can compute dynamic high/low levels that represent unexpected extreme values that are adaptable to recent conditions.
There are two pretty simple methods I’m using quite often in my scripts percentiles and sigma (standard deviations).
Percentile looks back at X bars and computes the value under which a certain % of data points are located. So, for example, if we’re computing 90%tile and we’re looking at 100 bars, we’ll get a value under which we have values of precisely 90 bars for this indicator. It’s a good idea to use something like 5%tile for low level and 95%tile for high level.
Sigma(σ) is related to standard deviation. If we assume that our data is normally distributed, then 68% of data points should be in the range of mean +-1σ, 95% → mean +-2σ. So we can assume that something above 2σ is a pretty rare and extreme event.
In this script, I give you an example of how to compute both on volume, but you can easily change this to another indicator.
The issue with volume is that it’s not normally distributed, and your low level will be quite often too low to detect any low levels. Ideally, we have to use a more sophisticated formula that fits volume distribution better.
In this indicator, you can set the following parameters:
Choose type: Percentile or Sigma
Lookback Period
High/Low Percentiles
Sigmas #
You can also receive alerts for high/low volume events.
Disclaimer
Please remember that past performance may not indicate future results.
Due to various factors, including changing market conditions, the strategy may no longer perform as well as in historical backtesting.
This post and the script don’t provide any financial advice.
Volume Price and FundamentalsVolume Price and Fundamentals indicators contains 4 exponential moving averages based upon Fibonnaci numbers as period (8, 21, 55 & 144) with crossovers and crossunders.
It also contain a table for volume and 50 Day Avg. Volume, Relative volume, Change in Volume, Volume Value, Up-Down Closing Basis days in last 50 days, Volume ratio (U/D Ratio) on last 50-day Up / Down days and along with fundamental analysis table with various Fundamental Analysis parameters and QoQ & YoY comparison basis for better investment decision making.
On Balance Volume DeviationThe objective of this indicator is to be a leading indicator that can detect a large price change before it happens. It is based on the On Balance Volume (OBV) indicator, which is a leading indicator based on the premise that a large change in volume often precedes a large price change. This indicator charts the N-Period deviation of the OBV data and displays it as a histogram. This is overlayed on an area chart of the M-Period SMA of the histogram data. This combination helps to visually enhance the pattern that signifies that a jump in price is about to happen.
Useage:
When the histogram bars are above the area plot, then a jump in price is about to happen
As with all leading indicators, there are a lot of false signals. Confirm with price action or another indicator
The further the histogram bars are above the area plot, the larger the predicted jump in price
It seems to work better on shorter intraday timeframes than on the longer timeframes
At the close of a market session, it is a good indicator of how much the price will jump on the opening of the next market session.
Volume Analysis*Sourced code from Volume Flow v3 by oh92 for Bull\Bear volume flow calculations. Thank you so much for your engineering skills!
This indicator integrates the Ma-over-MA crossover strategy in oh92's V3 DepthHouse calculation with a volume-over-MA
calculation to further narrow down "Areas of Interest" levels for a potential re-test zone to the right of the chart.
I added a Moving Average calculation for a multi-level cloud and further broke down more conditions to highlight both
volume flow crossover on the High and Extreme High MA's and also high and extreme high volume spikes on set period average
without bull\bear conditions. Original Bull/Bear Spikes are still viewable although that was the only plot from oh92's script
that was integrated.
Session backgrounds set for research purposes.
Please note: Setting MA Cloud to "None" will remove all plots calculated with the MA Cloud from the chart entirely. Turn off visuals
in the Style tab.
Banknifty Volume - IN
This simple indicator computes the average Relative Strength Index of each Banknifty stock and displays the volume on the chart with color schemes while the average line indicates the average RSI of all Bank Stocks. This indicator works on Banknifty and its stocks.
It works on all time frames
How You can use this?
You can use this indicator for Volume analysis if the average RSI line is above the 0 line, the stock is moving upside and vice versa for Downside .
PulseVolume can help confirm signals we might discover using other methods of technical analysis .
This indicator's logic spots above-average turnover and then tests against the price change. Pulse highlights sessions with heavy volume and directional moves. This can help take out the noise and help confirm the trend.
Nifty & BN 2 Candle Theory Back Testing and Alert Notification How To Initiate Long Trade-in Index Future/ Buy Call Options – 3 Min TF
▪ If The Index Futures Trades Above The VWAP, the Following Parameters are Checked For 2 Candle Theory on the long side
▪ RSI Trades Above 50 & Between 50-75/80
▪ Volume Of 2 Consecutive Bars Is Above 50 K for BN & 125 K For Nifty
▪ All the indicators (Parabolic SAR, Super Trend, VMA, VWAP) Below the Candles
▪ When the above conditions are met enter In 3rd Candle, With 1st Candle High As SL
How I Initiate Short Trade-In Index Future/ Buy Put Options – 3 Min TF
▪ If The Index Futures Trades Below The VWAP, the Following Parameters are Checked For 2 Candle Theory on the short side
▪ RSI Trades Below 40 & Between 40-25/20
▪ Volume Of 2 Consecutive Bars Is Above 50 K for BN & 125 K For Nifty
▪ All the Indicators (Parabolic SAR, Super Trend, VMA, VWAP) Above The Candles
▪ When the above conditions are met enter In 3rd Candle, With 1st Candle High As SL
The indicator checks the above and notifies to enter a long trade and short trade respectively. There is also volume cutoff and change in the volumes respectively, also non-trading times that can be set.
Volume Impulse & Candlestick Patterns - FontiramisuIndicator showing volume impulse & engulfing candlestick pattern.
You can set up multiple parameter for both events.
Volume Impulse :
Volume Period : Lenght of the average volume calculated.
Volume Multiplier : Factor to compare actual volume with average volume.
Engulfing Pattern :
VS avg body : Let you chose to compare body candle to average body of the last few candles (define with parameter : lenghtSizeAvgBody ), otherwise it will be compared to the last body candle.
Engulfing Multiplier : Factor to compare and validate the pattern.
Volume Breakout (ValueRay)Easy visuals on, if volume is way over average. Good for Mean Reverting. Higher Volume tends to higher breakout chances.
Please whisper me for for ideas how to make this better. Its a very simple script, but got some alpha. If you know how to improve, let me know and i will code it into.
Volume PlusVolume plus provides volume insights to identify increase or decrease in relative volume or sudden volume expansion that exceeds the average. Based on the period selected the script displays the color code.
Features
1. Two different sensitivity levels can be selected for volumes and coloring.
2. Whenever the volume is higher than the selected SMA, volume bars will change color.
3. Can Plot 20 SMA (can be changed)
SVA - Simple Volume Analyzer, by BlueJayBird [bjb] ENGLISH & SPANISH
------------------------------------- ENSLIGH
The idea was initially inspired in the concepts shared by @LazyBear on his indicator "Better Volume Indicator" (). But I found it somewhat complicated and dull. So I came up with this.
Concept:
It changes the color of volume bars based on surrounding volume changes.
Volume changes are plotted as volume MAs lines in the volume pane.
Whenever the volume is higher than these MAs, the bar changes color.
For this reason, the bar color change is RELATIVE TO the surroundings, because the color change depends on how far the MA has been extended due to sudden (or not) changes in the volume.
BAR COLORS:
Weak Green and Red: Low volume. The calm before or after the storm.
Normal Green and Red: Mid volume. Still low volume, you may get bored.
Yellow: High volume. Players are playing hard and harder.
White: Ultra-High Volume. The elephants stepped in.
NOTES:
SVA works better at lower timeframes. Though as far as I can tell, it works pretty well as far as 1D timeframe.
------------------------------------- SPANISH
La idea estuvo inicialmente inspirada en los conceptos expuestos por @LazyBear en su indicador "Better Volume Indicator" (). Pero lo encontré un poco complicado y falto de claridad. Así que me inventé este.
Conceptp:
Cambia el color de las barras basándose en los últimos cambios de volumen.
Los cambios de volumen son ploteados como lineas de medias móviles (MAs, es decir "Moving Averages") en la sección del volumen (chart pane).
En cualquier momento que el volumen es mayor que estos MAs, el color de las barras cambia.
Por esta razon, el cambio de color de las barras es RELATIVO a lo que está sucediendo alrededor, ya que el cambio de color depende de qué tan lejos el MA se haya extendido por causa de los últimos cambios (o no) de volumen.
BAR COLORS:
Verde y rojo apagados: Volumen bajo (Low Volume). La calma antes de la tormenta.
Verde y rojo normales: Volumen medio (Mid volume). Volumen todavía bajo. Es posible que te aburras.
Amarillo: Volumen alto (High Volume). Los jugadores están jugando duro.
Blanco: Volumen ultra-alto (Ultra-High Volume). Los elefantes entran a la cancha.
NOTAS:
SVA funciona mejor en temporalidades menores. Pero por lo que he visto, funciona bien hasta la temporalidad de 1D.
Relative Volume & RSI PopThis is a basic idea/script designed to take a breakout trade by taking advantage of volume spikes when price/strength is extended (either long or short).
The script only utilises two indicators, the Relative Volume (RV) and the Relative Strength Index (RSI). The script allows the user to select a RSI value between 69 up to 100 for a long trade and between 35 down to 0 for short trade and then pair this with RV from 0 - 10. The period for both the RSI and RV can also be amended by the user but I found in most cases there was no benefit gained by changing away from normal "14" period lookback. The script typically only has small draw downs as the script is designed to exit the trade when the RSI returns back to "normalised" level, therefore the trades are generally quite short. The exit condition for a long trade is when RSI crosses back below 69 (which is why you cannot enter a long below this value) and for a short the, trade will close when RSI crosses back above 35 (which is why you cannot enter a short above this value). These exit values are locked.
By allowing RSI value to go all the way up to "100" on the long side and "0" on the short side this in effect is a way of eliminating the script from taking either longs or shorts if lets say you wanted to back test the script for long only spikes or short only spike. E.G. By setting RSI upper value to "75" the RV to "1" and RSI lower value to "0" then no short trades will not be taken in your back test as the RSI never really gets down to zero.
I put this together with meme stocks in mind and back tested it on day charts for AMC and then a few trending style stocks too. It typically worked best as long only and with RSI settings between 71 - 75 and RV at 1 or 1.5. I also found it had okay results on some lower 1hr timeframe futures markets and weekly time frames too (albeit trades were few and far between on weekly timeframe).
The beauty of such a basic script you could easily set up a trading view screener to look for these opportunities everyday and perhaps even add in an ADX filter on the screener to see if the trend is increasing. Then use this script to run a back test on the stocks that you've selected from the screener.
Volume Play This is going to be my first published indicator on Trading View. Thanks for TradingView for providing us this great platform And thanks for all of those who helps me to built this indicator and share there ideas.I cannot mention everyone name here believe me that list going to be huge.Everyone’s idea and help is much appreciated.This is how our TradingView community is growing day by day with kindness and knowledge. Every time I take so much from community in form knowledge that every time somewhere I feel that I also need to do something for community and finally day arrived .A gift from my side to community.A gift of indicator-VOLUME PLAY
This volume based indicator has High Relative Volume bar Background, Low Relative Volume bar background ,Volume Labels of Buying volume, Selling volume and Total volume count with percentage, Highest Volume in Percentage and Highest 5x volume count and 10x volume count of bar.Plus I have did column scaling to take Down pan input so you can switch pane or add in existing pane without any major problem And all this works on any time frame. Isn’t it good idea?
This indicator displays the volume of each session in a similar manner of the default volume indicator.However it add on the last bar Green and Red bar colours. Green means buying is more than selling and Red means selling is more than buying.On top of Some bar If number appears That means that’s volume is highest multiple volume of 5 and if number appears with label means highest multiple volume of 10.So simple without label volume counts means 5x and with label means 10x.
Now some of bars has background colour of Mint green , Pastel red and White.That’s highlight high relative volume bars with a highly buying activity range in Green and high relative volume bars with a highly selling activity range in Red And white background is low relative volume for that timeframe bar.
I am kind of person who don’t keep show indicator value enable all time.So it’s come in mind why not plot this values without enabling it.So I decided to show this values of buying, selling and total volumes on top near middle pane.Interesting thing is that I made a label with the help of pine script Table feature.Thanks a lot to Pine Team to add this new great feature! It’s great alternative for labels feature.Because of this feature I am able to locate buying, selling and total volume at right place where in most of scenario it will adjust.
Please note that all values are estimate.It’s not accurate.I show volumes in K,M form.Plus with volume I also try to show Buying And Selling volume in percentage form to get rough idea about what’s going on in instrument.Idea is to get better view of volume by splitting it into Buying , Selling and Total volume.This allows you to see are the bulls or bears in-control in relation to the overall Volume.
By default this indicator overlay is false but you can move this indicator pane to existing upper or lower pane.It will help to save space as well.If combine with two indicator at same pane then it will create two value scale at right side.So you will not loose any indicators values.By default I used 50% of vertical space in indicator scale factor.
I tried to make this indicator as accurate as inbuilt volume indicator with added extra feature.The main aim of indicator to get Idea of volume role in that symbol with that specific timeframe.Result might not be accurate but I expect somewhat nearby to accurate.
Kept source code open purposely for learners of pine script. Please avoid misuse or selling of this indicator.Remember Sharing Is Caring. If someone has suggestions or any addition then please comment below.Wishing you all abundance of health, wealth, and prosperity.
After all its all about VOLUME PLAY.
Disclaimer:-This indicator is not meant for buy or sell signals.This post and the script don’t provide any financial advice. This indicator/code IS NOT intended to be a formal investment advice or recommendation by the author, nor should be construed as such. Users will be fully responsible by their use regarding their own trading vehicles/assets.
Best Bulls Bears Volume trend Breakout V2 [badshah_e_alam]This is a intraday indicator. Only to be used on timeframe less than daily charts.
This indicator purely uses volume to plot the graph. The indicator helps in conforming a breakout strategy.
This indicator is advanced version of my previously developed indicator you can check this link
Total volume is made up of buying volume and selling volume . Buying volume is the number of shares, contracts, or lots that were associated with green bars, and selling volume is the number that were associated with red bars.
The labels on the right side are the current bar value and that days bulls /bears weightage.
the first value shows the current bar volume.
second value show the bulls weight in %
third value show the bears weightage throughout the day ( %)
The Blue plot in graph keeps the track of bulls movement in intraday( %)
The Red plot in graph keeps the track of bears movement in intraday ( %)
X axis is time.
Y axis ranges from 100 to -100
I use 1:2 risk to reward ratio. Do your own research.
**not a financial advice**
Example of price increasing, volume decreasing
this indicator can be used for confirming a breakout strategy with bulls or bears in action. In the current example, the buyer’s volume percentage is reducing and the price is increasing throughout the day. Hence a breakout of the trendline is confirmation of a short trade.
Example of Price reducing, volume decreasing
example of price moving down , bears losing the grip
Example of price decreasing volume increasing
Thanks to nizar9599 for giving idea to improve my previous indicator.
DISCLAIMER
Any and all liability for risks resulting from investment transactions or other asset dispositions carried out by the user based on information received or a market analysis is expressly excluded by me.
All the information made available here is generally provided to serve as an example only, without obligation and without specific recommendations for action. It does not constitute and cannot replace investment advice. We therefore recommend that you contact your personal financial advisor before carrying out specific transactions and investments.
Do your own research, This is not a financial advice.
Muqwishi Volumetric CandleIntroduction
Have you ever heard that each candle represents a battle between bulls (buyer) and bears (seller)? If you know the answer, apparently you understand what the price action means. What if I ask you, how much was bloody in each battle between bulls and bears?!. This indicator may give a clear picture of how to identify the candle’s strength by implementing the Standard Deviation on volume and reshape the candle.
The Muqwishi Volumetric Candles indicator works to weigh each candle instantaneously and updates its color level from lightness to darkness based on the rate of the volumetric standard deviation.
Here’s how the idea started with the conceptual design, then improved till achieved to the implemented design of a structured candle.
The conceptual design mentioned for reviewing how the idea started. However, I want you to understand the “implemented design” in which the indicator has been built to address it. As I stated structurally for the implemented design section, wick and border are identified by the user through “Chart Properties” unlike core and body is measured by the indicator.
The candle’s body is ”Dynamic” that colored based on the amount of volume standard deviation in which the low volume standard deviation is a lighter candle’s color and the high volume standard deviation is a darker candle’s color. The core is “Static” color represents zero volume standard deviation which the volume at the average level. In the case where the core is darker than the body means the volume standard deviation is lower than the average volume level, and when the core is lighter than the body mean the volume standard deviation is higher than the average volume level, and when the core’s color has the same body’s color means the volume is in the average level. The image is the best guide to understand the idea.
Rarely seeing a volume standard deviation below -2σ, even though the volume is apparently dead. However, it’s possible to see more than 3.9σ, and mostly it has the same effect as 3.9σ. Personally, any candle above 1.5σ is taking my attention, and more than 2σ I look around seeking for reasons to not take a trade.
§§ Note, if you have misunderstood the standard deviation concept, there are many great sources to understand it such as Wikipedia, YouTube,... etc. In a basic example, How much is your height relative to the height of average people in your city!!?. Similarly, how much is the amount of volume relative to the average volume of a number series of previous bars?!.
Indicator Overview
Before I get into this section, this is NOT meant to be an educational or recommendation. Just showing you how I use this indicator based on an experience.
The chart above has been remarked as an example of how I apply it. Again, it’s a personal preference, and it doesn’t mean this’s an efficient way.
Indicator Setting
➤ Ensure to visualize the indicator to the front for recognition of the candle’s core.
For more information check the image: drive.google.com
➤ Indicator’s title.
Generates two outputs. The first one is the coordinate location for the char “Core”, don’t pay attention to it. The second one colored in blue is referring to the measurement of the volume standard deviation as your cursor point move at any candle on the chart. For more information check the image: drive.google.com
➤ Indicator’s inputs.
■ Length: Number of previous bars covered in the calculation. Prefer between 14-20.
■ Long Candle Color: Choose a color for bullish candles.
■ Short Candle Color: Choose a color for bearish candles.
■ Color Mode: Kinda color style.
● Lightness: From lightness to darkness colored as low volume SD to high volume SD.
● Saturation: From narrow range to wide range colored as low volume SD to high volume SD.
■ Reverse Mode: Yes → Darkness to Lightness colored as low SD to high SD.
■ Show Core: No → Hide cores.
Summarize
■ Users should have a fundamental knowledge of Standard Deviation.
■ The candle’s body is dynamic colored. Got light as low volume standard deviation, and Dark as high volume standard deviation occurred.
■ The Candle’s core is static colored. Represents the average volume which Standard Deviation equals zero.
■ This’s not a trading signal. It works to visualize the level of transactions made per candle.
Final Comments
■ My goal was to achieve the conceptual design, but there’re many obstacles that go beyond the coding ability.
■ Let me know if you have any questions, comments, and any improvements to the project.
■ I hope every time you found this indicator useful and scaled up your trading skills, please present support through PayPal that linked in the signature box below. That will help to get me excited and post many ideas.
■ Trade Safe. ✌
Breakout Labels and Alert For Price And VolumeThe indicator is developped for bitcoin and other cryptocurrencies, whose price and volume changes heavily within minutes. For the other Asset Classes, you may need to adjust the parameters.
Benefits:
1. Since a breakout of price or volume often means the start of a trend, this indicator alerts and displays a label when there is a breakout in price or volume.
2. The indicator prints labels on the chart, which helps people to study the relationship between a breakout and the trend.
3. The volume change is compared to a SMA of volume, instead of the last bar, which can reflect the change compared to a certain period.
4. You can set an alert for breakouts of both price and volume, instead of do it two times.
Settings:
SMA Length for volume: is the length to calculator volume SMA, default:108.
Toggle on/off to display or hide labels for price or volume breakout.
Customize the alert threshhold for price or volume breakout in different time period:3m,5m,15m,30m,60m and other
Use percentageGapForSlopeshape to adjust the relative position of labels.
Style - color settings: Orange for Volume Down, Blue for Volume Up, Red for Price Down, Green for Price Up.