Volume Based Supply & DemandVolume Based Supply & Demand Zone indicator compares the size of volume bars so that if there is a noticeable increase in volume (noticeable here meaning above the indicator threshold) it marks the bar high and low prior to the bigger volume candle.
In den Scripts nach "volume" suchen
Volume Scale by Price (VSP)Volume Scale by Price (VSP) show volume of bar in y-axis (price-axis) with options below:
1. Number of histogram
* Number of histogram = 0 => do not plot volume histogram
* Number of histogram = 1 => plot volume of 21 lasted bar (bar to bar )
* Number of histogram = 2 => plot volume of 21 bar next histogram 1 (bar to bar )
2. Line width
* Columns width of histogram
3. Volume scale ratio
* Scaling histogram with justifiable ratio depend on time frame and symbol
4. Histogram color
* Color of histogram
Volume controlvolume control based on average, you can only open deals when volume is closer to average, otherwise you can fall in high or low volatility and the trade will be seen affected . check on rows on below volume bars, you can change values limit, but i suggest use fixed values proposed.
Volume of BTC (BitMEX/bitfinex/bitFlyer)Volume of BTC
BitMEX : red
bitfinex : green
bitFlyer : blue
For details in Japanese on my website
Volumetrix Mean Reversion [by Oberlunar] VolumeTRIX Mean Reversion is a volume-oriented mean-reversion and confirmation indicator built around one core principle: reversal opportunities become higher quality when “price stretch” is not just visible on one feed, but confirmed across venues and supported by internal market pressure.
Mean reversion is often explained with the “rubber band” metaphor, but in real trading, it’s more concrete than that. When price runs too far from a working equilibrium, the market tends to accumulate imbalances: liquidity gets thin in spots, inventories get skewed, and positioning becomes one-sided. Very often, the next meaningful move is not continuation, but a repair move—price coming back toward areas where business was actually done. That doesn’t mean the market must revert every time. It means that when displacement becomes extreme, reversion becomes *plausible*, and sometimes structurally incentivised.
This is why Volumetrix does not treat a single overbought/oversold trigger as a trade. It treats mean reversion as a multi-factor event that needs alignment.
The first pillar is multi-venue consensus. The script can track the same instrument across up to five brokers/exchanges and look for agreement. In crypto and CFDs, a large portion of “signals” are simply microstructure artefacts: isolated wicks, temporary dislocations, exchange-specific liquidity holes, short-lived imbalances.
I believe that a stretch that shows up on one venue may be noise; a stretch that shows up across venues at the same time is far more likely to be structural.
The second pillar is how the indicator defines “stretch.” Volumetrix intentionally blends different families of mean-reversion logic because each one captures a different way markets deviate from equilibrium. Statistical displacement (think Z-score) asks how far the price has moved away from its recent average in volatility units. Anchored equilibrium (VWAP) asks whether the price is trading away from a fair value built on *where volume actually traded*.
Volatility envelopes (Keltner-style bands) translate stretch into something regime-aware: what is “far” in a quiet market is not “far” in a fast one. None of these views is perfect alone, but together they describe displacement in a much more robust way than a single oscillator.
Then comes the part most traders miss: mean reversion is not just a distance problem, it’s a *regime* problem. That is where the Ornstein–Uhlenbeck idea matters. OU is the textbook mean-reverting process: deviations don’t just wander, they tend to be pulled back toward an equilibrium, and the strength of that pull defines how “elastic” the market feels. In trading terms, some environments punish deviations quickly; other environments reward drift and make reversals late and painful.
VolumeTRIX Mean Reversion uses an OU-style bias to estimate that temperament, so the script is not only asking “are we stretched?”, but also “does this market currently behave like it wants to revert, or like it’s comfortable drifting?”
From there, Volumetrix combines four perspectives (the “lanes”) into a single directional decision. The mean-reversion trust lane quantifies stretch and converts it into a normalised confidence. The OU lane adds the regime lens—how mean-reverting the market appears right now. TRIX adds momentum context because fading a move while momentum is still expanding is one of the fastest ways to get chopped up. Finally, the volumetric pressure gate looks at internal buy/sell pressure and asks a practical question: is the move still being *defended*, or is dominance starting to fade?
The real edge is not in any one component. The edge is in how they are forced to agree. Volumetrix allows you to determine the level of strictness in the agreement (All / Majority / Any). That’s an ensemble approach: each lane can be wrong, but they tend to be mistaken in different conditions. When multiple independent views of the market line up, you’re filtering for moments where the signal is less likely to be random and more likely to reflect an actual imbalance that can unwind.
So the question I'm trying to answer with this indicator is simple, and trader-practical: “Are we stretched across venues, is the current regime compatible with reversion (OU-style), is momentum no longer dominating (TRIX), and is volume pressure no longer supporting continuation?” When those answers align, the odds of a usable reversal improve.
Operationally, signals print only on confirmed bars and are hard-constrained to the most liquid global sessions (London and US), because mean-reversion quality tends to degrade in thin windows and produce low-quality signals.
The indicator also includes an internal forward-stat tracker that estimates how often signals reach a reasonable target move within a maximum number of bars. It is not a strategy backtest, and it doesn’t simulate compounding; it’s a calibration tool to compare settings and understand expectancy behaviour without guessing.
As always, this is an indicator, not financial advice. Mean reversion can fail hard in expansion regimes, so risk management and context always come first.
Enjoy!
Oberlunar 👁★
Volume Stress Level V2Volume Stress Level V2, is designed to provide a nuanced view of "RECENT" trading volume by identifying different levels of volume stress relative to a smoothed average.
Key Features:
Dynamic Volume Stress Calculation: The indicator calculates volume stress based on a Simple Moving Average (SMA) of volume and its standard deviation. The length of the SMA and the multiplier for the standard deviation are fully customizable, allowing you to adapt the indicator to different market conditions and trading styles.
Visual Volume Zones: The script visually categorizes volume into distinct zones:
Low Volume Zone: Represented by a white background, indicating periods of lower-than-average trading activity.
Normal Volume Zone: Highlighted in blue, signifying typical trading volume.
Medium Volume Zone: Displayed in yellow, denoting a moderate increase in volume.
High Volume Zone: Shown in orange, indicating significant volume spikes.
Spike Volume Zone: Marked in black, representing extreme volume events.
Customizable Background: You have the option to enable or disable the colored background fill for these volume zones, providing flexibility in how you visualize the data.
Bar Coloring: The volume bars themselves are color-coded according to the identified volume stress level, offering an immediate visual cue on your chart.
Adjustable Parameters:
VSL Length: Controls the lookback period for the SMA and standard deviation calculations.
Multiplier: Adjusts the sensitivity of the standard deviation bands, thereby influencing the width of the volume zones.
How to Use:
This indicator can be valuable for identifying potential shifts in market sentiment, confirming breakouts, or spotting periods of accumulation and distribution. By observing the transitions between volume zones, traders can gain insights into the conviction behind price movements.
Volume ScoreVolume Score Indicator (VSCR)
The Volume Score Indicator (VSCR) is a powerful tool designed to enhance your trading analysis by evaluating volume activity relative to historical levels. This indicator provides valuable insights into volume trends, highlighting significant volume spikes and their implications for price movements.
Key Features:
1. Volume Analysis:
a.) Volume (RVol): Calculates the relative volume based on the 50-day simple
moving average.
b.) High Volume Conditions: Identifies conditions where volume is significantly higher
than historical levels, including:
b1.) Highest Volume in 1 Year (HV1Y): Volume exceeds the highest volume of
the year.
b2.) Highest Volume in 3 Months (HVQ): Volume exceeds the highest volume of
the past 3 months.
c.) Pocket Pivot Volume (PPV):
c1.) High Relative Volume: Volume is at least twice the 50-day moving average
volume.
c2.) Pocket Pivot Volume: Latest bar volume is higher than the highest down
volume bar of the last 10 days.
2.Volume Score Calculation:
a.) Computes a cumulative volume score (VSCR) based on the frequency and magnitude
of identified high-volume conditions over a user-defined look-back period (default:
90 days).
b.) Adds points to the volume score based on relative volume (RVol). For example, if
the current day's relative volume is 500% of the 50-day average volume, 5 points
will be added to the volume score.
Formula: Volume Score = Volume Score + (RVol / 100)
3. Customizable Plotting:
a.) High Volume Plotting (HV): Option to plot circles above bars when HV1Y or HVQ
conditions are met.
b.) Pocket Pivot Volume Plotting (PPV): Option to plot circles above bars when any of
the Pocket Pivot Volume conditions are met.
4.Interactive Table Display:
a.) Configurable table to display key volume metrics and scores.
b.) Customizable table layout (horizontal or vertical) and positioning (top, middle,
bottom; left, center, right).
c.) Dynamic Background Coloring: The table cells are color-coded to highlight
significant volume levels and scores:
c1.) Blue: Indicates a very high volume score or count, signaling exceptionally
strong volume activity (e.g., count >= 15, score >= 50).
c2.) Green: Represents a high but not extreme volume level, suggesting notable
volume activity (e.g., 10 <= count < 15, 40 <= score < 50).
c3.) Orange: Marks moderate volume activity, which is still above average but
less pronounced (e.g., 7 <= count < 10, 25 <= score < 40).
c4.) Red: Signifies relatively low volume activity, potentially indicating less
significant volume changes (e.g., count < 7, score < 25).
5.How to Use:
a.) Input Parameters:
a1.) Plot HV: Toggle to plot high volume i.e. HV1Y and HVQ conditions on the
chart. When enabled green plot will appear above the price bars on the
chart.
a2.) Plot PPV: Toggle to plot pocket pivot volume conditions on the chart. When
enabled orange plot will appear above the price bars on the chart.
a3.) Look Back Period: Define the period for looking back to calculate volume
conditions and scores (default: 90 days).
b.) Table Display:
b1.) Panel Options: Customize the table's position, layout, text size, and colors
to suit your preferences.
b2.) Volume Metrics: The table displays counts of high-volume events (HV1Y,
HVQ & PPV) and the cumulative volume score, color-coded based on
thresholds for easy interpretation.
c.) Practical Applications:
c1.) Volume Spike Detection: Quickly identify significant volume spikes that
may indicate institutional buying.
c2.) Historical Volume Context: Understand current volume activity in the
context of historical volume patterns.
c3.) Enhanced Decision Making: Use volume insights to make informed trading
decisions, particularly around areas of significant volume changes.
This indicator is an essential tool for traders looking to incorporate volume analysis into their trading strategy, providing clear and actionable insights into volume dynamics.
***Note***
Candlestick Exclusion: The indicator ignores any candles where the closing price is less than the opening price. All calculations and analysis are based on candles where the closing price is higher than the opening price.
Volume Buy/Sell Signals [EdgeTerminal]Volume Signals is an indicator based on volume moving averages and divergence to provide different types of information.
The first signal is the peak volume box shown in red or green, showing the volume peak in an uptrend or downtrend. This usually is a sign of reversal or a slowdown in the trend, depending on the direction of the price.
Peak zones assume that a movement has reached your end for the time being or a new movement is initiated. This cannot be verified by simple volume alone, that's why we have a buy/sell signal feature based on divergence.
The narrow box indicates a continuation of the trend but can be used as support or resistance.
Medium box size usually means the price is in an accumulation phase. This can act as both support and resistance, meaning if the price pushes above, a long position can be taken, and if the price drops below, a short position can be taken.
Large box size indicates a range in which the price will stay shortly. This is usually a sign of high volume volatility and depending on the direction, the price can revisit the area and drop back down or go back up fast. For example, if the large green box appears after a major volume peak and if the price goes above the box, there is a major chance that the price will revisit the box zone and will drop as fast as it went up.
The second signal is a buy/sell signal generated based on the volume divergence and volume numbers compared to average volume values. If the volume is showing signs of lower lows or higher highs, the signal will appear. This indicator is great at generating early entry and exit signals.
Additionally, the script can generate LP (lower possibility) buy/sell signals. Usually, the script looks for two moving average lower lows in volume to generate a signal but when this is turned on, the indicator will also show single confirmed (we call them lower possibility) signals. This is useful when there are not enough signals generated on screen and you want to see more data points.
The settings:
Volume Peak MA: Sets the moving average of the volume peak,
Volume Peak Box Length: Defines the box display length of the volume box across the chart
Volume Box Threshold: Threshold of volume peak detection. A lower number generates more signals and a higher number generates fewer.
First Signal MA Length: First moving average length used in the calculation of the volume signals
Second Signal MA length: Second moving average length used in the calculation of the volume signals
Volume Lookback Right: How many bars to look back on the right side (forward) to confirm the signal
Volume Lookback Left: How many bars to look back on the left side (behind) to confirm the signal
Max Lookback Range: Max lookback range for the KNN machine learning volume data of signal generation.
Min Lookback Range: Minimum lookback range for the KNN machine learning volume data of signal generation.
Show Buy Signals: It shows or hides buy signals.
Show LP Buys: It shows or hides lower possibility buy signals.
Show Sell Signals: It shows or hides sell signals.
Show LP Sells: It shows or hides lower possibility sell signals.
Volume Spikes & Growing Volume Signals With Alerts & ScannerVOLUME SPIKES & GROWING VOLUME SIGNALS WITH ALERTS & SCANNER
This indicator shows arrows when there is a volume spike. It also paints the background when volume is growing. There is also a volume scanner for 8 tickers that will change color in real time when your other favorite tickers see volume growth and spikes.
You can customize the length of DMI, the number of bars to calculate the current volume average from, the number of bars back to get the overall volume average from, the multiple that needs to be hit to give a signal, the position of the scanner table and which tickers are used in the scanner. There are detailed directions as tooltips in the indicator settings you can read to understand exactly what each input does.
All features are customizable as well as which tickers the screener uses.
***HOW TO USE***
Watch for volume to pick up before placing trades as this will help you stay out of the markets when price is choppy. Volume usually brings volatility so watch for the volume signals to show up on the chart. Typically when price has made a big move one direction or is consolidating and you see the volume indicator start giving signals, the market is ready to reverse or continue its current trend but move faster in that direction.
Volume Spikes
When there is a volume spike that is larger than the average of volume over the last 100+ bars(depending on your settings) multiplied by the volume amount multiplier(in your settings) then an arrow will show up on the chart. This arrow will be green if DMI is bullish and red if DMI is bearish.
Volume Growth
A Background color will appear when the average volume over the last 5 bars(depending on your settings) is higher than the average volume over the last 100+ bars(depending on your settings) and is greater than your multiple. It will also paint the background when the volume moving average has increased over the last 3 bars consecutively. The background colors will be red or green depending on buy & sell pressure(DMI). If the background color appears, then you know volume is growing and volatility is near.
Volume Scanner
The scanner can be customized to have all of your favorite tickers by changing the tickers used in the indicator settings at the bottom. When no volume growth or spikes are detected, the ticker will show as light blue. When volume spikes or growth is detected, the ticker will turn orange to notify you.
Alerts
You can set up alerts as well when there is volume growth, bullish volume spikes and bearish volume spikes on any chart or timeframe.
Indicator Settings
Settings will need to be adjusted across different tickers as some have large swings in volume and some stay pretty even, so make sure to set up different chart layouts with settings that work for each ticker and save them individually so you don’t have to reset these values every time you switch charts.
***MARKETS***
This indicator can be used as a signal on all markets, including stocks, crypto, futures and forex as long as Tradingview has volume and DMI data for that ticker.
***TIMEFRAMES***
This volume spike indicator can be used on all timeframes as long as there is enough data for Tradingview to use for calculations.
***TIPS***
Try using numerous indicators of ours on your chart so you can instantly see the bullish or bearish trend of multiple indicators in real time without having to analyze the data. Some of our favorites are our Auto Fibonacci, Volume Profile, Momentum, Auto Support And Resistance and Money Flow Index in combination with this Volume Growth indicator. They all have real time Bullish and Bearish labels as well so you can immediately understand each indicator's trend.
Volume Spread Analysis [TANHEF]Volume Spread Analysis: Understanding Market Intentions through the Interpretation of Volume and Price Movements.
█ Simple Explanation:
The Volume Spread Analysis (VSA) indicator is a comprehensive tool that helps traders identify key market patterns and trends based on volume and spread data. This indicator highlights significant VSA patterns and provides insights into market behavior through color-coded volume/spread bars and identification of bars indicating strength, weakness, and neutrality between buyers and sellers. It also includes powerful volume and spread forecasting capabilities.
█ Laws of Volume Spread Analysis (VSA):
The origin of VSA begins with Richard Wyckoff, a pivotal figure in its development. Wyckoff made significant contributions to trading theory, including the formulation of three basic laws:
The Law of Supply and Demand: This fundamental law states that supply and demand balance each other over time. High demand and low supply lead to rising prices until demand falls to a level where supply can meet it. Conversely, low demand and high supply cause prices to fall until demand increases enough to absorb the excess supply.
The Law of Cause and Effect: This law assumes that a 'cause' will result in an 'effect' proportional to the 'cause'. A strong 'cause' will lead to a strong trend (effect), while a weak 'cause' will lead to a weak trend.
The Law of Effort vs. Result: This law asserts that the result should reflect the effort exerted. In trading terms, a large volume should result in a significant price move (spread). If the spread is small, the volume should also be small. Any deviation from this pattern is considered an anomaly.
█ Volume and Spread Analysis Bars:
Display: Volume and/or spread bars that consist of color coded levels. If both of these are displayed, the number of spread bars can be limited for visual appeal and understanding, with the spread bars scaled to match the volume bars. While automatic calculation of the number of visual bars for auto scaling is possible, it is avoided to prevent the indicator from reloading whenever the number of visual price bars on the chart is adjusted, ensuring uninterrupted analysis. A displayable table (Legend) of bar colors and levels can give context and clarify to each volume/spread bar.
Calculation: Levels are calculated using multipliers applied to moving averages to represent key levels based on historical data: low, normal, high, ultra. This method smooths out short-term fluctuations and focuses on longer-term trends.
Low Level: Indicates reduced volatility and market interest.
Normal Level: Reflects typical market activity and volatility.
High Level: Indicates increased activity and volatility.
Ultra Level: Identifies extreme levels of activity and volatility.
This illustrates the appearance of Volume and Spread bars when scaled and plotted together:
█ Forecasting Capabilities:
Display: Forecasted volume and spread levels using predictive models.
Calculation: Volume and Spread prediction calculations differ as volume is linear and spread is non-linear.
Volume Forecast (Linear Forecasting): Predicts future volume based on current volume rate and bar time till close.
Spread Forecast (Non-Linear Dynamic Forecasting): Predicts future spread using a dynamic multiplier, less near midpoint (consolidation) and more near low or high (trending), reflecting non-linear expansion.
Moving Averages: In forecasting, moving averages utilize forecasted levels instead of actual levels to ensure the correct level is forecasted (low, normal, high, or ultra).
The following compares forecasted volume with actual resulting volume, highlighting the power of early identifying increased volume through forecasted levels:
█ VSA Patterns:
Criteria and descriptions for each VSA pattern are available as tooltips beside them within the indicator’s settings. These tooltips provide explanations of potential developments based on the volume and spread data.
Signs of Strength (🟢): Patterns indicating strong buying pressure and potential market upturns.
Down Thrust
Selling Climax
No Effort → Bearish Result
Bearish Effort → No Result
Inverse Down Thrust
Failed Selling Climax
Bull Outside Reversal
End of Falling Market (Bag Holder)
Pseudo Down Thrust
No Supply
Signs of Weakness (🔴): Patterns indicating strong selling pressure and potential market downturns.
Up Thrust
Buying Climax
No Effort → Bullish Result
Bullish Effort → No Result
Inverse Up Thrust
Failed Buying Climax
Bear Outside Reversal
End of Rising Market (Bag Seller)
Pseudo Up Thrust
No Demand
Neutral Patterns (🔵): Patterns indicating market indecision and potential for continuation or reversal.
Quiet Doji
Balanced Doji
Strong Doji
Quiet Spinning Top
Balanced Spinning Top
Strong Spinning Top
Quiet High Wave
Balanced High Wave
Strong High Wave
Consolidation
Bar Patterns (🟡): Common candlestick patterns that offer insights into market sentiment. These are required in some VSA patterns and can also be displayed independently.
Bull Pin Bar
Bear Pin Bar
Doji
Spinning Top
High Wave
Consolidation
This demonstrates the acronym and descriptive options for displaying bar patterns, with the ability to hover over text to reveal the descriptive text along with what type of pattern:
█ Alerts:
VSA Pattern Alerts: Notifications for identified VSA patterns at bar close.
Volume and Spread Alerts: Alerts for confirmed and forecasted volume/spread levels (Low, High, Ultra).
Forecasted Volume and Spread Alerts: Alerts for forecasted volume/spread levels (High, Ultra) include a minimum percent time elapsed input to reduce false early signals by ensuring sufficient bar time has passed.
█ Inputs and Settings:
Display Volume and/or Spread: Choose between displaying volume bars, spread bars, or both with different lookback periods.
Indicator Bar Color: Select color schemes for bars (Normal, Detail, Levels).
Indicator Moving Average Color: Select schemes for bars (Fill, Lines, None).
Price Bar Colors: Options to color price bars based on VSA patterns and volume levels.
Legend: Display a table of bar colors and levels for context and clarity of volume/spread bars.
Forecast: Configure forecast display and prediction details for volume and spread.
Average Multipliers: Define multipliers for different levels (Low, High, Ultra) to refine the analysis.
Moving Average: Set volume and spread moving average settings.
VSA: Select the VSA patterns to be calculated and displayed (Strength, Weakness, Neutral).
Bar Patterns: Criteria for bar patterns used in VSA (Doji, Bull Pin Bar, Bear Pin Bar, Spinning Top, Consolidation, High Wave).
Colors: Set exact colors used for indicator bars, indicator moving averages, and price bars.
More Display Options: Specify how VSA pattern text is displayed (Acronym, Descriptive), positioning, and sizes.
Alerts: Configure alerts for VSA patterns, volume, and spread levels, including forecasted levels.
█ Usage:
The Volume Spread Analysis indicator is a helpful tool for leveraging volume spread analysis to make informed trading decisions. It offers comprehensive visual and textual cues on the chart, making it easier to identify market conditions, potential reversals, and continuations. Whether analyzing historical data or forecasting future trends, this indicator provides insights into the underlying factors driving market movements.
Volume Spectrum Candles"Volume Spectrum Candles" is a visually intuitive trading indicator that enhances candlestick charts by incorporating trading volume directly into the color of each candle.
Purpose and Utility:
This tool assigns a unique color gradient to candlesticks, which varies from light to dark based on the volume of trades executed. This feature allows traders to immediately recognize and differentiate periods of varying trading activity at a glance.
Target User:
It is specifically designed for traders who integrate volume analysis into their trading strategies, offering a seamless blend of visual cues and technical data.
Benefits:
By providing a visual representation of volume intensity, traders can more effectively identify key market movements, helping to determine optimal entry and exit points. The color gradation adds a layer of quick analysis, making it easier to spot trends in trading volume without the need for additional indicators.
Application and Versatility:
Whether used by day traders to capture short-term price movements or by long-term investors to gauge broader market sentiment, "Volume Spectrum Candles" serves as a valuable addition to any trading setup.
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






















