MACD LB MFIThis script includes MACD histogram plus MFI in four states
All backgrounds are compared to previous bar in +/- 10%
1. Green (green) + Volume + Range (++)
2. Fading (yellow) - Volume - Range (--)
3. False (gray) - Volume + Range (-+)
4. Crouching (red) + Volume - Range (+-)
X-volume
Volume Delta DivergenceThis script will show the bid and ask volume of each candle. TVC:USOIL
The green bar is Ask Volume and Red Bar is Bid Volume.
Trader Set - Volume TrendThis is a little GIFT from me to the community.
It uses one of the volume candle subtype formulas to define if there is a trend in the market or not.
Keep in mind that this script uses security on 60 minute (hourly) time frame, so, fundamentally it can have little repaint but as long as you don't update your charts, there shouldn't be any problem and even with chart update and refreshing, the chance for a repaint is really small.
Also, because this uses 60 minute time frame to determine if there is a trend or not, you can't use it on time frames higher than hourly charts, even on hourly chart it's not acceptable for most conditions. but on minute charts, it should be a nice helper to show "possible" direction of the market.
Remember, as many indicators, this just INDICATES a suggestion and it's not written on hard stone.
BTC Average Volume (Multi Exchange)Multi-Exchange BTC Volume: Bitfinex, Bitmex, Bitstamp, Binance, and Coinbase are included for now.
Initial Balance - (IB)Hello Traders,
--->> Initial Balance (IB) which plays a very important role in Day Trading, that can be used as a referance area <<---
This indicator plots the 1 Hr IB high and low area that can be used as a tool for trading decision.
Will be very helpful to the traders who has idea about Volume Profile trading.
Just a note :
If the IB is narrow compared to the prev day then one can expect a breakout, if IB is extended then the day might be oscillating inside the area only.
nothing fancy :)))
cheers,
enjoy
Sanjay Ramanathan
Vol(3MA)I just wanted to compare BTC volume from more than one exchange on the same chart.
So I spent 3hrs TOSSING OFF WITH GUIs then did it in Pine.
I don't like GUIs, especially when it takes me 3hrs to TOSS ONE OFF.
After this "new" indicator has saved, I will be able (I hope) to add symbols (e.g. Coinbase:BTCUSD) to my Bitfinex:BTCUSD chart. I will right-click the new symbol and add an indicator to it.. and my poncy, little Volume indicator will show up so I can overlay it on the new symbol. Right now it doesn't come up in the indicator options, even tho I have written and saved it.
I will repeat this with a bunch of exchanges on this one chart..
then put them on the same scale...
then hide all the price charts...
and FINALLY be able to compare volume of exchanges properly in kinda real time.
hmm
Or I might just go TOSS IT
Cracking Cryptocurrency - Time TransformationTime Transformation is the creation of the Cracking Cryptocurrency Premium Trading Group . It's purpose is to provide volume , momentum, trend, and divergence at a glance. This limits the restrictions of a trader dramatically, by providing them with a powerful tool applicable on any asset, any time frame.
Momentum:
Time Transformation accurately interprets precise entry and exit positions in a ranging market via overbought and oversold conditions. When an asset is trending, these levels also indicate short-term exhaustion, and ideal profit taking levels.
These levels are completely customization, by adjusting the Cycle Length, and the boundaries of overbought and oversold itself. Also, with an advanced algorithm that calculates advanced price action, you can adjust this measurement for optimum results. One can even look at the momentum on a different time frame.
Trend:
Utilizing the power of Heikin Ashi to identify the dominant trend, this allows a trader to filter out the noise of Japanese candlesticks while still looking at their more accurate OHLC price information. Bars are colored pursuant to the dominant Heikin Ashi trend. One can also look at the Heikin Ashi trend of a higher or lower time frame to adjust the noise filtration.
Volume:
All traders know that we need volume for profitable movements. This indicator succinctly points out periods of unnatural volume , alerting a trader that a potential reversal or breakout may be occurring.
Divergence:
This Indicator understands fractal patterns of price action and oscillator movement. This allows for both Regular and Hidden divergence to be detected and displayed on the screen in real-time. One of the most powerful features of this indicator.
This Indicator boasts Multi-Time Frame features for both it's Momentum Oscillator and Trend Pattern Function, as well as fully adjustable settings for every function. Alerts are coded for every possible occurrence a trader could want.
Begin your journey towards market domination today. Allow this Indicator to Transform your Trading as it Transforms Time.
For access to this and all other Cracking Cryptocurrency Proprietary Indicators and Strategies, visit Cracking Cryptocurrency Premium Trading Group
Update Log:
-Adjusted default aesthetics to make Signal and Trigger Line more visible on a variety of backgrounds.
-Adjusted default aesthetics of zero line, overbought, oversold.
-Updated entire script to Pine Script Version 3.
-Updated Heikin Ashi Bar Recoloring Script - Will not re-paint, monitors the open and closing price and switches colors faster.
-Updated Input Setings for Multi-Time Frame feature. Much easier and more intuitive to select Time Frames from the drop-down menu.
-Simplified Input Settings, making them more intuitive.
-Updated Alert Messages to ease language barrier difficulties.
By Request: Added Alert Function for regular crosses.
Upcross = Fisher Crossing Over Signal Line.
Downcross = Fisher Crossing Under Signal Line.
Note that these are not buy/sell signals as per the Time Transformation strategy, as those crosses must occur in either overbought or oversold territory. :)
Volume Profile Free Pro (25 Levels Value Area VWAP) by RRBVolume Profile Free Pro by RagingRocketBull 2019
Version 1.0
All available Volume Profile Free Pro versions are listed below (They are very similar and I don't want to publish them as separate indicators):
ver 1.0: style columns implementation
ver 2.0: style histogram implementation
ver 3.0: style line implementation
This indicator calculates Volume Profile for a given range and shows it as a histogram consisting of 25 horizontal bars.
It can also show Point of Control (POC), Developing POC, Value Area/VWAP StdDev High/Low as dynamically moving levels.
Free accounts can't access Standard TradingView Volume Profile, hence this indicator.
There are 3 basic methods to calculate the Value Area for a session.
- original method developed by Steidlmayr (calculated around POC)
- classical method using StdDev (calculated around the mean VWAP)
- another method based on the mean absolute deviation (calculated around the median)
POC is a high volume node and can be used as support/resistance. But when far from the day's average price it may not be as good a trend filter as the other methods.
The 80% Rule: When the market opens above/below the Value Area and then returns/stays back inside for 2 consecutive 30min periods it has 80% chance of filling VA (like a gap).
There are several versions: Free, Free Pro, Free MAX. This is the Free Pro version. The Differences are listed below:
- Free: 30 levels, Buy/Sell/Total Volume Profile views, POC
- Free Pro: 25 levels, +Developing POC, Value Area/VWAP High/Low Levels, Above/Below Area Dimming
- Free MAX: 50 levels, packed to the limit
Features:
- Volume Profile with up to 25 levels (3 implementations)
- POC, Developing POC Levels
- Buy/Sell/Total/Side by Side View modes
- Side Cover
- Value Area, VAH/VAL dynamic levels
- VWAP High/Low dynamic levels with Source, Length, StdDev as params
- Show/Hide all levels
- Dim Non Value Area Zones
- Custom Range with Highlighting
- 3 Anchor points for Volume Profile
- Flip Levels Horizontally
- Adjustable width, offset and spacing of levels
- Custom Color for POC/VA/VWAP levels and Transparency for buy/sell levels
Usage:
- specify max_level/min_level for a range (required in ver 1.0/2.0, auto/optional in ver 3.0 = set to highest/lowest)
- select range (start_bar, range length), confirm with range highlighting
- select mode Value Area or VWAP to show corresponding levels.
- flip/select anchor point to position the buy/sell levels, adjust width and spacing as needed
- select Buy/Sell/Total/Side by Side view mode
- use POC/Developing POC/VA/VWAP High/Low as S/R levels. Usually daily values from 1-3 days back are used as levels for the current day.
- Green - buy volume of a specific price level in a range, Red - sell volume. Green + Red = Total volume of a price level in a range
There's no native support for vertical histograms in Pinescript (with price axis as base)
Basically, there are 4 ways to plot a series of horizontal bars stacked on top of each other:
1. plotshape style labeldown (ver 0 prototype discarded)
- you can have a set of fixed width/height text labels consisting of a series of underscores and moving dynamically as levels. Level offset controls visible length.
- you can move levels and scale the base width of the volume profile histogram dynamically
- you can calculate the highest/lowest range values automatically. max_level/min_level inputs are optional
- you can't fill the gaps between levels/adjust/extend width, height - this results in a half baked volume profile and looks ugly
- fixed text level height doesn't adjust and looks bad on a log scale
- fixed font width also doesn't scale and can't be properly aligned with bars when zooming
2. plot style columns + hist_base (ver 1.0)
- you can plot long horizontal bars using a series of small adjacent vertical columns with level offsets controlling visible length.
- you can't hide/move levels of the volume profile histogram dynamically on each bar, they must be plotted at all times regardless - you can't delete the history of a plot.
- you can't scale the base width of the volume profile histogram dynamically, can't set show_last from input, must use a preset fixed width for each level
- hist_base can only be a static const expression, can't be assigned highest/lowest range values automatically - you have to specify max_level/min_level manually from input
- you can't control spacing between columns - there's an equalizer bar effect when you zoom in, and solid bars when you zoom out
- using hist_base for levels results in ugly load/redraw times - give it 3-5 sec to finalize its shape after each UI param change
- level top can be properly aligned with another level's bottom producing a clean good looking histogram
- columns are properly aligned with bars automatically
3. plot style histogram + hist_base (ver 2.0)
- you can plot long horizontal bars using a series of small vertical bars (horizontal histogram) instead of columns.
- you can control the width of each histogram bar comprising a level (spacing/horiz density). Large enough width will cause bar overlapping and give level a "solid" look regardless of zoom
- you can only set width <= 4 in UI Style - custom textbox input is provided for larger values. You can set width and plot transparency from input
- this method still uses hist_base and inherits other limitations of ver 2.0
4. plot style lines (ver 3.0)
- you can also plot long horizontal bars using lines with level offsets controlling visible length.
- lines don't need hist_base - fast and smooth redraw times
- you can calculate the highest/lowest range values automatically. max_level/min_level inputs are optional
- level top can't be properly aligned with another level's bottom and have a proper spacing because line width uses its own units and doesn't scale
- fixed line width of a level (vertical thickness) doesn't scale and looks bad on log (level overlapping)
- you can only set width <= 4 in UI Style, a custom textbox input is provided for larger values. You can set width and plot transparency from input
Notes:
- hist_base for levels results in ugly load/redraw times - give it 3-5 sec to finalize its shape after each UI param change
- indicator is slow on TFs with long history 10000+ bars
- Volume Profile/Value Area are calculated for a given range and updated on each bar. Each level has a fixed width. Offsets control visible level parts. Side Cover hides the invisible parts.
- Custom Color for POC/VA/VWAP levels - UI Style color/transparency can only change shape's color and doesn't affect textcolor, hence this additional option
- Custom Widh for levels - UI Style supports only width <= 4, hence this additional option
- POC is visible in both modes. In VWAP mode Developing POC becomes VWAP, VA High and Low => VWAP High and Low correspondingly to minimize the number of plot outputs
- You can't change buy/sell level colors (only plot transparency) - this requires 2x plot outputs exceeding max 64 limit. That's why 2 additional plots are used to dim the non Value Area zones
- Use Side by Side view to compare buy and sell volumes between each other: base width = max(total_buy_vol, total_sell_vol)
- All buy/sell volume lengths are calculated as % of a fixed base width = 100 bars (100%). You can't set show_last from input
- Sell Offset is calculated relative to Buy Offset to stack/extend sell on top of buy. Buy Offset = Zero - Buy Length. Sell Offset = Buy Offset - Sell Length = Zero - Buy Length - Sell Length
- If you see "loop too long error" - change some values in UI and it will recalculate - no need to refresh the chart
- There's no such thing as buy/sell volume, there's just volume, but for the purposes of the Volume Profile method, assume: bull candle = buy volume, bear candle = sell volume
- Volume Profile Range is limited to 5000 bars for free accounts
P.S. Cantaloupia Will be Free!
Links on Volume Profile and Value Area calculation and usage:
www.tradingview.com
stockcharts.com
onlinelibrary.wiley.com
Pick symbol Volume [akubi] 好みのシンボルの出来高を表示 You can place the volume of any symbol you want to use.
あなたが使いたいどんなシンボルの出来高でも配置できます。
Upper row: The symbol volume displayed
Bottom row: Specially selected symbol volume (Default:BTC CRYPTO MARKET CAP)
上段:表示中のシンボルの出来高
下段:自分で特別に選んだシンボルの出来高
Volume+ (RVOL By Time of Day)This script is an enhanced volume indicator.
It calculates relative volume (RVOL) based on the average volume at that time of day (rather than using a moving average).
For example, using this indicator you can see today’s volume during the first 5-minute candle of the market open compared to the previous day’s volume at the market open. Or you can see today’s volume at the market close during the last 15-minute candle compared to the average of the past 20 days of volume at the market close.
Due to the different quantity of candlesticks in a session between Stocks and Forex/Crypto, I separated those markets into separate settings, making this an all-in-one volume indicator that works on all markets.
Settings:
Stocks
If you set the lookback period to 1 on the 5-minute chart and look at the 9:30am candle for a stock, then the current volume bar will show you what today’s volume is compared to yesterday’s 9:30am 5-minute candle.
If you set the lookback period to 15, then the current volume bar will show you what today’s volume is compared to the average of the last 15 days of 9:30am 5-minute candles.
Max Lookback: 64 Sessions
Stocks
This setting is for traders who want to use this indicator on a timeframe lower than the 5-minute chart.
Due to limitations in how many historical bars PineScript can reference, referencing 1-minute and 3-minute bars requires a lot more historical data so I separated the two to allow the 5-minute+ timeframes to have a longer lookback period.
Max Lookback: 12 Sessions
Forex/Crypto
When you set the script to Forex/Crypto, it does the same thing for stocks but calculates based on a 24-hour period.
So if you set the lookback period to 1 on the 1-hour chart and look at the 11:00am candle for a currency pair, then the current volume bar will show you what today’s volume is compared to yesterday’s 11:00am 1-hour candle.
If you set the lookback period to 10, then the current volume bar will show you what today’s volume is compared to the average of the last 10 days of 11:00am 1-hour candles.
Max Lookback: 17 Sessions
What Doesn’t It Work On?
Because I had to manually calculate how many volume candles to look back per timeframe to get the previous session’s candle, I had to hard-code the math in this script.
That means that this indicator will only work on 1m, 3m, 5m, 15m, 30m, 45m, 1h, 2h, 3h, 4h, Daily and Weekly timeframes. If you try to use it on any other timeframe it will revert to a regular volume indicator.
Why Is It Useful?
Similar to volume profile by price, this gives you a volume profile by time in a way that the default volume indicator does not.
For example, you can use this to determine when a stock has a particularly strong opening drive, or when a currency pair has a weak fake-out leading up to the London open, or for general confirmation on trading signals with time-specific volume information to work with.
Colors
The purple line and the faint gray bar is the RVOL value.
The blue number is the percentage of the current volume bar relative to RVOL.
There are four different bar color settings:
Heatmap – Changes color to be brighter based on higher RVOL
Price – Changes color based on price action (like the default TradingView volume indicator)
Traffic – Changes color based on RVOL percentages (for fast visual cues)
Trigger – Changes color only when the specified alert conditions are met
Heatmap:
Traffic:
Trigger:
Price:
Heatmap:
Turns very bright green at 2.0 RVOL
Turns light green at 1.0 RVOL
Turns normal green at 0.75 RVOL
Turns medium green at 0.5 RVOL
Turns very dark green at 0.25 RVOL
Is gray otherwise.
Price:
Turns red if the price action candle closed bearish.
Turns green if the price action candle closed bullish.
Traffic:
Turns red if RVOL is between 1.0 and 1.5.
Turns orange if RVOL is between 1.5 and 2.0.
Turns dark green if RVOL is between 2.0 and 3.0.
Turns bright green if RVOL is above 3.0.
Is gray otherwise.
Trigger:
Turns teal if any of the given alert conditions in the user settings are met.
Alerts
Alerts are optional. You have to set them like any other indicator, by creating a new alert and selecting this indicator.
If you leave the "Alert At RVOL %" setting at 0, then alerts will only be triggered if the current candle exceeds the 1.0 (100%) RVOL level.
If you change the "Alert At RVOL %" setting then alerts will be triggered if the RVOL percentage (blue number) exceeds your given value. The blue number is a percentage of the average, so if it’s at 0.5, then it’s 50% of the average.
Notes
- This indicator only works with regular time bars. It will not work with range, tick, renko etc.
- This script has lookback limitations due to restrictions on how many historical bars PineScript can reference. The lookback limit varies based on the market type you choose. The more bars required for calculation the lower the lookback limit.
- If you use it on the Daily timeframe the lookback period will count as 1 week. If you use it on the Weekly timeframe the lookback period will count as 1 month. So a Lookback of 3 on the Daily would be 3 weeks of averages, a Lookback of 5 on the Weekly would be 5 months of averages (for that Day of Week or Week number).
- Big thanks to @tb12345 for the idea and for helping to field-testing the indicator!
Highest Volume Index by ParaticaIt's an algorithm used in Paratica. It shows volume based volatility.
Volume in a panelIf you prefer to see volume in a panel rather than an overlay here it is. Just basic volume with moving average line.
RSI VOL StochasticFor a friend's request, a way to switch from basic rsi , volume or stochastic .
Even if it's possible to display multiple indicators at the same time it's not really usefull, the main use here is to use one most of the time and if needed switch between them.
By the way, I'm using only RSI 95% of the time and don't need more indicator but sometimes we juste need to check quickly something on volume or stochastic , so this script can be usefull for those type of usecase without losing display capabilities.
Pour la demande d'un ami, un moyen de passer de rsi , volume ou stochastique de base.
Même s'il est possible d'afficher plusieurs indicateurs en même temps, ce n'est pas vraiment utile, l'utilisation principale ici est d'en utiliser un la plupart du temps et si nécessaire de basculer entre eux.
D'ailleurs, je n'utilise que du RSI 95% du temps et je n'ai pas besoin de plus d'indicateur mais parfois nous avons juste besoin de vérifier rapidement quelque chose sur le volume ou la stochastique, donc ce script peut être utile pour ces types d'utilisation sans perdre les capacités d'affichage.
Bitcoin Stacked VolumesThe idea was to keep Bitcoin trading volumes on the different exchanges under control using only one chart and only one indicator. It works on ANY timeframe.
Settings
Lookback for SMA of volume from each exchange (default: 21 )
Option to include or not volumes that traded in stablecoin pairs (default: true )
Customizable volume quotas for alerts
Alerts
It has 30 different alerts which can be divided into 4 types:
Total Quota Exceeded
Total Volume/SMA Crossover
Quota Exceeded
Volume/SMA Crossover
Here are some examples how it helps to be aware the situation on 1-minute resolution:
MACD on Volume (Signal)Volume-Price-based 5-min-Chart Trading
Pull up a 5-min chart of your favourite commodity future and stay inside regular trading hours, but show all of globex trading, too.
You will want to base your trading off the 5-min chart on volume and price.
Volume Logic:
The (positive) histogram of your MACD on Pro Rata Volume* indicates market phases with valuable participation. Participate in those phases. Put a horizontal ray on your volume indicator to indicate slow and less than slow volume phases. Stay away from those market phases.
*) Pro Rata Volume = Actual Volume * 300 / elapsed seconds
(Do the platform test. Can you add this indicator to your platform?)
Volume Cloud [LucF]A strictly volume-based cloud. It plots current volume (green line) over its 20-period linear regression (red line) on the chart. Unlike Ichimoku's cloud, it is not offset. While probably not something that you would have on your charts all the time, it can provide a useful way to study the interaction between price and volume.
Because the green line is the current volume, you can forego volume columns when using the indicator.
Volume Cloud does have practical uses. I will show here how I use volume to help me in selecting better probability entries, with only Volume Cloud and my TLD indicator on the chart (the Volume Columns are there to provide context for first-time users of the Volume Cloud).
When looking for entries, I’m trying to find spots where a reversal from a bottom or a continuation after a pause is confirmed by increasing volume (preferably above average) candles with proper wick/body structure. The candle structure of increasing volume candles is important because for me, it provides granularity on the volume action during the candle. I view wicks as failed tests and body height as reinforcement of the price movement. As for candles where volume is not increasing, I mostly ignore them. This is a simplified account of my mindset; just the stories I trade with and that I believe provide an edge—and profits. I certainly don’t pretend having found an infallible way to trade, and there is much more to it that I can explain here, but let’s look at a chart.
Point 1: Solid increasing volume and above average down candle, but I don’t enter on big candles. The volume on that candle has reached a new high though, so I’m thinking bearish sentiment for the next bars.
Point 2: Nicely formed above average increasing volume candle, but I’m looking to short. A similar’ish candle 4 bars back was followed by non-descript action. After 2, a test of past resistance fails before reaching it and a lower low and then a lower high bring us to point 3.
Point 3: Exactly what I’m looking for. No upper wick, solid body that’s not too big, and the highest volume reached on chart yet as a bonus. I enter on the following candle and because of the solid context, I can use a tight stop at the previous candle’s high. Going down, I will move my stop to the high of any increasing volume candle going in my direction, starting when that point is at least as far from my entry as my stop (RR=1).
Point 4: This is the last point where I move my stop at the candle’s high and get stopped out at the following candle for a RR=3.75 trade. Notice how the very high volume at point 4 generates a relatively small body. This is often a sign of stopping volume that portends a reversal or a pause.
Point 5: A first above average increasing volume candle, but with longish wicks that don’t fit my idea of a solid candle. Definitely not a strong enough sign to bet on a reversal from the recent strong descent.
Point 6: This candle is a different story altogether. No lower wick, reasonably sized body, double the volume of previous candle and a close way above the previous 20 candles. Long entry with stop at candle 6’s low. I don’t move my stop on the candle following my entry because it wouldn’t put me at RR=1, so the first time I move my stop up is at candle just before point 7.
Point 7: I get stopped out for RR=3 after that candle because I will have moved my stop a second time, at candle’s 7 low.
I didn’t make these trades (can’t even short on Binance yet), and while this is a typical a posteriori story, it does reflect what I do in reality.
Ord Volume [LucF]Tim Ord came up with the Ord Volume concept. The idea is similar to Weis Wave , except that where Weis Wave keeps a cumulative tab of each wave’s successive volume columns, Ord Volume tracks the wave's average volume .
Features
You can choose to distinguish the area’s colors when the average is rising/falling (default).
You can show an EMA of the wave averages, which is different than an EMA on raw volume.
You can show (default) the last wave’s ending average over the current wave, to help in comparing relative levels.
You can change the length of the trend that needs to be broken for a new wave to start, as well as the price used in trend detection.
Use Cases
As with Weis Wave, what I look at first are three characteristics of the waves: their length, height and slope. I then compare those to the corresponding price movements, looking for discrepancies. For example, consecutive bearish waves of equal strength associated with lesser and lesser price movements are often a good indication of an impeding reversal.
Because Ord Volume uses average rather than cumulative volume, I find it is often easier to distinguish what is going on during waves, especially exhaustion at the end of waves.
Tim Ord has a method for entries and exits where he uses Ord Volume in conjunction with tests of support and resistance levels. Here are two articles published in 2004 where Ord explains his technique:
pr.b5z.net
n.b5z.net
Note
Being dependent on volume information as it is currently available in Pine, which does not include a practical way to retrieve delta volume information, the indicator suffers the same lack of precision as most other Pine-built volume indicators. For those not aware of the issue, the problem is that there is no way to distinguish the buying and selling volume (delta volume) in a bar, other than by looping through inside intervals using the security() function, which for me makes performance unsustainable in day to day use, while only providing an approximation of delta volume.