Volume accumulation [TCS] | VTAThe indicator calculates buy and sell volume values for different look-back periods, based on the high, low, close, and tick volume data of the chart.
The calculated buy and sell volume values are stored in separate variables, which represent cumulative volume values over the respective look-back periods.
It's important to note that the code provided calculates the buy and sell volume values individually for each look-back period and after sum them.
It can be useful to understand who is in control of the market based on the look-back period.
For example if the price is decreasing but the volume in the past candle are bullish it means that the trend probably will turn.
Please note that this indicator is for educational purposes only and should not be used for trading without further testing and analysis.
出来高インジケーター
High Liquidity Zones and Threshold VolumeThe High Liquidity Zones indicator is designed to identify areas of significant liquidity in the market. It helps traders recognize regions where trading volume is notably higher, indicating potential areas of increased market activity and interest.
The indicator calculates the average volume over a specified lookback period, which can be customized according to individual preferences. This average volume acts as a reference point to determine the threshold volume level. The threshold percentage input allows users to set the sensitivity of the indicator, defining the minimum volume required for an area to be considered a high liquidity zone.
When the current volume surpasses the threshold volume level, the indicator highlights these areas as high liquidity zones. This visual representation allows traders to quickly identify and focus on periods of heightened trading activity. The high liquidity zones are marked with square shapes below the histogram, providing a clear visual indication on the chart.
The first plot line represents the threshold volume level as a histogram, showing the volume levels in relation to the threshold. This histogram helps traders assess the magnitude of the volume in the identified high liquidity zones.
The second plot line represents the threshold volume's simple moving average (SMA) over the lookback period. The SMA acts as a reference line, smoothing out fluctuations in the threshold volume and providing a more stable measure of high liquidity zones. Traders can use this line to better understand the overall trend and dynamics of liquidity.
The High Liquidity Zones indicator offers flexibility, allowing traders to adapt it to their preferred trading style and timeframe. By adjusting the lookback period and threshold percentage, users can fine-tune the sensitivity of the indicator based on their trading strategies and market conditions.
Furthermore, traders can combine the High Liquidity Zones indicator with other technical analysis tools to confirm trading signals or identify areas of potential support and resistance. It can help them locate price levels where market participants have a substantial presence and where significant buying or selling pressure may occur.
Overall, the High Liquidity Zones indicator is a valuable tool for traders seeking to gain insights into market liquidity dynamics. By highlighting areas of intense trading activity, it assists in making informed trading decisions and identifying opportunities within the market.
Open Interest Profile [Fixed Range] - By LeviathanThis script generates an aggregated Open Interest profile for any user-selected range and provides several other features and tools, such as OI Delta Profile, Positive Delta Levels, OI Heatmap, Range Levels, OIWAP, POC and much more.
The indicator will help you find levels of interest based on where other market participants are opening and closing their positions. This provides a deeper insight into market activity and serves as a foundation for various different trading strategies (trapped traders, supply and demand, support and resistance, liquidity gaps, imbalances,liquidation levels, etc). Additionally, this indicator can be used in conjunction with other tools such as Volume Profile.
Open Interest (OI) is a key metric in derivatives markets that refers to the total number of unsettled or open contracts. A contract is a mutual agreement between two parties to buy or sell an underlying asset at a predetermined price. Each contract consists of a long side and a short side, with one party consenting to buy (long) and the other agreeing to sell (short). The party holding the long position will profit from an increase in the asset's price, while the one holding the short position will profit from the price decline. Every long position opened requires a corresponding short position by another market participant, and vice versa. Although there might be an imbalance in the number of accounts or traders holding long and short contracts, the net value of positions held on each side remains balanced at a 1:1 ratio. For instance, an Open Interest of 100 BTC implies that there are currently 100 BTC worth of longs and 100 BTC worth of shorts open in the market. There might be more traders on one side holding smaller positions, and fewer on the other side with larger positions, but the net value of positions on both sides is equivalent - 100 BTC in longs and 100 BTC in shorts (1:1). Consider a scenario where a trader decides to open a long position for 1 BTC at a price of $30k. For this long order to be executed, a counterparty must take the opposite side of the contract by placing a short order for 1 BTC at the same price of $30k. When both long and short orders are matched and executed, the Open Interest increases by 1 BTC, indicating the introduction of this new contract to the market.
The meaning of fluctuations in Open Interest:
- OI Increase - signifies new positions entering the market (both longs and shorts).
- OI Decrease - indicates positions exiting the market (both longs and shorts).
- OI Flat - represents no change in open positions due to low activity or a large number of contract transfers (contracts changing hands instead of being closed).
Typically, we monitor Open Interest in the form of its running value, either on a chart or through OI Delta histograms that depict the net change in OI for each price bar. This indicator enhances Open Interest analysis by illustrating the distribution of changes in OI on the price axis rather than the time axis (akin to Volume Profiles). While Volume Profile displays the volume that occurred at a given price level, the Open Interest Profile offers insight into where traders were opening and closing their positions.
How to use the indicator?
1. Add the script to your chart
2. A prompt will appear, asking you to select the “Start Time” (start of the range) and the “End Time” (end of the range) by clicking anywhere on your chart.
3. Within a few seconds, a profile will be generated. If you wish to alter the selected range, you can drag the "Start Time" and "End Time" markers accordingly.
4. Enjoy the script and feel free to explore all the settings.
To learn more about each input in indicator settings, please read the provided tooltips. These can be accessed by hovering over or clicking on the ( i ) symbol next to the input.
High Volume Candles Detector - Open Source CodeGreetings, fellow traders!
Throughout my trading career, I've been intrigued by the dynamic interplay between candlestick patterns and trading volume. This fascination led me to develop an open-source indicator to help illuminate these patterns for the broader trading community.
Upon researching the Public Library, I found that many indicators relating to candlestick/volume analysis are proprietary and not open-source. This discovery further fueled my commitment to contribute a free, accessible tool that traders of all levels can utilize in their technical analysis.
Thus, I am excited to present to you our High Volume Bars Indicator. A unique tool that I believe fills a gap in the Public Library. I truly hope you find it beneficial in your trading journey and that it empowers you to make more informed decisions.
Description:
The High Volume Bars Detector is designed to help traders identify bars with significantly higher volume than the average. Users can filter in the settings menu:
1) The length of the Simple Moving Average (SMA) for volume, allowing you to define the average volume over a specific number of bars.
2) The Volume Multiplier, a factor that determines how much greater the volume of a bar should be compared to the SMA to qualify as a high-volume bar.
3) The Lookback Period, a specified number of candles used as a comparative benchmark for identifying the highest volume.
4) If the Volume bar is green or red, so if the candle price is --> close > open or open > close
Examples to better understand the logic of the indicator:
1) Length of the Simple Moving Average (SMA) for Volume: This setting allows you to define the average volume over a specific number of bars. For instance, if you set the SMA length to 20, the indicator will calculate the average volume of the past 20 bars and use it as a baseline to identify high volume bars.
2) Volume Multiplier: This is a critical factor that determines the threshold for what constitutes a high-volume bar. If you set the volume multiplier to 2.0, for example, the indicator will flag any bar where the volume is twice the value of the SMA volume as a high-volume bar.
3) Lookback Period: This setting lets you specify the number of candles that the indicator should consider when determining the highest volume. For instance, if the lookback period is set to 14, the indicator will compare the volume of the current bar with the volumes of the previous 14 bars. If the current bar's volume is the highest, it will be flagged.
4) Volume Bar Color: This filter helps you identify whether a high-volume bar is bullish or bearish. If the bar is green (close > open), it suggests buyers were dominant during that period. If the bar is red (open > close), it suggests sellers had the upper hand. By setting this filter, you can choose to focus on high volume bars that are either bullish (green) or bearish (red) or both, depending on your trading strategy.
Remember, these filters offer a level of customization that allows you to tailor the High Volume Bars Detector to your unique trading style and requirements. Always remember to adapt these settings to align with your overall trading plan and risk tolerance.
Keep attention!
It is important to note that no trading indicator or strategy is foolproof, and there is always a risk of losses in trading. While this indicator may provide useful information for making conclusions, it should not be used as the sole basis for making trading decisions. Traders should always use proper risk management techniques and consider multiple factors when making trading decisions.
Support me:)
If you find this new indicator helpful in your trading analysis, I would greatly appreciate your support! Please consider giving it a like, leaving feedback, or sharing it with your trading network. Your engagement will not only help me improve this tool but will also help other traders discover it and benefit from its features. Thank you for your support!
Volume Breakout by Chosen VolumeDescription:
The Volume Breakout indicator (VB) is a technical analysis tool that highlights candles with significant trading volume. It helps traders identify potential breakout periods characterized by high volume activity.
How it Works:
The Volume Breakout indicator compares the volume of each candle with a user-defined minimum volume threshold. If the volume of a candle exceeds or is equal to the specified minimum volume requirement, the indicator identifies it as a volume breakout and marks it accordingly.
Usage:
To effectively utilize the Volume Breakout indicator, follow these steps:
1. Apply the VB indicator to your chart by adding it from the available indicators.
2. Customize the minimum required volume parameter according to your trading preferences. This parameter determines the threshold volume level that a candle must meet or exceed to be considered a breakout candidate.
3. Observe the candles on the chart:
- Candles that meet or exceed the minimum required volume are highlighted with a specific color (yellow by default), indicating potential breakout periods.
4. Pay attention to the volume breakout indications within the candles, as they suggest periods of increased trading activity.
5. Analyze the price action accompanying the volume breakout candles. Breakouts often indicate a surge in buying or selling pressure, potentially leading to significant price moves or trend reversals.
6. Combine the analysis of volume breakout candles with other technical analysis tools, such as trend lines, support and resistance levels, or indicators, to confirm potential trade setups.
7. Implement appropriate risk management strategies, including setting stop-loss orders and position sizing, to manage your trades effectively and protect your capital.
High Volume Candles by Time PeriodDescription:
The High Volume Candles indicator (HVC) is a technical analysis tool designed to identify candles with high trading volume. It allows traders to quickly spot periods of significant market activity based on volume.
How it Works:
The HVC indicator analyzes the volume of each candle in relation to the highest volume observed over a specified lookback period. The indicator compares the current volume with the highest volume within the defined lookback period and identifies candles that have volume equal to or greater than this threshold. It then distinguishes between bullish and bearish candles and assigns custom colors to highlight these high volume occurrences.
Usage:
To effectively utilize the High Volume Candles indicator, follow these steps:
1. Apply the HVC indicator to your chart by adding it from the available indicators.
2. Customize the lookback period according to your trading preferences. This parameter determines the number of previous candles to consider when calculating the highest volume.
3. Observe the candles on the chart:
- Bullish candles (blue by default) indicate periods of high volume when the closing price is higher than the opening price.
- Bearish candles (yellow by default) indicate periods of high volume when the closing price is lower than the opening price.
4. Pay attention to the color-coded volume indications within the candles, which highlight periods of high trading activity.
5. Analyze the volume patterns in conjunction with price action to identify potential trading opportunities. High volume candles often indicate increased market participation and can suggest significant price moves or reversals.
6. Combine the analysis of high volume candles with other technical analysis tools, such as trend lines, support and resistance levels, or indicators, to confirm potential trade setups.
7. Implement appropriate risk management strategies, including setting stop-loss orders and position sizing, to manage your trades effectively and protect your capital.
Volume Tick ExperimentThis ticks-based indicator provides real-time volume information for a trading asset. Volume is analyzed and updated continuously, not just at candle close. It is based on DGT's Bull vs Bear Power indicator but adds a gas signal that activates when buying or selling volume percentage reaches a predetermined threshold.
This indicator can also help traders determine the direction and aggressiveness of pushes in buying or selling volume. By monitoring the volume percentages and gas signals, traders can get an idea of whether the market is pushing in a particular direction and how strong the push is. This information can be helpful in making trading decisions and identifying potential entry or exit points.
The indicator uses open, high, low, and close prices of the asset to calculate volume information. It determines the average volume over a selected period and calculates volume for both buying and selling. This information is used to calculate the percentage of buying and selling volume. A gas signal is triggered when either the buying or selling percentage reaches a predetermined threshold.
Enjoy!
Open Interest All ExchangesThe indicator collects data from available exchanges based on open interest. The indicators are calculated in the amount of Bitcoin.
Below are the tickers of the exchanges that provide the data:
- BITFINEX:BTCUSD
- BITFINEX:BTCUST
- KRAKEN:BTCUSDPERP
- BITMEX:XBTUSD
- BITMEX:XBTUSDT
- BINANCE:BTCUSDTPERP
- BINANCE:BTCUSDPERP (due to low volumes and limitations of 40 requests of the request.security function, the code contains data without using the calculation)
For me, Open Interest indicators play an important role in the trading system, for this reason I share with you. I am not a financial advisor.
**Open for cooperation**
Volume Shaded CandlesDescription:
The Volume Shaded Candles indicator (VSC) is a technical analysis tool designed to represent price candles on a chart with transparency based on the volume traded during each candle. This overlay indicator enhances visual analysis by providing a visual representation of volume intensity.
How it Works:
The VSC indicator calculates the volume-to-transparency ratio by dividing the current volume by the highest volume within the last 10 periods. The ratio is then used to determine the shading intensity of the price candles. Higher volume relative to the recent highest volume results in lower transparency, while lower volume results in higher transparency.
Usage:
To effectively utilize the Volume Shaded Candles indicator, follow these steps:
1. Apply the Volume Shaded Candles indicator to your chart by adding it from the available indicators.
2. Configure the indicator's inputs:
- Specify the color for bullish candles using the "Bullish Color" input.
- Specify the color for bearish candles using the "Bearish Color" input.
3. Observe the shaded candles on the chart:
- Bullish candles are colored with the specified bullish color and shaded according to the volume intensity.
- Bearish candles are colored with the specified bearish color and shaded according to the volume intensity.
4. Interpret the shaded candles:
- Darker shading indicates higher volume during the corresponding candle.
- Lighter shading indicates lower volume during the corresponding candle.
5. Combine the analysis of shaded candles with other technical analysis tools, such as trend lines, support and resistance levels, or candlestick patterns, to identify potential trade setups.
6. Implement appropriate risk management strategies, including setting stop-loss orders and position sizing, to manage your trades effectively and protect your capital.
Awesome Cumulative Volume OscillatorThe indicator is called the "Awesome Cumulative Volume Oscillator" (ACVO), which analyzes the cumulative trading volume of the underlying asset.
The indicator also plots the deviation of the cumulative trading volume from the first SMA value, which is referred to as the "Cumulative Volume Deviation". The zero-line is plotted as a reference point.
If the "Cumulative Volume Deviation" is greater than 0, it indicates an uptrend, as the cumulative trading volume is above the first SMA value. If the "Cumulative Volume Deviation" is less than 0, it indicates a downtrend, as the cumulative trading volume is below the first SMA value.
However, it is important to note that using a single indicator is not sufficient to conduct a comprehensive market analysis. It is necessary to combine multiple indicators and analysis methods to make informed trading decisions.
Volume Profile Matrix [LuxAlgo]The Volume Profile Matrix indicator extends from regular volume profiles by also considering calculation intervals within the calculation window rather than only dividing the calculation window in rows.
Note that this indicator is subject to repainting & back-painting, however, treating the indicator as a tool for identifying frequent points of interest can still be very useful.
🔶 SETTINGS
Lookback: Number of most recent bars used to calculate the indicator.
Columns: Number of columns (intervals) used to calculate the volume profile matrix.
Rows: Number of rows (intervals) used to calculate the volume profile matrix.
🔶 USAGE
The Volume Profile Matrix indicator can be used to obtain more information regarding liquidity on specific time intervals. Instead of simply dividing the calculation window into equidistant rows, the calculation is done through a grid.
Grid cells with trading activity occurring inside them are colored. More activity is highlighted through a gradient and by default, cells with a color that are closer to red indicate that more trading activity took place within that cell. The cell with the highest amount of trading activity is always highlighted in yellow.
Each interval (column) includes a point of control which highlights an estimate of the price level with the highest traded volume on that interval. The level with the highest traded volume of the overall grid is extended to the most recent bar.
Relative VolumeHello traders,
"There's nothing new on Wall Street" is an age-old saying that still shows its relevance in modern day financial markets; volume still serves as a valuable tool for any trader just as it did for those that came and succeeded before us; in order to succeed in modern day markets one has to take it up a notch and dabble in complicated topics, like math. Now I dunno about you reader but I’m not keen on sitting around all day just to watch numbers on a screen; it’s pretty important to add some color into your life before it becomes dull but how can someone add colors into their trading toolkit as an aid rather than bother? With a bit of help from 3 other amazing open-source indicators you too can become a statistics enjoyer by combining math and colors to make pattern recognition much more intuitive and offering more peace of mind when trading. “Sir but how?”, glad you didn’t ask, it helps with simplifying statistics, in this case a Gaussian bellcurve
“HUH?”, you say? Alright class, Gaussian bellcurves for math dislikers 101 is in session
- Imagine that we have a bunch of numbers that we want to graph. We could just draw a line and plot the numbers on it, but that might not be very interesting.
- Instead, we can use the shape of a bell to show how many of each number we have.
- Let's say we have a lot of people and we want to graph how tall they are. We would start by making a line from the shortest person to the tallest person, and then we would draw the bell shape around the line.
- The bell shape is called a "Gaussian Bell Curve," and it shows us how many people are a certain height.
- In the middle of the bell, where it's the widest, we have the most people who are about average height. As we move to the sides of the bell, the curve gets lower because there are fewer people who are really tall or really short.
The bell curve discussed is the main idea for the candle coloring component of this indicator as being able to analyze the distribution of an entire dataset, in this case volume, can alert us when volume/participation in the market is away from its average using color, and therefore an opportunity could be present. Fair warning, it’s important to not strictly focus on volume as volume is meant to be confluence to the current structure of the market rather than causing tunnel vision.
Why 3 indicators to combine?
It starts with the RVOL by Mik3Christ3ns3n indicator as the backbone by calculating the average volume over a specified period of time, and then compares each new volume value to this average to determine whether it is above or below the average. The indicator then normalizes the volume data and calculates the z-score/standard deviation to determine whether the volume is within normal range or is an anomaly beyond a specified threshold which can also be set into an alert to aid in eyeing possible opportunities.
The code also includes Candle Coloring by Morty as it calculates a function to get the z-score for the size of the candle's body, and then compares it to the z-score for volume to determine whether the body size is a factor in the price action.
Finally, the code plots the anomalies and the normalized volume data on the chart using the first RVOL indicator mentioned, and colors the bars of the chart based on whether they are within normal range or are anomalies which comes from using code from veryfid's relative volume indicator.
Overall, this custom technical indicator is best used to identify unusual changes in trading volume, which may indicate potential price movements in the underlying.
How about some examples?
This first example is for my scalpers wanting to get in and out but not having much of an idea where or let alone how; using a tool like VWAP can be great for determining the area value to execute mean reversion trades once a speculator spots a colored candle anomaly at standard deviation band. Works best when VWAP is flat as it signals lack of conviction from both bulls and bears
This second example is for my fire and forget intraweek swing traders who want to execute a higher timeframe trend-following bias. A speculator starting 2023 off notices that the negative sentiment around Binance from late last year has quieted down and has conviction in upside after BTC began an uptrend as monthly VWAP (right chart) has began sloping up as well as a rally with momentum shown with the blue colored candle so the trader waits wait for a pullback for entry. On the chart to the left of the 4H the speculator notices a pullback into the area of interest to do business so a limit bid is left to enter for continued upside in Bitcoin through January 2023 just by keeping things simple
That’s really the main purpose of this indicator: simplicity of statistics for confluence using volume
Volume precedes price and price moves only for narrative to follow- why wait for your subjective Twitter timeline to give you a biased narrative to trade when you can use objective analysis by combining statistics and colors to allow for a cleaner execution process
“But what about risk management?” Glad you didn’t ask reader!
One last example then, we meet our trend following trader again feeling euphoric so they know profit taking season is coming soon but wants to leave emotion out of it. How to go about it? Same idea as our last trend following example: we see on the 4h chart to the right side shows Bitcoin lose and trade back within the 2nd standard deviation of quarterly VWAP which is telling our speculator that the uptrend has broken on top of which notices on the 30 minute chart on the left that aggressive market buyers have been steadily absorbed by limit sellers on multiple occasions of retesting 30,500 shown with the green colored candles and volume bars below, time to sell.
Turns out that selling was proactive risk management because price dumped thereafter
Hope this explanation gave you some useful insights on using statistics as colors from cherrypicked examples, remember that just because my examples are cherrypicked doesn’t invalidate these concepts at all as the market only does two things, initiate aggressive auctions and respond passively to auctions. This tool makes for seeing where that initiative aggressive activity is happening much simpler to deduce if others will respond to an anomaly of initiative aggressive activity or if the aggression will continue.
If there’s just one thing you take from this- simplicity above all, cheers and good luck
Tape (Time and Sales)OVERVIEW
This indicator is a synthesized "Tape" (aka. Time and Sales) from real time market data. It's specifically designed to be performant, expediting trading insights and decisions.
The table contains color-coded price action, volume size, and a timestamp data for each chart update. Because chart updates are independent of exchange orders, 1 chart update may combine more than 1 exchange and/or order. Even so, you're able to see very small and fast order flow changes, made possible by measuring real time volume differentials, and correlating them with price action.
Real time volume differentials are required for this indicator to be most useful. This is not ideal for historical analysis or TradingViews Replay feature.
INPUTS
You can can configure:
Table Position and Text Size
The Timestamp (visibility, format, timezone)
The number of lines to print
Volume Parameters (minimum size, large sizes, decimal precision)
Highlighting and Enlarging large sized prints
All the colors
DEV NOTES
This script illustrates:
The complimentary nature of loops and arrays
A method for iterative table management
Volume Candlesticks [cajole]
This script lets you create the equivalent of "volume candlesticks" in TradingView.
"Volume candlesticks" normally vary their width according to the bar's volume. This script varies COLOUR instead of WIDTH.
Bar charts are also supported.
Candles/Bars are coloured by their distance from the average volume. You can also add a "huge volume" colour to further highlight the most extremely-high volume bars.
Note that volume is extrapolated for incomplete bars by default. So, if the average volume of the past 10 days is 5M shares, and 5M shares trade in the first 10% of today's session, that bar will be coloured as though 50M shares have traded. Set the "Extrapolate" option to 1.0 to disable this.
For this script to work properly, you should set TradingView's default candle/bar colours to be at least 20% transparent. By default, TradingView tends to overlay its own bars on top of indicators.
Nerdy details:
The script works best on a dark background, because it is easier to change the hue of white bars than of black bars. If you find a set of colours that work for white backgrounds, please comment with them!
The geometric mean is used instead of the arithmetic mean, to keep the 'average' from being strongly influenced by spikes. Bars are
then coloured by assuming a normal probability distribution and highlighting outliers. (This means that the first high-volume bars are coloured differently to later ones.)
Sunset candlesDisplays the volume behind each candle with colors, to visualise their evolution over time, directly in the chart.
This indicator is best suited for dark mode (Suggested background color: #0a0c12).
The more intense is the color, the bigger is the volume.
The unit is a 400 periods moving average of the volume, considered as 1 volume.
Each color represents half of this volume. For ex: Grays indicate under (or equal) to the 400 MA (low volumes). Bright yellow represents above 7 times the 400 MA (very high volumes).
When there's no available volume datas, the candles turn bright green by default.
The wicks' colors stay the same, and can still indicate the direction of the candle.
In the settings, you can show/hide the gradient of the volume. By moving your chart over this gradient, it is possible to compare the candles to the colors, and read the corresponding volume number.
Pressure Volume by MolnarThe Pressure Volume script is a technical indicator that is used to identify buying and selling pressure in a market based on changes in volume. The indicator calculates the average volume over a specified lookback period and then calculates the percentage change in volume for each bar. If the percentage change in volume exceeds a user-defined threshold, then the indicator signals the presence of buying or selling pressure.
To use the script, you simply need to add it to a chart in TradingView. The script allows you to adjust two input parameters: the lookback period and the threshold percentage. The lookback period is the number of bars to use when calculating the average volume, and the threshold percentage is the amount by which the current bar's volume must exceed the average volume in order to trigger a buying or selling pressure signal.
When the script detects buying pressure, it displays a green triangle above the bar, and when it detects selling pressure, it displays a red triangle below the bar. You can adjust the size of the triangles using the "size" input parameter.
It's important to note that the Pressure Volume script is just one tool among many that traders use to analyze the market. It should be used in conjunction with other indicators and analysis techniques to make informed trading decisions.
Weis Wave Volume - Simple labels and comparisonThis script is designed to identify and display the Weis Wave Volume on a chart. The Weis Wave Volume is a volume-based indicator that helps traders analyze market waves, identify trend reversals, and assess the strength of a trend. The script calculates wave volume based on user-defined input parameters, detects price waves, and displays the results as labels on the chart.
This version in particular is based on ideas from @the_MarketWhisperer and some other pieces of the script from @LucF.
The overall functionality of the script is to identify price waves and their corresponding volume. It does this by determining the trend direction and detecting trend reversals based on user-defined inputs such as the Trend reversal length and Price source for trend detection. The script also calculates and displays the cumulative volume of the current wave, the number of bars in the wave, the average volume in the wave, and consecutive increasing average volume bars in the same wave:
- An 'o' is printed to show that the volume of the current wave was 'O'ver/ above the count of the volume from preceding wave (regardless of it being up or down).
- An 'u' is printed to show that the volume of the current wave was 'U'nder/ below the count of the volume from preceding wave (regardless of it being up or down).
- Current wave will be between ' ' signaling that the wave is not confirmed yet.
- Actual values for the wave are available as tooltips. You decide how many bars to show the labels for, but for now and since I am a fan of clean charts, this is set to 50.
The user can adjust various inputs that affect the output of the script, such as Trend reversal length, Price source for trend detection, Labels for X last bars. Adjusting these inputs allows the trader to customize the script's behavior to better suit their trading style or specific market conditions. For example, by increasing the Trend reversal length, the script will require more consecutive bars in the opposite direction to confirm a trend reversal, potentially filtering out shorter-term price fluctuations. Similarly, adjusting the Price source for trend detection allows the user to base trend calculations on different price values, such as the high, low, or close of each bar.
In addition to the customizable inputs, the user can enable or disable the display of pivot markers and choose the colors for the up and down volume labels. This helps the trader to easily visualize and analyze the wave volume information on the chart.
In summary, this script offers traders a powerful tool for visualizing and analyzing the Weis Wave Volume on a chart. By identifying price waves, detecting trend reversals, and providing insights into the strength of a trend based on volume, the script can be a valuable addition to a trader's technical analysis toolbox. Please note this is not meant to provide any buy or sell signals, it should be rather used to complement your existing analysis.
Have fun and trade wisely ;)
Import Forex Volume from 5 biggest FX Brokers (single/combined) Some Brokers like Forex.com don't show Volume for FX. This indicator allows user to import Volume from a range of FX brokers that DO show volume
-Combine the reported volumes from all five brokers: FXCM, GLOBALPRIME, PEPPERSTONE, Currency.com, OANDA. Or pick a specific broker to import volume from.
-Image above shows combined Volume from the big 5 brokers, with added notes on the 2yr average of various broker's volumes; showing their size in descending order.
-Works across timeframes & FX pairs. Standard color formatting options Added.
//notes:
~default settings pull/combine volume from all 5 brokers. History goes back to Sept 2019 (due to GlobalPrime's later start date in publishing Volume data).
~~toggle ON 'only show FXCM, Pepperstone & Oanda' for a LONGER history, going back to June 2012.
~individual broker feeds: top checkbox toggled OFF, choose your preferred broker.
~~FXCM has both the longest history and the highest volume size of all the brokers.
~Table (toggle on/off) shows the broker feed (which broker(s) volume is on display) and the SMA 100 to give an idea of relative size.
//Cautionary note:
Volume is not as reliable in Forex as it is in Equities/commodities, due to unreported Inter-bank trades; the broker volumes do not give the full picture, but this is a best approximation of combined total volume based on brokers reported volume. The true volume will likely be much higher.
-Thank you @theEccentricTrader for the idea of pulling volume feed from other brokers.
Bar Magnified Volume Profile/Fixed Range [ChartPrime]This indicator draws a volume profile by utilizing data from the lower timeframe to get a more accurate representation of where volume occurred on a bar to bar basis. The indicator creates a price range, and then splits that price range into 100 grids by default. The indicator then drops down to the lower timeframe, approximately 16 times lower than the current timeframe being viewed on the chart, and then parses through all of the lower timeframe bars, and attributes the lower timeframe bar volume to all grids that it is touching. The volume is dispersed proportionally to the grids which it is touching by whatever percent of the candle is inside each grid. For example, if one of the lower timeframe bars is interacting with "2" of the grids in the profile, and 60% of the candle is inside of the top grid, 60% of the volume from said candle will be attributed to the grid.
To make all of this magic happen, this script utilizes a quadratic time complexity algorithm while parsing and attributing the volume to all of the grids. Due to this type of algorithm being used in the script, many of the user inputs have been limited to allow for simplicity, but also to prevent possible errors when executing loops. For the most part, all of the settings have been thoroughly tested and configured with the right amount of limitations to prevent these errors, but also still give the user a broad range of flexibility to adjust the script to their liking.
📗 SETTINGS
Lookback Period: The lookback period determines how many bars back the script will search for the "highest high" and the "lowest low" which will then be used to generate the grids in-between
Number Of Levels: This setting determines how many grids there will be within the volume profile/fixed range. This is personal preference, however it is capped at 100 to prevent time complexity issues
Profile Length: This setting allows you to stretch or thin the volume profile. A higher number will stretch it more, vise versa a smaller number will thin it further. This does not change the volume profiles results or values, only its visual appearance.
Profile Offset: This setting allows you to offset the profile to the left or right, in the event the user does not appreciate the positioning of the default location of the profile. A higher number will shift it to the right, vise versa a lower number will shift it to the left. This is personal preference and does not affect the results or values of the profile.
🧰 UTILITY
The volume profile/fixed range can be used in many ways. One of the most popular methods is to identify high volume areas on the chart to be used as trade entries or exits in the event of the price revisiting the high volume areas. Take this picture as an example. The image clearly demonstrates how the 2 highest areas of volume within this magnified volume profile also line up to great areas of support and resistance in the market.
Here are some other useful methods of using the volume profile/fixed range
Identify Key Support and Resistance Levels for Setups
Determine Logical Take Profits and Stop Losses
Calculate Initial R Multiplier
Identify Balanced vs Imbalanced Markets
Determine Strength of Trends
Price Data LabelThis indicator gives you the ability to see historical data for each bar on the chart by simply hovering over the high of the bar, similar to the functionality of MarketSmith.
Data for each bar includes:
Open
High
Low
Close + Change
Percentage Change
Closing Range
Volume
Volume Percent based on 50 day average
Distance to 4 selectable moving averages
Example of stats on a historical bar:
* Note this only works on the last 500 historical bars. If you use bar replay it will work with 500 historical bars from the last bar.
* If you have multiple indicators on your chart, in order to see the data you will need to use visual order to bring to front. This can be done by clicking the three dots next to the indicator name and selecting visual order.
Volume StrengthThe "Volume Strength" indicator
A technical analysis tool that helps traders evaluate the strength of the current market trend by measuring the cumulative volume over a specified period of time. It calculates the cumulative volume of a stock and divides it by the average cumulative volume over a specified period. This ratio is referred to as the "volume strength" and is plotted as a line on a chart. The indicator also provides overbought and oversold levels, which are horizontal lines on the chart that represent predetermined levels of overbought and oversold conditions.
The color of the volume strength line changes based on the current strength level. If the line is above the overbought level, it is colored red. If the line is below the oversold level, it is colored green. If the line is between the overbought and oversold levels, it is colored blue. The indicator also provides alerts for overbought and oversold conditions.
HOW TO USE:
1. Load the indicator onto the chart of the desired market. It works best in markets where volume data is available, such as stocks, futures, indices and cryptocurrencies. But you can also use it in the Forex market, where tick volume data will be used to calculate the indicator.
2. Adjust the length parameter to set the period for which the cumulative volume is calculated and the average cumulative volume is calculated.
3. Adjust the overbought and oversold levels as desired. These levels determine the horizontal lines that represent overbought and oversold conditions on the chart.
4. Observe the volume strength line and the overbought/oversold levels on the chart. If the volume strength line is red, the volume is considered overbought. If the line is green, the volume is considered oversold. If the line is blue, the volume is considered to be between the overbought and oversold levels. The indicator will provide alerts for overbought and oversold conditions. The indicator is an excellent tool for finding price-volume divergences.
SETTINGS:
Length: The period over which the cumulative volume is calculated and the average cumulative volume is calculated. The default is 14.
Overbought Level: The level at which the volume is considered overbought. The default is 1.2.
Oversold Level: The level at which the volume is considered oversold. The default is 0.8.
Please leave a comment & like :)
Volume+ (Time of Day)This volume indicator measures the volume for each bar at the time of day and displays the average and +1 standard deviation above that average.
The color intensity of the bar is increased when the volume exceeds +1 standard deviation.
See how on the chart that other than the early morning and late day volume, there are clearly key moments in the day at 7am, 10am, 10:30am, and 11am. See how on the second day, there were volume spikes before 10am, 10:30am and then more obviously just before 11am.
Volume+This volume indicator uses a long WMA to establish an average volume and calculates the standard deviation based on that average. Each deviation level from 1 to 3 is also plotted with the bar color gradually increasing in intensity when more than one standard deviation is exceeded.