Time & volume point of control / quantifytoolsWhat are TPOC & VPOC?
TPOC (time point of control) and VPOC (volume point of control) are points in price where highest amount of time/volume was traded. This is considered key information in a market profile, as it shows where market participant interest was highest. Unlike full fledged market profile that shows total time/volume distribution, this script shows the points of control for each candle, plotted with a line (time) and a dot (volume). The script hides your candles/bars by default and forms a line in the middle representing candle range. In case of candles, borders will still be visible. This feature can be turned off in the settings.
Volume and time data are fetched from a lower timeframe that is automatically adjusted to fit the timeframe you're using. By default, the following settings are applied:
Charts <= 30 min: 1 minute timeframe
Charts > 30 min & <= 3 hours : 5 minute timeframe
Charts > 3 hours & <= 8 hours : 15 minute timeframe
Charts > 8 hours & <= 1D: 1 hour timeframe
Charts > 1D & <= 3D : 2 hour timeframe
Charts > 3D: 4 hour timeframe
Timeframe settings can be changed via input menu. The lower the timeframe, the more precision you get but with the cost of less historical data and slower loading time. Users can also choose which source to use for determining price for points of control, e.g. using close as source, the point of control is set to match the value of lower timeframe candle close. This could be replaced with OHLC4 for example, resulting in a point of control based on OHLC average.
To identify more profound points of market participant interest, TPOC & VPOC as percentage of total time/volume thresholds can be set via input menu. When a point of control is equal to or greater than the set percentage threshold, visual elements will be highlighted in a different color, e.g. 50% VPOC threshold will activate a highlight whenever volume traded at VPOC is equal to or greater than 50% of total volume. All colors are customizable.
VPOC is defined by fetching lower timeframe candle with the most amount of volume traded and using its close (by default) as a mark for point of control. For TPOC, each candle is divided into 10 lots which are used for calculating amount of closes taking place within the bracket values. The lot with highest amount of closes will be considered a point of control. This mark is displayed in the middle point of a lot:
How to utilize TPOC & VPOC
Example #1: Trapped market participants
One or both points of control at one end of candle range (wick tail) and candle close at the other end serves as an indication of market participants trapped in an awkward position. When price runs away further from these trapped participants, they are eventually forced to cover and drive price even further to the opposite direction:
Example #2: Trend initiation
A large move that leaves TPOC behind while VPOC is supportive serves as an indication of a trend initiation. Essentially, this is one way to identify an event where price traded sideways most of the time and suddenly moved away with volume:
Example #3: POC supported trend
A trend is healthy when it's supported by a point of control. Ideally you want to see either time or volume supporting a trend:
스크립트에서 "point of control"에 대해 찾기
Bearish signal using Point of Control (POC) with PAC by guruThis indicator code helps traders identify potential sell opportunities using several important technical indicators:
Point of Control (POC) – This is the price level where the most volume was traded over the past several days.
Previous Day's Low – This shows the lowest price reached during the previous day.
PAC (Price Action Channel) EMA – These are two moving averages (one based on the low price and one based on the close price) that help determine if the price is trending within a certain range.
Volume SMA – This is a 3-day simple moving average (SMA) of volume, which helps filter out signals based on market activity.
What the Script Does:
Point of Control (POC):
The script looks at the last 50 days (configurable) and calculates which price level had the highest trading volume.
It then plots a red line on the chart at the POC level. This is important because it helps identify areas where there was strong market interest in the past.
Volume Moving Average:
The script calculates a 3-day SMA of volume, but it excludes the current day to avoid premature signals based on today’s trading.
The volume SMA is used to ensure there’s enough market activity (with a threshold set to 25 units) before triggering a sell signal.
Price Action Channel (PAC) EMA:
The PAC consists of two exponential moving averages (EMAs):
The PAC Low EMA: This is based on the low prices over the last 34 periods (configurable).
The PAC Close EMA: This is based on the closing prices over the last 34 periods.
These EMAs help determine if the price is trending above or below certain price levels.
Sell Signal Logic: The script checks three conditions before displaying a "Sell" signal:
Price Below POC and Previous Day’s Low:
The close price must be below both the Point of Control (POC) and the previous day's low.
Volume SMA Above 25:
The 3-day volume SMA must be greater than 25. This ensures the signal only triggers when there’s enough trading volume in the market.
Today’s Low is Above PAC EMAs:
Today's low price must be above both the PAC low EMA and the PAC close EMA. This prevents sell signals when prices are already significantly below the PAC, indicating possible exhaustion in the downtrend.
If all three conditions are met, the script will display a red "Sell" label on the chart, signaling a potential selling opportunity.
No Sell Signal if Price Reverses:
If the price crosses back above the POC or the previous day's low, the script will remove the sell signal and reset for a new opportunity.
Summary of Conditions:
For the script to display a "Sell" label:
The close price must be below the Point of Control (POC) and the previous day’s low.
The 3-day volume SMA (excluding today) must be greater than 25 units.
The low price of the current day must be above both the PAC low EMA and the PAC close EMA.
If these conditions are met, a red sell label appears on the chart as a potential signal for a short (sell) trade.
Rolling Point of Control (POC) [AlgoAlpha]Enhance your trading decisions with the Rolling Point of Control (POC) Indicator designed by AlgoAlpha! This powerful tool displays a dynamic Point of Control based on volume or price profiles directly on your chart, providing a vivid depiction of dominant price levels according to historical data. 🌟📈
🚀 Key Features:
Profile Type Selection: Choose between Volume Profile and Price Profile to best suit your analysis needs.
Adjustable Lookback Period: Modify the lookback period to consider more or less historical data for your profile.
Customizable Resolution and Scale: Tailor the resolution and horizontal scale of the profile for precision and clarity.
Trend Analysis Tools: Enable trend analysis with the option to display a weighted moving average of the POC.
Color-Coded Feedback: Utilize color gradients to quickly identify bullish and bearish conditions relative to the POC.
Interactive Visuals: Dynamic rendering of profiles and alerts for crossing events enhances visual feedback and responsiveness.
Multiple Customization Options: Smooth the POC line, toggle profile and fill visibility, and choose custom colors for various elements.
🖥️ How to Use:
🛠 Add the Indicator:
Add the indicator to favorites and customize settings like profile type, lookback period, and resolution to fit your trading style.
📊 Market Analysis:
Monitor the POC line for significant price levels. Use the histogram to understand price distributions and locate major market pivots.
🔔 Alerts Setup:
Enable alerts for price crossing over or under the POC, as well as for trend changes, to stay ahead of market movements without constant chart monitoring.
🛠️ How It Works:
The Rolling POC indicator dynamically calculates the Point of Control either based on volume or price within a user-defined lookback period. It plots a histogram (profile) that highlights the level at which the most trading activity has occurred, helping to identify key support and resistance levels.
Basic Logic Overview:
- Data Compilation: Gathers high, low, and volume (if volume profile selected) data within the lookback period.
- Histogram Calculation: Divides the price range into bins (as specified by resolution), counting hits in each bin to find the most frequented price level.
- POC Identification: The price level with the highest concentration of hits (or volume) is marked as the POC.
- Trend MA (Optional): If enabled, the indicator plots a moving average of the POC for trend analysis.
By integrating the Rolling Point of Control into your charting toolkit, you can significantly enhance your market analysis and potentially increase the accuracy of your trading decisions. Whether you're day trading or looking at longer time frames, this indicator offers a detailed, customizable perspective on market dynamics. 🌍💹
Volume Points of Control and No Control [NariCapitalTrading]Overview:
The "Volume Points of Control and No Control" (VPOC/VPONC) is a trading indicator/concept I designed to identify key price levels based on volume activity. It shows (on the price label on the y-axis) where there was the most (red) and the least (blue) volume over a specified lookback period. Read below for interpretation.
Key Features:
Identifies key price levels based on volume
Customizable lookback period and trade timeframe
Plots Volume Point of Control (VPOC) and Volume Point of No Control (VPONC)
Inputs and Calculations:
Custom Trade Timeframe: Allows users to set the desired timeframe for analysis (e.g., Daily, Weekly).
Lookback Period: Users can specify the period over which to analyze volume data.
VPOC Calculation: Determines the price level with the highest volume within the lookback period.
VPONC Calculation: Finds the price level with the lowest volume within the lookback period.
Indicator Usage:
The VPOC is considered a significant level where traders have shown the most interest, often acting as a strong support or resistance level. The VPONC, conversely, is a concept I made up. It represents a price level where 1) in an trending market, this price was accepted quickly, thus suggesting continuation of an trend. 2) price retracements will typically revisit thinly-traded price areas, the VPONC can sometimes signal an area of support in a downtrend.
Chart Representation:
VPOC Label: Plotted on the y-axis in red, indicating the price level with the highest volume.
VPONC Label: Displayed on the y-axis in blue, showing the price level with the least volume.
These labels are dynamically updated based on the user-specified lookback period and trade timeframe.
Quantum Volume Point of Control (VPOC)Many forex traders are familiar with the concepts of volume price analysis as enshrined in Wyckoff’s three laws of effort and result, cause and effect and supply and demand. This is the linear relationship between volume and price. Now with the Volume Point of Control, this relationship is taken to the next level adding the concept of time and inspired by the ideas behind market profile.
The Quantum Volume Point of Control, or VPOC indicator blends ALL THREE of these important aspects of trading into a single powerful and visual indicator.
The Quantum VPOC indicator takes the analysis of volume and price to a higher level, which both complements and expands the VPA relationship. Whilst the Quantum tick volumes indicator considers the relationship between a single volume bar and its associated candle on the price time x-axis or groups of candles and volume bars, the Quantum VPOC indicator analyses the density and intensity of volume over time against price. In other words, the volume price relationship on the y axis. It does this in three distinct ways as follows:
First, the Quantum VPOC indicator constructs the Volume Profile from a set number of bars in history to the most current bar. The Volume Profile is then presented as a vertical histogram shown at the right edge of the chart – a stack of horizontal bars of varying lengths, but of equal height representing the amount of activity at each price level.
Second, the Quantum VPOC analyzes the Volume Profile to find the key price levels where activity is strong and rising, or weak and falling. In other words, the indicator looks for peaks (long bars) of the Volume Profile where price tends to be attracted as these are areas where price was previously accepted. These are called High Volume Nodes (HVN). The indicator also looks for troughs or valleys (short bars) of the Volume Profile where price tends to be repelled as these are areas where price was previously rejected. These are referred to as Low Volume Nodes (LVN). Both types of price level act as precise zones of support and resistance and as such are projected across the chart within the given period.
Third, the Quantum VPOC indicator looks for the Highest Volume Node or the highest peak in the Volume Profile and marks it as the Volume Point of Control – the price level which acts as the fulcrum from which price pivots. The indicator completes its calculations and updates as each new volume bar is delivered.
The result is a chart revealing the overarching influence of volume at price, coupled with time.
The Quantum VPOC indicator displays several key pieces of information on the chart as follows:
- Volume Profile – this appears as a histogram of volume on the vertical price axis on the right-hand side of the chart. The peaks and troughs are clearly displayed highlighting both High and Low Volume nodes.
- High volume node (HVN) – this is where we have a bulge in the volume profile generally because of an extended phase of price congestion. As a result, as the market approaches these regions on the chart price action is likely to become waterlogged with further congestion likely with the node acting as a strong area of support or resistance. As we have seen a strong acceptance of price at this level in the past, this is likely to be repeated with the market swinging in a range. Ultimately the market may reverse off these levels, with any move through then confirming the current sentiment.
- Low volume node (LVN) – this is where we see low volume in the volume profile. In these regions, the market has only paused temporarily – in other words a region where price has been rejected in the past. As such we are likely to see the market move quickly through these regions with little in the way of resistance or support acting to prevent a further advance of decline in price. The current sentiment is likely to continue and build quickly through these levels.
- Support and Resistance Zones – these are drawn at the High and Low Volume nodes to highlight the various HVN and LVN levels on the price axis.
- Volume Point of Control Line – this is drawn as a single line on the highest volume of the High Volume Node in the timeframe and clearly defines the tipping point of sentiment. This moves dynamically and represents the fulcrum of market sentiment where price has reached agreement, before moving on. If it is above the price action, then the current market sentiment is bearish. If it is below the current price action, then the current market sentiment is bullish. The VPOC Line reveals this balance simply, quickly, and clearly allowing you to judge market sentiment with accuracy and confidence.
As with all the Quantum Trading indicators, the VPOC indicator is dynamic, constantly changing and updating to reflect the relentless shift in sentiment as the market moves from bullish to bearish and back again. The indicator works in all timeframes and provides a powerful and much deeper understanding of support and resistance through the prism of volume and the associated High and Low Volume Nodes, with the Point of Control itself, acting as the fulcrum of the market.
RSI with Trend LinesThe RSI with Trend Lines indicator is a tool designed to analyze the behavior of the Relative Strength Index (RSI) combined with dynamic trend lines. This indicator not only provides the standard RSI reading but also identifies pivot points on the RSI and draws bullish and bearish trend lines based on these points. It also includes customizable options for adjusting trend lines, displaying the RSI moving average, and highlighting key levels such as overbought, oversold, and the center line.
This indicator is ideal for finding and identifying clear trends in the RSI and taking advantage of market breakout or consolidation signals. It also includes a table with the POC value, which represents the price level at which the most trading activity has occurred, indicating the highest liquidity and highest trading volume.
Key Features:
1. Basic RSI:
• Calculates the RSI using a configurable period length (default 14).
• Colors the RSI based on its direction (green for rising, red for falling) and its position relative to the center line (50).
2. Key Levels:
• Displays overbought (70 and 80), oversold (20 and 30), and the center line (50) levels for easy visual interpretation.
3. RSI Moving Average:
• Enables and configures an RSI moving average (SMA, EMA, WMA, or ALMA) to smooth out fluctuations and detect clearer trends.
4. Dynamic Trend Lines:
• Identifies pivot points on the RSI and draws bullish and bearish trend lines.
• Trend lines can be extended into the future or limited to the visible range.
• Includes options to display broken lines (trends that are no longer valid) and customize the style (solid or dashed).
5. Pivot Points:
• Displays the high and low pivot points on the chart for a better understanding of trend changes.
6. Advanced Customization:
• Adjust the pivot point period.
• Control the number of pivot points to consider for trend lines.
• Customize the line thickness and style.
How to Use the Indicator:
1. RSI Interpretation:
• Overbought Zone (RSI > 70): Indicates that the asset may be overvalued and could correct downward.
• Oversold Zone (RSI < 30): Suggests that the asset may be undervalued and could rebound.
• Centerline Crossover (50): A cross above 50 indicates bullish strength, while a cross below suggests weakness.
2. Trend Lines:
• Bullish Lines: Drawn when the RSI forms ascending low pivot points. These lines represent dynamic support.
• Bearish Lines: These are drawn when the RSI forms descending high pivot points. These lines represent dynamic resistance.
• Broken Lines: When a trend line becomes invalid (the RSI breaks the line), they are displayed in a dotted style to highlight the breakout.
3. Possible Trading Signals:
• Buy: When the RSI breaks an upward downtrend line.
• Sell: When the RSI breaks a downward uptrend line.
• Trend Confirmation: When the RSI stays within a valid trend line, it suggests that the current trend is strong.
4. A chart with the POC value:
• The point of control is a price level at which the highest trading volume occurs in a given time period. It is a key component of the Volume Profile indicator, which displays volume by price.
• Use of the POC in trading:
• The POC is used to identify areas of high interest and liquidity for trading.
• The POC provides information about the equilibrium point where buyers and sellers are most evenly matched.
• Therefore, it can be considered a zone of interest, meaning it can act as support or resistance.
Dynamic Point of Control (POC)The Dynamic Point of Control (POC) indicator provides traders and analysts with insightful information about price levels, volume distribution, and sentiment within a specified historical range.
Instant Updates : POC recalculates with every new bar, keeping you ahead of the game.
Market Bias : Assess market sentiment through bullish volume share.
Customization : Tailor inputs to match your unique trading strategy.
Chart Presence : See POC and related data graphically on your price chart.
How to Use :
Traders can use the Dynamic POC indicator to identify Point of Control price level, understand volume distribution, and gauge market sentiment. The indicator's visual cues and customizable parameters make it a valuable tool for technical analysis and decision-making.
Volume Profile Auto POC📌 Overview
Volume Profile Auto POC is a trend-following strategy that uses the automatically calculated Point of Control (POC) from the volume profile, combined with ATR zones, to capture reversals and breakouts.
By basing decisions on volume concentration, it dynamically visualizes the price levels most watched by market participants.
⚠️ This strategy is provided for educational and research purposes only.
Past performance does not guarantee future results.
🎯 Strategy Objectives
Automatically detect the volume concentration area (POC) to improve entry accuracy
Optimize risk management through ATR-based volatility adjustment
Provide early and consistent signals when trends emerge
✨ Key Features
Automatic POC Detection : Updates the volume profile over a defined lookback window in real time
ATR Zone Integration : Defines a POC ± 0.5 ATR zone to clarify potential reversals/breakouts
Visual Support : Plots the POC line and zones on the chart for intuitive decision-making
📊 Trading Rules
Long Entry:
Price breaks above the POC + 0.5 ATR zone
Volume is above average to support the breakout
Short Entry:
Price breaks below the POC - 0.5 ATR zone
Volume is above average to support the downside move
Exit (or Reverse Position):
Price returns to the POC area
Or touches the ATR band
⚙️ Trading Parameters & Considerations
Indicator Name: Volume Profile Auto POC
Parameters:
Lookback Bars: 50
Bins for Volume Profile: 24
ATR Length: 14
ATR Multiplier: 2.0
🖼 Visual Support
POC line plotted in red
POC ± 0.5 ATR zone displayed as a semi-transparent box
ATR bands plotted in blue for confirmation
🔧 Strategy Improvements & Uniqueness
This strategy is inspired by traditional Volume Profile + ATR analysis,
while adding the improvement of a sliding-window mechanism for automatic POC updates.
Compared with conventional trend-following approaches,
its strength lies in combining both price and volume perspectives for decision-making.
✅ Summary
Volume Profile Auto POC automatically extracts key market levels (POC) and combines them with ATR-based zones,
providing a responsive trend-following method.
It balances clarity with practicality, aiming for both usability and reproducibility.
⚠️ This strategy is based on historical data and does not guarantee future profits.
Always use proper risk management when applying it.
Volume Point of Control with Fib Based Profile🍀Description:
This indicator is a comprehensive volume profile analysis tool designed to identify key price levels based on trading activity within user-defined timeframes. It plots the Point of Control (POC), Value Area High (VAH), and Value Area Low (VAL), along with dynamically calculated Fibonacci levels derived from the developing period's range. It offers extensive customization for both historical and developing levels.
🍀Core Features:
Volume Profiling (POC, VAH, VAL):
Calculates and plots the POC (price level with the highest volume), VAH, and VAL for a selected timeframe (e.g., Daily, Weekly).
The Value Area percentage is configurable. 70% is common on normal volume profiles, but this script allows you to configure multiple % levels via the fib levels. I recommend using 2 versions of this indicator on a chart, one has Value Area at 1 (100% - high and low of lookback) and the second is a specified VA area (i.e. 70%) like in the chart snapshot above. See examples at the bottom.
Historical Levels:
Plots POC, VAH, and VAL from previous completed periods.
Optionally displays only "Unbroken" levels – historical levels that price has not yet revisited, which can act as stronger magnets or resistance/support.
The user can manage the number of historical lines displayed to prevent chart clutter.
Developing Levels:
Shows the POC, VAH, and VAL as they form in real-time during the current, incomplete period. This provides insight into intraday/intra-period value migration.
Dynamic Fibonacci Levels:
Calculates and plots Fibonacci retracement/extension levels based dynamically on the range between the developing POC and the developing VAH/VAL.
Offers 8 configurable % levels above and below POC that can be toggled on/off.
Visual Customization:
Extensive options for colors, line styles, and widths for all plotted levels.
Optional gradient fill for the Value Area that visualizes current price distance from POC - option to invert the colors as well.
Labels for developing levels and Fibonacci levels for easy identification.
🍀Characteristics:
Volume-Driven: Levels are derived from actual trading volume, reflecting areas of high participation and price agreement/disagreement.
Timeframe Specific: The results are entirely dependent on the chosen profile timeframe.
Dynamic & Static Elements: Developing levels and Fibs update live, while historical levels remain fixed once their period closes.
Lagging (Historical) & Potentially Leading: Historical levels are based on the past, but are often respected by future price action. Developing levels show current dynamics.
🍀How to Use It:
Identifying Support & Resistance: Historical and developing POCs, VAHs, and VALs are often key areas where price may react. Unbroken levels are particularly noteworthy.
Market Context & Sentiment: Trading above the POC suggests bullish strength/acceptance of higher prices, while trading below suggests bearishness/acceptance of lower prices.
Entry/Exit Zones: Interactions with these levels (rejections, breakouts, tests) can provide potential entry or exit signals, especially when confirming with other analysis methods.
Dynamic Targets: The Fibonacci levels calculated from the developing POC-VA range offer potential intraday/intra-period price targets or areas of interest.
Understanding Value Migration: Observing the movement of the developing POC/VAH/VAL throughout the period reveals where value is currently being established.
🍀Potential Drawbacks:
Input Sensitivity: The choice of timeframe, Value Area percentage, and volume resolution heavily influences the generated levels. Experimentation is needed for optimal settings per instrument/market. (I've found that Range Charts can provide very accurate volume levels on TV since the time element is removed. This helps to refine the accuracy of price levels with high volume.)
Volume Data Dependency: Requires accurate volume data. May be less reliable on instruments with sparse or questionable volume reporting.
Chart Clutter: Enabling all features simultaneously can make the chart busy. Utilize the line management inputs and toggle features as needed.
Not a Standalone Strategy: This indicator provides context and key levels. It should be used alongside other technical analysis tools and price action reading for robust decision-making.
Developing Level Fluctuation: Developing POC/VA/Fib levels can shift considerably, especially early in a new period, before settling down as more volume accumulates and time passes.
🍀Recommendations/Examples:
I recommend have this indicator on your chart twice, one has the VA set at 1 (100%) and has the fib levels plotted. The second has the VA set to 0.7 (70%) to highlight the defined VA.
Here is an example with 3 on a chart. VA of 100%, VA of 80%, and VA of 20%
Moving point of controlLibrary "moving_poc"
method getMovingPoc(averagePriceByVolumeHistory, ltfVolumeSerie, ltfPriceSerie, nbBarsToLookback)
Volume point of control (PoC) extracted from lower time frame data and previous time period
Namespace types: array
Parameters:
averagePriceByVolumeHistory (array) : An array of float to record previous PoC average
ltfVolumeSerie (array) : Source of volume for the lower timeframe (ltf)
ltfPriceSerie (array) : Source of price for the lower timeframe
nbBarsToLookback (int) : A number of bars determining the lookback period of this PoC
Returns: Serie of PoC
Point of Control V2 The genesis of this project was to create a POC library that would be available to deliver volume profile information via pine to other scripts of indicators and strategies.
This is a republish of an invite only script to open access
This is the indicator version of the library function.
A few points of significance:
- Allows the choice of reset of the study period, day/week or bars. This is simple enough to expand to other conditions
- Bar count resets starting from the beginning of the data set (bar index =0) vs bars back from the end of the data set
- A 'period' in this context is the time between resets - the start of the POC (eg. start of Day or Week) until it resets (for example at the beginning of a next day or week)
- Automates the determination of the increment level rather than the user specifying ticks or price brackets
- Does not allow for setting the # of rows and then calculating the implied price increment levels
- When a period is complete it is often useful to look back at the POCs of historical periods, or extend them forward.
- This script will find the historical POCs around the current price and display them rather than extend all the historical POC lines to the right
- This script also looks across all the period POCs and identifies the master POC or what I call the Grand POC, and also the next 3 runner up POCs
This indicator is also available as a library.
BINANCE:BTCUSDT NSE:NIFTY OANDA:XAUUSD NASDAQ:AAPL TVC:USOIL
Point Of ControlStrategy and indicators are explained on the Chart.
Here's how i read the chart.
Entry:
1. Let the price close above the Ichimoku cloud
2. Price is above Volume Support zone
2. Make sure that momentum indicated with Green Triangles for Long Position
Exit:
1. Orange cross at the bottom of the candle indicates price is about to weaken
2. Best time to exit is Volume Resistance + Bearish(Hammer or Engulf )
PS: Use it along with R-Smart for better results
Enhanced Volume Profile█ OVERVIEW
The Enhanced Volume Profile (EVP) is an indicator designed to plot a volume profile on the chart based on either the visible chart range or a fixed lookback period. The script helps analyze the distribution of volume at different price levels over time, providing insights into areas of high trading activity and potential support/resistance zones.
█ KEY FEATURES
1. Visible Chart Range vs. Fixed Lookback Depth
Visible Chart Range
- Default analysis mode
- Calculates profile based on visible portion of the chart
- Dynamically updates with chart view changes
Fixed Lookback Depth
- Optional alternative to visible range
- Uses specified number of bars (10-3000)
- Provides consistent analysis depth
- Independent of chart view
2. Custom Resolution
Auto-Resolution Mode
Automatically selects timeframes based on chart's current timeframe:
≤ 1 minute: Uses 1-minute resolution
≤ 5 minutes: Uses 1-minute resolution
≤ 15 minutes: Uses 5-minute resolution
≤ 1 hour: Uses 5-minute resolution
≤ 4 hours: Uses 15-minute resolution
≤ 12 hours: Uses 15-minute resolution
≤ 1 day: Uses 1-hour resolution
≤ 3 days: Uses 2-hours resolution
≤ 1 week: Uses 4-hours resolution
Custom Resolution Override
Optional override of auto-resolution system
Provides control over data granularity
Must be lower than or equal to chart's timeframe
Falls back to auto-resolution if validation fails
3. Volume Profile Resolution
Adjustable number of points (10-400)
Controls profile granularity
Higher resolution provides more detail
Balance between precision and performance
4. Point of Control (PoC)
Identifies price level with highest traded volume
Optional display with customizable appearance
Adjustable line thickness (1-30)
Configurable color
5. Value Area (VA)
Shows price range of majority trading volume
Adjustable coverage (5-95%), default is 68%
Customizable boundary lines
Configurable lines color and thickness (1-20)
█ INPUT PARAMETERS
Lookback Settings
Use Visible Chart Range
- Default: true
- Calculates profile based on visible bars
- Ideal for focused analysis
Fixed Lookback Bars
- Range: 10-3000
- Default: 200
- Used when visible range is disabled
Resolution Settings
Enable Custom Resolution
- Default: false
- Overrides auto-resolution
Custom Resolution
- Default: 1-minute
- Changes automatically when "Enable Custom Resolution" is disabled
Volume Profile Appearance
Profile Resolution
- Range: 10-400
- Default: 200
- Controls detail level
Profile Width Scale
- Range: 1-50
- Default: 15
- Adjusts profile width
Right Offset
- Range: 0-500
- Default: 20
- Controls spacing from price bars
Profile Fill Color
- Default: #5D606B (70% transparency)
Point of Control Settings
Show Point of Control
- Default: true
- Toggles PoC visibility
PoC Line Thickness
- Range: 1-30
- Default: 1
PoC Line Color
- Default: Red
Value Area Settings
Show Value Area
- Default: true
- Toggles VA lines
Value Area Coverage
- Range: 5-95%
- Default: 68%
Value Area Line Color
- Default: Blue
Value Area Line Thickness
- Range: 1-20
- Default: 1
█ TECHNICAL IMPLEMENTATION DETAILS
Exceeding Bars Management
The script dynamically adjusts the number of bars used in the volume profile calculation based on the selected timeframe and the maximum allowed bars (max_bars_back).
If the total number of bars exceeds the predefined threshold (6000 bars), the script reduces the lookback period (lookback_bars) by trimming some of the historical data, ensuring the chart does not become overloaded with data.
The adjustment is made based on the ratio of bars per candle (bars_per_candle), ensuring that the volume profile remains computationally efficient while maintaining its relevance.
█ EXAMPLE USE CASES
1. Visible Range Mode
For analyzing a recent trend and focusing on only the visible part of the chart, enabling the "Use Visible Chart Range" option calculates the profile based on the current view, without considering historical data outside the visible area.
2. Fixed Lookback Depth
For analyzing a specific period in the past (e.g., the last 200 bars), disabling the visible range and setting a fixed lookback depth of 200 bars ensures the profile always considers the last 200 bars, regardless of the visible range.
3. Custom Resolution
If there’s a need for greater control over the timeframe used for volume profile calculations (e.g., using a 5-minute resolution on a 15-minute chart), enabling custom resolution and setting the desired timeframe provides this control.
HAPPY TRADING ✌️
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
Extreme Zone Volume ProfileExtreme Zone Volume Profile (EZVP)
Originality & Innovation
The Extreme Zone Volume Profile (EZVP) revolutionizes traditional volume profile analysis by applying statistical zone classification to volume distribution. Unlike standard volume profiles that display raw volume data, EZVP segments the price range into statistically meaningful zones based on percentile thresholds, allowing traders to instantly identify where volume concentration suggests strong support/resistance versus areas of potential breakout.
Technical Methodology
Core Algorithm:
Distributes volume across user-defined bins (20-200) over a lookback period
Calculates volume-weighted price levels for each bin
Applies percentile-based zone classification to the price range (not volume ranking)
Zone B (extreme zones): Outer percentile tails representing potential rejection areas
Zone A (significant zones): Secondary percentile bands indicating strong interest levels
Center Zone: Bulk trading range where most price discovery occurs
Mathematical Foundation:
The script uses price-range percentiles rather than volume percentiles. If the total price range is divided into 100%, Zone B captures the extreme price tails (default 2.5% each end ≈ 2 standard deviations), Zone A captures the next significant bands (default 14% each ≈ 1 standard deviation), leaving the center for normal distribution trading.
Key Calculations:
POC (Point of Control): Price level with maximum volume accumulation
Volume-weighted mean price: Total volume × price / total volume
Median price: Geometric center of the price range
Rightward-projected bars: Volume bars extend forward from current time to avoid historical chart clutter
Trading Applications
Zone Interpretation:
Zone B (Red/Green): Extreme price levels where volume suggests strong rejection potential. Price reaching these zones often indicates overextension and possible reversal points.
Zone A (Orange/Teal): Significant support/resistance areas with substantial volume interest. These levels often act as intermediate targets or consolidation zones.
Center (Gray): Fair value area where most trading occurs. Price tends to return to this range during normal market conditions.
Strategic Usage:
Reversal Trading: Look for rejection signals when price enters Zone B areas
Breakout Confirmation: Volume expansion beyond Zone B boundaries suggests genuine breakouts
Support/Resistance: Zone A boundaries often provide reliable entry/exit levels
Mean Reversion: Price tends to gravitate toward the volume-weighted mean and POC lines
Unique Value Proposition
EZVP addresses three key limitations of traditional volume profiles:
Visual Clarity: Standard profiles can be cluttered and difficult to interpret quickly. EZVP's color-coded zones provide instant visual feedback about price significance.
Statistical Framework: Rather than relying on subjective interpretation of volume nodes, EZVP applies objective percentile-based classification, making support/resistance identification more systematic.
Forward-Looking Display: Rightward-projecting bars keep historical price action clean while maintaining current market structure visibility.
Configuration Guide
Lookback Period (10-1000): Controls the historical depth of volume calculation. Shorter periods for intraday scalping, longer for swing trading.
Number of Bins (20-200): Resolution of volume distribution. Higher values provide more granular analysis but may create noise on lower timeframes.
Zone Percentages:
Zone B: Extreme threshold (default 2.5% = ~2σ statistical significance)
Zone A: Significant threshold (default 14% = ~1σ statistical significance)
Visual Controls: Toggle individual elements (POC, median, mean, zone lines) to customize display complexity for your trading style.
Technical Requirements
Pine Script v6 compatible
Maximum bars back: 5000 (ensures sufficient historical data)
Maximum boxes: 500 (supports high-resolution bin counts)
Maximum lines: 50 (accommodates all zone and reference lines)
This indicator synthesizes volume profile theory with statistical zone analysis, providing a quantitative framework for identifying high-probability support/resistance levels based on volume distribution patterns rather than arbitrary price levels.
Volume Range Profile with Fair Value (Zeiierman)█ Overview
The Volume Range Profile with Fair Value (Zeiierman) is a precision-built volume-mapping tool designed to help traders visualize where institutional-level activity is occurring within the price range — and how that volume behavior shifts over time.
Unlike traditional volume profiles that rely on fixed session boundaries or static anchors, this tool dynamically calculates and displays volume zones across both the upper and lower ends of a price range, revealing point-of-control (POC) levels, directional volume flow, and a fair value drift line that updates live with each candle.
You’re not just looking at volume anymore. You’re dissecting who’s in control — and at what price.
⚪ In simple terms:
Upper Zone = The upper portion of the price range, showing concentrated volume activity — typically where selling or distribution may occur
Lower Zone = The lower portion of the price range, highlighting areas of high volume — often associated with buying or accumulation
POC Bin = The bin (price level) with the highest traded volume in the zone — considered the most accepted price by the market
Fair Value Trend = A dynamic trend line tracking the average POC price over time — visualizing the evolving fair value
Zone Labels = Display real-time breakdown of buy/sell volume within each zone and inside the POC — revealing who’s in control
█ How It Works
⚪ Volume Zones
Upper Zone: Anchored at the highest high in the lookback period
Lower Zone: Anchored at the lowest low in the lookback period
Width is user-defined via % of range
Each zone is divided into a series of volume bins
⚪ Volume Bins (Histograms)
Each zone is split into N bins that show how much volume occurred at each level:
Taller = More volume
The POC bin (Point of Control) is highlighted
Labels show % of volume in the POC relative to the whole zone
⚪ Buy vs Sell Breakdown
Each volume bin is split by:
Buy Volume = Close ≥ Open
Sell Volume = Close < Open
The script accumulates these and displays total Buy/Sell volume per zone.
⚪ Fair Value Drift Line
A POC trend is plotted over time:
Represents where volume was most active across each range
Color changes dynamically — green for rising, red for falling
Serves as a real-time fair value anchor across changing market structure
█ How to Use
⚪ Identify Key Control Zones
Use Upper/Lower Zone structures to understand where supply and demand is building.
Zones automatically adapt to recent highs/lows and re-center volume accordingly.
⚪ Follow Institutional Activity
Watch for POC clustering near price tops or bottoms.
Large volumes near extremes may indicate accumulation or distribution.
⚪ Spot Fair Value Drift
The fair value trend line (average POC price) gives insight into market equilibrium.
One strategy can be to trade a re-test of the fair value trend, trades are taken in the direction of the current trend.
█ Understanding Buy & Sell Volume Labels (Zone Totals)
These labels show the total buy and sell volume accumulated within each zone over the selected lookback period:
Buy Vol (green label) → Total volume where candles closed bullish
Sell Vol (red label) → Total volume where candles closed bearish
Together, they tell you which side dominated:
Higher Buy Vol → Bullish accumulation zone
Higher Sell Vol → Bearish distribution zone
This gives a quick visual insight into who controlled the zone, helping you spot areas of demand or supply imbalance.
█ Understanding POC Volume Labels
The POC (Point of Control) represents the price level where the most volume occurred within the zone. These labels break down that volume into:
Buy % – How much of the volume was buying (price closed up)
Sell % – How much was selling (price closed down)
Total % – How much of the entire zone’s volume happened at the POC
Use it to spot strong demand or supply zones:
High Buy % + High Total % → Strong buying interest = likely support
High Sell % + High Total % → Strong selling pressure = likely resistance
It gives a deeper look into who was in control at the most important price level.
█ Why It’s Useful
Track where fair value is truly forming
Detect aggressive volume accumulation or dumping
Visually split buyer/seller control at the most relevant price levels
Adapt volume structures to current trend direction
█ Settings Explained
Lookback Period: Number of bars to scan for highs/lows. Higher = smoother zones, Lower = reactive.
Zone Width (% of Range): Controls how much of the range is used to define each zone. Higher = broader zones.
Bins per Zone: Number of volume slices per zone. Higher = more detail, but heavier on resources.
-----------------
Disclaimer
The content provided in my scripts, indicators, ideas, algorithms, and systems is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
Volume Profile (PRO) [ActiveQuants]The Volume Profile (PRO) indicator is an advanced analytical tool designed to provide traders with a deep understanding of market dynamics by displaying trading activity across different price levels over a specified period. By meticulously plotting volume distribution , this indicator helps identify significant price zones, such as areas of high acceptance ( High Volume Nodes - HVNs ), rejection ( Low Volume Nodes - LVNs ), Volume Peaks Clusters , Volume Troughs Clusters , the Point of Control (POC) , and the Value Area (VA) . This insight is crucial for spotting potential support/resistance levels, assessing market sentiment, and making more informed trading decisions.
This indicator operates on the principle that price levels with higher traded volume hold greater significance, often acting as pivotal points for future price movements. Conversely, areas with low volume typically indicate less agreement on price, leading to quicker price transitions. The Volume Profile (PRO) offers extensive customization to tailor the analysis to your specific needs and trading style.
█ KEY FEATURES
Comprehensive Volume Analysis: Visualize volume distribution horizontally, revealing key price levels based on actual traded volume.
Dynamic Profile Calculation: Uses a rolling lookback period to keep the profile relevant to recent price action.
Point of Control (POC): Automatically identifies and plots the price level with the highest traded volume within the profile period. Available as a "Regular" (fixed for the current profile) or "Developing" line that tracks its evolution bar-by-bar.
Value Area (VA): Highlights the price range where a specified percentage (typically 70%) of the total volume was traded. Also available as "Regular" or "Developing" VAH (Value Area High) and VAL (Value Area Low) lines.
High and Low Volume Nodes (HVNs & LVNs): Option to automatically detect and highlight a specified number of the highest volume concentration zones (HVNs) and lowest volume zones (LVNs) within the profile. These are crucial for identifying support/resistance and areas of potential quick price movement.
Volume Peaks and Troughs Detection: Identify statistically significant high-volume (Peaks) and low-volume (Troughs) rows relative to their neighbors, either as single rows or clusters. These can pinpoint precise levels of interest.
Multiple Volume Display Types: Choose to display volume as:
- Up/Down: Shows buying and selling volume side-by-side for each row.
- Total: Shows the aggregate volume for each row.
- Delta: Shows the difference between buying and selling volume for each row, highlighting imbalances.
Extensive Customization: Fine-tune lookback period, number of rows, profile width, horizontal placement, Value Area percentage, colors for all elements, and specific parameters for node/peak/trough detection.
Visual Enhancements:
- Optional gradient colors for volume bars.
- Display volume figures directly on rows.
- Background shading for the Value Area and the entire Profile range.
- Price labels for POC, VAH, VAL, Profile High, and Profile Low.
Integrated Alert System: Pre-built alert conditions for critical volume profile events. (See section on "█ SETTING UP ALERTS " for more details).
█ USER INPUTS
The settings panel is organized into distinct sections:
- Calculation Settings:
Lookback: Number of most recent bars for profile calculation.
Number of Rows: Resolution of the volume profile.
Profile Width: Relative horizontal length of the volume bars.
Horizontal Offset: Horizontal positioning of the profile.
Value Area (%): Percentage of volume to include in the Value Area.
Volume: Display type ("Up/Down", "Total", "Delta").
Profile Placement: "Right" or "Left" side of the chart.
- Appearance:
Volume Profile On/Off: Toggle visibility of the entire profile.
Rows Border Width & Color: Customize the outline of volume rows.
Gradient Colors: Enable/disable gradient coloring for volume bars.
Row Volume: Display numerical volume on each row.
VAH (Value Area High): Display type ("None", "Regular", "Developing"), Color, Price Label, Line Width.
VAL (Value Area Low): Display type ("None", "Regular", "Developing"), Color, Price Label, Line Width.
Profile High Price Label & Color: Toggle and customize.
Profile Low Price Label & Color: Toggle and customize.
Value Area Up/Down Color: Colors for up/down volume within VA.
Profile Up/Down Color: Colors for up/down volume outside VA.
Total Volume Color: For "Total" volume display type.
Delta Volume Positive/Negative Color: For "Delta" volume display type.
POC (Point of Control): Display type ("None", "Regular", "Developing"), Color, Line Width, Price Label.
Value Area Background & Color: Enable and customize VA background shading.
Profile Background & Color: Enable and customize profile range background shading.
Volume Nodes:
Highest Volume Nodes & Color: Number of HVNs to highlight and their color.
Lowest Volume Nodes & Color: Number of LVNs to highlight and their color.
Volume Peaks: Detection type ("None", "Single Row", "Cluster"), Color.
Compared Neighbors (Peaks): Number of neighboring rows to compare against for peak detection.
Minimum Peak Ratio (Peaks): Volume ratio required for a row to be considered a peak.
Volume Troughs: Detection type ("None", "Single Row", "Cluster"), Color.
Compared Neighbors (Troughs): Number of neighboring rows to compare against for trough detection.
Minimum Trough Ratio (Troughs): Volume ratio required for a row to be considered a trough.
█ SETTING UP ALERTS
The Volume Profile (PRO) indicator comes with a comprehensive set of pre-configured alert conditions to notify you of key market events related to volume structure. To set up an alert:
Click the " Alert " button (clock icon) on TradingView's right-hand toolbar or top panel.
In the " Condition " dropdown, select " Volume Profile (PRO) ".
A second dropdown will appear, allowing you to choose from the following specific alert conditions built into the script:
- POC Price Change: Triggers when the Point of Control price level changes.
- POC Crossover: Triggers when the closing price crosses over the POC line and is now above it.
- POC Crossunder: Triggers when the closing price crosses under the POC line and is now below it.
- Close Inside Value Area: Triggers when the closing price enters the Value Area.
- Close Outside Value Area: Triggers when the closing price exits the Value Area.
- Close Inside High Volume Node: Triggers when the closing price enters a detected High Volume Node.
- Close Inside Low Volume Node: Triggers when the closing price enters a detected Low Volume Node.
- Close Inside Volume Peak: Triggers when the closing price enters a detected Volume Peak row.
- Close Inside Volume Peak Cluster: Triggers when the closing price enters the area of a Volume Peak cluster.
- Close Inside Volume Trough: Triggers when the closing price enters a detected Volume Trough row.
- Close Inside Volume Trough Cluster: Triggers when the closing price enters the area of a Volume Trough cluster.
Choose your preferred " Trigger " option:
- " Only Once ": The alert triggers the first time the condition is met.
- " Once Per Bar Close ": ( Recommended for most profile signals ) The alert triggers only after the current bar closes if the condition was true on that closed bar. This ensures signals are based on confirmed price action.
Customize the alert name, message, and notification preferences.
Click " Create ".
█ STRATEGY EXAMPLES
The following examples are for illustrative purposes only to demonstrate how the Volume Profile (PRO) can be used. They are not financial advice. Always conduct thorough backtesting and research.
1. POC as Dynamic Support/Resistance
Goal: Identify potential bounces or rejections from the Point of Control.
Setup: Enable "POC Line" (Regular or Developing) and observe price interaction.
Entry (Long):
- Price approaches the POC from above and shows signs of holding (e.g., bullish candlestick patterns, deceleration).
- Enter on confirmation of support at the POC.
Entry (Short):
- Price approaches the POC from below and shows signs of rejection (e.g., bearish candlestick patterns).
- Enter on confirmation of resistance at the POC.
Management: Stop-loss beyond the recent swing pivot or the POC itself after a confirmed break. Target the next significant volume node (HVN/LVN) or Value Area boundary.
2. Trading Low Volume Nodes (LVNs) as "Vacuum Zones"
Goal: Capitalize on rapid price movement through LVNs and their potential to become support/resistance once traversed.
Setup: Enable "Lowest Volume Nodes" to identify LVNs.
Entry (Long):
- Price breaks decisively above an LVN.
- Look for a retest of the top of the LVN as support. Enter long on confirmation.
Entry (Short):
- Price breaks decisively below an LVN.
- Look for a retest of the bottom of the LVN as resistance. Enter short on confirmation.
Concept: Price is expected to move quickly through LVNs (volume vacuum). Once price has passed through an LVN, that area of prior low acceptance can act as a new support/resistance zone.
Management: Stop-loss beyond the retested LVN. Target the next HVN or significant price level.
█ CONCLUSION
The Volume Profile (PRO) indicator offers a sophisticated and highly customizable approach to volume analysis. By providing clear visualizations of POC, Value Area, HVNs, LVNs, and Volume Peaks/Troughs, along with integrated alerts and developing levels, this tool empowers traders to identify critical price zones, understand market structure, and develop more nuanced trading strategies. Whether you're looking for precise entry points, areas of support and resistance, or confirmation of market sentiment, this Volume Profile indicator is an invaluable addition to your technical analysis toolkit.
█ IMPORTANT NOTES
⚠ Lookback vs. Calculated Bars Relationship: The value set in the " Lookback " input ( Calculation Settings ) must be less than half of the number of bars the indicator is set to calculate on your chart (referred to as " Calculated bars " in the script, typically controlled by TradingView's historical data loading or a calc_bars_count setting within the script's indicator() declaration – in this script, it is 1200 bars by default). For example, if "Calculated bars" is 1200, your Lookback should be less than 600. The default Lookback of 500 respects this. Setting a Lookback too high relative to available calculated bars can lead to errors or incorrect profile rendering.
⚠ Parameter Optimization: The default settings are starting points. Always adjust indicator parameters (Lookback, Number of Rows, VA%, etc.) based on the specific asset, its volatility, and the timeframe you are trading. Thorough backtesting is crucial.
⚠ Context is Key: Volume Profile is powerful, but its signals are best interpreted within the broader market context (trend, news, other technical indicators).
⚠ Lookback vs. Profile Stability: A shorter lookback makes the profile very responsive to recent action but less stable. A longer lookback provides more stable levels but may lag in fast-moving markets.
⚠ Number of Rows: Higher row counts offer more granularity but can impact performance and may show too much noise. Lower row counts offer a broader view but may obscure finer details.
⚠ Alert Confirmation: Using " Once Per Bar Close " for alerts is generally recommended to ensure signals are based on confirmed price action.
█ RISK DISCLAIMER
Trading involves a substantial risk of loss and is not suitable for all investors. The Volume Profile (PRO) indicator is provided for educational and informational purposes only . It does NOT constitute financial advice or a recommendation to buy or sell any asset. Indicator signals identify potential patterns based on historical data but do not guarantee future price movements or profitability. Always conduct your own thorough research, utilize multiple sources of information, and implement robust risk management practices before making any trading decisions. Past performance is not indicative of future results.
📊 Happy trading! 🚀
Liquidity composition / quantifytools- Overview
Liquidity composition divides each candle into sections that are used to display transaction activity at price. In simple terms, an X-ray through candle is formed, revealing the orderflow that built the candle in greater detail. Liquidity composition consists of two main components, lots and columns. Lots and columns can be used to visualize user specified volume types, currently supporting net volume and volume delta. Lots and columns can be used to visualize same or different volume types, allowing a combination of volume footprint, volume delta footprint and volume profile in one single view. Liquidity composition principally works on any chart, whether that is equities, currencies, cryptocurrencies or commodities, even charts with no volume data (in which case volatility is used to approximate transaction activity). The script also works on any timeframe, from minute charts to monthly charts. Orderflow can be observed in real-time as it develops and none of the indications are repainted.
Example: Displaying same volume types on lots and columns
Example: Displaying different volume types on lots and columns
Liquidity composition supports user specified derivative data, such as point of control(s) and net activity coloring. Derivative data can be calculated based on either net volume or volume delta, resulting in different highlights.
With net volume, volume delta and derivative data in one view, key orderflow events such as delta imbalances, high volume nodes, low volume nodes and point of controls can be used to quickly identify accumulation/distribution, imbalances, unfinished/finished auctions and trapped traders.
Accessing script 🔑
See "Author's instructions" section, found at bottom of the script page.
Key takeaways
- Liquidity composition breaks down transaction activity at price, measured in net volume or volume delta
- Developing activity can be observed real-time, none of the indications are repainted
- Transaction activity is calculated using volumes accrued in lower timeframe price movements
- Lots and columns can be used to display same or different volume types (e.g. volume delta lots and net volume columns) in single view
- Users can specify derivative data such as volume delta POCs, net volume POC and net activity coloring
- For practical guide with practical examples, see last section
Disclaimer
Orderflow data is estimated using lower timeframe price movement. While accurate and useful, it's important to note the calculations are estimations and are not based on orderbook data. Estimates are calculated by allotting volume developing on lower timeframe chart to its respective section based on closing price. Volume delta (difference between buyers/sellers) is calculated by subtracting down move volumes (sell volume) from up move volumes (buy volume). Accuracy of the orderflow estimations largely depends on quality of lower timeframe chart used for calculations, which is why this tool cannot be expected to work accurately on illiquid charts with broken data.
Liquidity composition does not provide a standalone trading strategy or financial advice. It also does not substitute knowing how to trade. Example charts and ideas shown for use cases are textbook examples under ideal conditions, not guaranteed to repeat as they are presented. Liquidity composition should be viewed as one tool providing one kind of evidence, to be used in conjunction with other means of analysis.
- Example charts
Chart #1: BTCUSDT
Chart #2: EURUSD
Chart #3: ES futures
- Calculations
By default, size of sections and lower timeframe accuracy are automatically determined for all charts and timeframes. Number of lower timeframe price moves used for calculating orderflow is kept at fixed value, by default set to 350. Accuracy value dictates how many lower timeframe candles are included in the calculation of volume at price. At 350, the script will always use 350 lower timeframe price movements in calculations (when possible). When calculated dynamic timeframe is less than 1 minute, the script switches to available seconds based timeframes. Minimum dynamic timeframe can be capped to 1 minute (as seconds based timeframes are not available for all plans) or dynamic timeframe can be overridden using an user specified timeframe.
Example: Calculating dynamic lower timeframe
Main chart: 4H / 240 minutes
Accuracy value: 100
Formula: 240 minutes / 100 = 2.4 minutes
Timeframe used for calculations = 2 minutes
Section size is automatically determined based on typical historical candle range, the bigger it is, the bigger the section size as well. Like dynamic timeframe, automatic section size can be manually overridden by user specified size expressed in ticks (minimum price unit). Users can also adjust sensitivity of automatic sizing by setting it higher (smaller sections, more detail and more noise) or lower (less sections, less detail and less noise). Section size and dynamic timeframe can be monitored via metric table.
Volume at price is calculated by allotting volume associated with a lower timeframe price movement to its respective section based on closing price (volume is stored to the section that covers closing price). When used on a chart with no volume data, volatility is used instead to determine likely magnitude of participation. Volume delta (difference between buyers/sellers) is calculated by subtracting down move volumes (sell volume) from up move volumes (buy volume). Volumes accrued in sections are monitored over a longer period of time to determine a "normal" amount of activity, which is then used to normalize accrued volumes by benchmarking them against historical values.
Volume values displayed on the left side represent how close or far volume traded at given section is to an extreme, represented by value of 10 . The more value exceeds 10, the more extreme transaction activity is historically. The lesser the value, the less extreme (and therefore more typical) transaction activity is. Users can adjust sensitivity of volume extreme threshold, either by increasing it (more transaction activity is needed to constitute an extreme) or decreasing it (less transaction activity is needed to constitute an extreme).
Example: Interpreting volume scale
0 = Very little to no transaction activity compared to historical values
5 = Transaction activity equal to average historical values
10 = Transaction activity equal to an extreme in historical values
10+ = The more transaction activity exceeds value of 10, the more extreme it is historically
Accuracy of orderflow data largely depends on quality of lower timeframe data used in calculations. Sometimes quality of underlying lower timeframe data is insufficient due to suboptimal accuracy or broken lower timeframe data, usually caused by illiquid charts with gaps and inconsistent values. Therefore, one should always ensure the usage of most liquid chart available with no gaps in lower timeframe data. To combat poor orderflow data, a simple data quality check is conducted by calculating percentage of sections with volume data out of all available sections. Idea behind the test is to capture instances where unusual amount of sections are completely empty, most likely due to data gaps in LTF chart. E.g. 90% of sections hold some volume data, 10% are completely empty = 90% data quality score.
Data quality score should be viewed as a metric alerting when detail of underlying data is insufficient to consider accurate. When data quality score is slightly below threshold, lower timeframe chart used for calculations is likely fine, but accuracy value is too low. In this case, one should increase accuracy value or manually override used timeframe with a smaller one. When data quality score is well below threshold, lower timeframe chart used for calculations is likely broken and cannot be fixed. In this case, one should look for alternative charts with more reliable data (e.g. ES1! -> SPY, BITSTAMP:BTCUSD -> BINANCE:BTCUSDT).
Example : When insufficient data quality scores can/cannot be fixed
- Derivative data
Point of control
Point of control, referring to point in price where transaction activity is highest, can be calculated based on the volume type of lots or columns (based on net volume or volume delta). Depending on the calculation basis, displayed point of controls will vary. POC calculated based on net volume is no different from traditional POC, it is simply the section with highest amount of transaction activity, marked with an X. When calculating POC based on volume delta, the script will highlight two point of controls, named leading and losing point of control . Leading POC refers to lot with highest amount of volume delta, marked with an X. If leading POC was net buy volume, losing POC is marked on section with highest net sell volume, marked with S respectfully. Same logic applies in vice versa, if leading POC is net sell volume, losing POC is marked on highest buy volume section, using the letter B.
Net activity
Similarly to point of control calculation, net activity can be calculated based on either volume types, lots or columns. When calculating net activity based on net volume, candles will be colorized according to magnitude of total volume traded. When calculating net activity based on volume delta, candles will be colorized according to side with most volume traded (buyers or sellers). Net activity color can be applied on borders or body of a candle.
- Visuals
Lots, columns, candles and POCs can be colorized using a fixed color or a volume based dynamic color, with separate color options for buy side volume, sell side volume and net volume.
Metric table can be offsetted horizontally or vertically from any four corners of the chart, allowing space for tables from other scripts.
Table sizes, label sizes and offsets for visuals are fully customizable using settings menu.
- Practical guide
OHLC data (candles) is a simple condensed visualization of an auction market process. Candles show where price was in the beginning of an auction period (timeframe), the highest/lowest point and where price was at the end of an auction. The core utility of Liquidity composition is being able to view the same auction market process in much greater detail, revealing likely intention, effort and magnitude driving the process. All basic orderflow concepts, such as ones presented by auction market theory can be applied to Liquidity composition as well.
The most obvious and easy to spot use case for orderflow tools is identifying trapped traders/absorption, seen in high transaction activity at the very highs/lows of a candle or even better, at wicks. High participation at wicks can be used to identify forced orders absorbed into limit orders, idea behind being that when high transaction activity is placed at a wick, price went one direction with a lot of participation (high effort) and came right back up (low impact) within the same time period.
Absorption can show itself in many ways:
- Extreme buy volume sections at wick highs or buy side POC at wick highs
- Multiple, clustered high buy volume sections (but not extreme) at wick highs
- Positive net volume delta into a reversal down
- Extreme sell volume sections at wick lows or sell side POC at wick lows
- Multiple, clustered high sell volume sections (but not extreme) at wick lows
- Negative net volume delta into a reversal up
- Extreme net volume sections at or net volume POC at wick highs/lows
- Extreme net volume into a reversal up/down
For accurate analysis, orderflow based events should be viewed in the context of price action. To identify absorption, it's best to look for opportunities where an opposing trend is clearly in place, e.g. absorption into highs on an uptrend, absorption into lows on a downtrend. When price is ranging without a clear trend or there's no opposing trend, extreme activity at an extreme end of a candle might be aggressive participants attempting to initiate a new trend, rather than getting absorbed in the same sense. With enough effort put into pushing price to the opposite direction at overextended price, a shift in trend direction might be near.
Price action based levels are a great way to get context around orderflow events. Simple range highs/lows as a single data point serve as a high probability regimes for reversals, making them a great point of confluence for identifying trapped traders.
Low to zero volume sections can be used to identify points in price with little to no trading, leaving a volume null/void behind. Typically sections like these represent gaps on a lower timeframe chart, which can be used as reference levels for targets and support/resistance.
Net volume can be used for same purposes as above, but for determining general intention of market participants it's a much more suitable tool than volume delta. According to auction market theory, low/no participation is considered to reject prices and high participation is considered to accept prices. With this concept in mind, unfinished auctions occur when participation is high at highs or high at lows, idea behind being that participants are showing willingness and interest to trade at higher or lower prices. Auction is considered finished when the opposite is true, i.e. when participants are not showing willingness to trade at higher/lower prices. In general, direction of unfinished auctions can be expected to continue shortly and direction of unfinished auctions can be expected to hold.
While shape of volume delta and net volume are usually similar, they're not the same thing and do not represent the same event under the hood. Volume delta at 0 does not necessarily mean participation is 0, but can also mean high participation with equal amount of buying and selling. With this distinction in mind, using volume delta and net volume in tandem has the benefit of being able to identify points in price with a lot of up and down price movement packed into a small area, i.e. consolidation. Points in price where price hangs around for an extended period of time can be used to identify levels of interest for re-tests and breakout opportunities.
TPO[Fixed Range, Anchored, Bars Back]TPO Bars Back, Fixed Range and Anchored
Overview
The TPO Profile (Time Price Opportunity Profile) is a powerful market profile indicator that displays the amount of time price spent at different levels during a specified period. Unlike traditional volume profile indicators that show volume distribution, TPO Profile shows time distribution , providing insights into where price has spent the most time and identifying key support and resistance levels.
Key Advantages Over TradingView's Built-in TPO
Simplified Composite Creation : Automatically creates TPO profiles for any time range without manual split/merge operations
Instant Value Area Calculation : Immediately shows Value Area, POC, VAH, and VAL for your selected period
No Manual Assembly Required : TradingView's native TPO requires you to manually split sessions and merge them to create composites - this indicator does it automatically
Flexible Time Ranges : Create composites for any custom time period (multiple days, weeks, specific events) with a few clicks
Real-time Composite Updates : Anchor mode creates live composites that update as new data arrives
Multiple Composite Analysis : Easily compare different time periods without the tedious manual process
Key Features
Core Functionality
Time-Based Analysis : Shows time spent at each price level rather than volume
Configurable Time Blocks : Use any timeframe for TPO counting (30min, 1H, 4H, etc.)
Multiple Price Levels : Adjustable from 5 to 200 levels for granular analysis
Point of Control (POC) : Automatically identifies the price level with highest time activity
Value Area Calculation : Shows the price range containing 70% (configurable) of time activity
Automatic Composite Generation : Creates multi-session composites without manual intervention
Three Operating Modes
1. Bars Back Mode
Analyzes the last N bars from the current bar
Perfect for recent market activity analysis
Range: 10-500 bars
Use Case : Intraday analysis, recent session review
2. Fixed Range Mode
Analyzes a specific time period between start and end times
Ideal for historical analysis of specific events
Creates perfect composites for multi-day periods
Use Case : Earnings periods, news events, specific trading sessions, weekly/monthly composites
3. Anchor Mode (NEW)
Starts from a specific time and extends to the current bar
Dynamically updates as new bars form
Perfect for building live composites from any starting point
Use Case : Live session monitoring, event-based analysis from a specific point, growing composites
Visual Elements
TPO Bars
Horizontal bars showing time distribution at each price level
Longer bars = more time spent at that level
Color-coded to distinguish Value Area from outlying levels
Point of Control (POC)
Red line marking the price level with highest time activity
Most significant support/resistance level
Configurable line style (Solid/Dashed/Dotted) and width
Value Area High/Low (VAH/VAL)
Green and Orange lines marking the boundaries of the Value Area
Shows the price range containing the specified percentage of time activity
Optional display with customizable line styles
Single Print Detection
Identifies price levels touched by only one time block
Display options: Lines or Boxes
Purple color highlighting these significant levels
Often act as strong support/resistance in future trading
Customization Options
Time Block Configuration
Block Time : Choose timeframe for TPO counting (30min, 1H, 4H, etc.)
Allows analysis at different time granularities
Higher timeframes = broader perspective, Lower timeframes = finer detail
Visual Styling
Line Styles : Solid, Dashed, or Dotted for all line elements
Line Widths : 1-5 pixels for POC, VAH, and VAL lines
Colors : Fully customizable colors for all elements
Transparency : Adjustable transparency for better chart readability
Label Management
Show/Hide Labels : Toggle POC, VAH, VAL labels
Font Sizes : Tiny, Small, Normal, Large, Huge
Label Positioning : 8 different position options relative to lines
Offset Controls : Fine-tune label positioning
Line Extension
Level Offset Right : Controls how far lines extend
Smart extension logic:
Value ≤ 0: Infinite extension (extend.right)
Value ≥ 1: Extends exactly N bars ahead
Trading Applications
Support & Resistance
POC often acts as strong support/resistance
Value Area boundaries provide key levels
Single prints frequently become significant levels
Market Structure Analysis
Identify areas of price acceptance (thick TPO bars)
Spot areas of price rejection (thin TPO bars)
Understand where market participants are comfortable trading
Composite Profile Analysis
Create multi-day, weekly, or monthly composites instantly
Compare different composite periods without manual work
Analyze longer-term price acceptance levels
Build composites around specific events or announcements
Session Analysis
Monitor intraday session development in real-time
Compare different sessions (London, New York, Asia)
Track how profiles change throughout the trading day
Build live composites across multiple sessions
Event Analysis
Use Fixed Range mode for earnings, news events
Use Anchor mode to track price development from specific events
Compare pre/post event price acceptance levels
Create event-based composites automatically
Input Parameters
Mode Selection
Mode : Bars Back | Fixed Range | Anchor
Bars Back : Number of bars to analyze (10-500)
Start Time : Beginning time for Fixed Range and Anchor modes
End Time : Ending time for Fixed Range mode only
Analysis Configuration
Block Time : Timeframe for TPO blocks (e.g., "30" for 30-minute blocks)
TPO Levels : Number of price levels (5-200)
Value Area % : Percentage for Value Area calculation (50-95%)
Display Options
Show POC : Display Point of Control line
Show Value Area : Display Value Area box
Show VAH/VAL Lines : Display Value Area boundary lines
Show Single Prints : Display single print detection
Single Print Style : Lines or Boxes
Styling Controls
Colors : TPO, POC, Value Area, VAH, VAL, Single Print colors
Line Styles : POC, VAH, VAL line styles
Line Widths : POC, VAH, VAL line widths
Labels : Show/hide, font size, position, offset controls
Technical Details
Calculation Method
Divides the price range into equal levels based on TPO Levels setting
For each time block, determines which price levels it crosses
Adds +1 count to each crossed level
Identifies POC as the level with highest count
Calculates Value Area by expanding from POC until target percentage is reached
Performance Considerations
Historical data limited to prevent buffer overflow errors
Smart bounds checking for different timeframes
Optimized cleanup routines to prevent drawing object accumulation
Pine Script Version
Built on Pine Script v6
Uses modern Pine Script best practices
Efficient array handling and drawing object management
Best Practices
Timeframe Selection
Block Time = Chart Timeframe : Traditional TPO approach
Block Time > Chart Timeframe : Smoother, broader perspective
Block Time < Chart Timeframe : More granular, detailed analysis
Level Count Guidelines
Low levels (10-20) : Better for swing trading, major levels
High levels (50-100) : Better for scalping, precise entries
Very high levels (100+) : For very detailed analysis
Mode Selection
Bars Back : Daily analysis, recent activity
Fixed Range : Historical events, specific periods, manual composites
Anchor : Live monitoring, event-based analysis, growing composites
Composite Creation Workflow
Select Fixed Range or Anchor mode
Set your desired start time (and end time for Fixed Range)
Adjust TPO Levels for desired granularity
Enable VAH/VAL lines to see Value Area boundaries
The composite profile generates automatically with all key levels
This indicator eliminates the tedious manual process of creating composite TPO profiles in TradingView. Instead of splitting sessions and manually merging them, you get instant composite analysis with automatic Value Area calculation, POC identification, and single print detection. The combination of time-based analysis, multiple operating modes, and extensive customization options makes it a powerful tool for understanding market structure and price acceptance levels across any time period.
Price-Volume w Trendline - Strategy [presentTrading]█ Introduction and How it is Different
The Price-Volume with Trendline Strategy is an innovative strategy that combines volume profile analysis, price-based Z-scores, and dynamic trendline filtering to identify optimal entry and exit points in the market. What sets this strategy apart is the integration of volume concentration (Point of Control or PoC) with dynamic volatility thresholds. Additionally, this strategy introduces a multi-step take profit (TP) mechanism that adjusts based on predefined levels, allowing traders to exit trades progressively while capitalizing on market momentum.
BTCUSD 6hr LS Performance
█ Strategy, How it Works: Detailed Explanation
The combination of multiple indicators and methodologies serves to create a more robust and reliable trading system. Each element is carefully chosen for its complementary role in providing accurate signals while minimizing false entries and exits. Here’s why the different components were chosen and how they work together:
- PoC and Z-Scores: The volume profile identifies key price areas, while the Z-score measures deviations from the mean. Together, they highlight points where the market is likely to react. For example, when the Z-score indicates an oversold condition near a PoC support level, it increases the probability of a reversal, providing a clear entry signal.
- Trendlines and Z-Scores: Trendlines serve as a secondary filter to ensure that price deviations identified by Z-scores align with broader market trends. This ensures that trades are only entered when the price has both deviated from its average and broken through a significant trendline level, reducing the likelihood of false signals.
- Multi-Step TP and Risk Management: Finally, the multi-step take profit logic works in tandem with the entry signals generated by the PoC, Z-scores, and trendlines. As the price moves in favor of the trade, profits are gradually locked in, ensuring the trader captures gains while still leaving room for further upside.
🔶 Point of Control (PoC) and Volume Profile Analysis
The PoC identifies the price level with the highest volume concentration within a specified lookback period. This price level represents where the most trading activity has occurred, often acting as a strong support or resistance. By breaking down the range into several rows (bins), the strategy identifies how much volume was traded at each price level.
🔶 Z-Score Calculation
The Z-score is a statistical metric that measures how far the current price is from its mean, expressed in terms of standard deviations. This is calculated both for price deviation and PoC-based deviation.
🔶 Trendline Breakout Filtering
The trendline filtering is a crucial aspect that refines entry signals by confirming trend continuation or reversals. It calculates trendlines based on pivot highs and lows using the selected method (e.g., ATR or standard deviation).
🔶 Multi-Step Take Profit
The multi-step take profit mechanism allows the strategy to take partial profits at several predefined levels. For example, when the price reaches 3%, 8%, 14%, or 21% above (or below) the entry price, it exits portions of the position. This is a useful technique for locking in profits as the market moves favorably.
Local
█ Usage
The Price-Volume with Trendline Strategy can be applied to various asset classes, including stocks, cryptocurrencies, and commodities. It is particularly effective in volatile markets where price deviations and volume concentrations signal potential reversals or trend continuations. By adjusting the settings for volatility and the lookback period, this strategy can be tailored to both short-term intraday trades and longer-term swing trades.
█ Default Settings
The default settings in the strategy play a vital role in shaping its performance.
- POC_lookbackLength (144): This defines the number of bars used to calculate the PoC. A longer lookback captures more data, leading to a more stable PoC, but may result in delayed signals. A shorter lookback increases responsiveness but may introduce noise.
- priceDeviationLength (200): This determines the period for calculating the standard deviation of price. A higher length smooths out the volatility, reducing the likelihood of false signals. Shorter lengths make the strategy more sensitive to sudden price movements.
- TL_length (14): Controls the swing detection period for trendline calculation. A shorter length will generate more frequent trendline breakouts, while a longer length captures only significant moves.
- Stop Loss and Take Profit: The strategy offers both fixed and SuperTrend-based stop losses. SuperTrend is adaptive to volatility, while fixed stop losses provide simpler risk control. The multi-step take profit ensures that profits are secured progressively, which can improve performance in trending markets by reducing the risk of full reversals.
Each of these settings can significantly affect the strategy’s risk-reward balance. For instance, increasing the stop loss level or the take profit percentages allows the strategy to stay in trades longer, potentially increasing profit per trade but at the cost of larger drawdowns. Conversely, tighter stops and smaller profit targets result in more frequent trades with lower average profit per trade.
Swing Volume Profiles [LuxAlgo]The Swing Volume Profiles indicator aims to calculate and highlight trading activity at specific price levels between two swing points; allowing traders to reveal dominant and/or significant price levels based on volume.
By measuring traded volume at all price levels in the market over a specified time period, the script can also be used to detect some key analysis generally such as supply & demand, buy-side & sell-side liquidity levels, unfilled liquidity voids, and imbalances that can highlight on the chart.
🔶 USAGE
A volume profile is an advanced charting tool that displays the traded volume at different price levels over a specific period. It helps you visualize where the majority of trading activity has occurred.
Key Levels are the areas where the volume is concentrated or where there are significant volume spikes. These levels are known as key support and resistance levels. High-volume nodes indicate areas of high activity and are likely to act as support or resistance in the future.
Volume profile also helps identify value areas, which represent the price levels where the most trading activity has taken place. These levels can act as areas of support or resistance as traders perceive them as fair value.
The Point of Control describes the price level where the most volume was traded. A Naked Point of Control (also called a Virgin Point of Control) is a previous POC that has not been traded. Extending PoC options 'Until Bar Cross' or 'Until Bar Touch' helps in identifying Naked Point of Control Lines.
Previous PoC levels can serve as support and resistance for future price movements. Extending PoC Level 'Until Last Bar' option will help to identify such levels.
🔶 DETAILS
One of the unique features of the script is its ability to detect some other key levels such as levels of acceptance and rejection.
Levels of rejection we may summarize as supply and demand levels, these are also referred to as buy-side and sell-side liquidity levels. They usually occur at extreme highs or lows, where prices may be too high for buyers (high supply, low demand) or too low for sellers (low supply, high demand)
Levels of acceptance are the levels where Liquidity Voids occur, these are also referred to imbalances. Liquidity voids are sudden changes in price when the price jumps from one level to another. The peculiar thing about liquidity voids is that they almost always fill up, so we call them levels of acceptance.
🔶 ALERTS
When an alert is configured, the user will have the ability to be notified in case:
Point Of Control Line is touched/crossed
Value Area High Line is touched/crossed
Value Area Low Line is touched/crossed
🔶 SETTINGS
🔹 Display Options
Mode: Controls the lookback length of detection and visualization, where Present assumes last X bars specifid in '# Bars' option and Historical assumes all data available to the user as well as allowed limits of visiual objects (boxs, lines, labels etc)
# Bars: Controls the lookback length.
🔹 Swing Volume Profiles
The script takes into account user-defined parameters and plots volume profiles. Due to Pine Script™ drwaing objects limit only total volume profiles are presented.
Swing Detection Length: Lookback period
Swing Volume Profiles: Toggles the visibility of the Volume Profiles, with color options to differentiate the Value Area within a profile.
Profile Range Background Fill: Toggles the visibility of the Volume Profiles Range
🔹 Point of Control (PoC)
Point of Control (POC) – The price level for the time period with the highest traded volume
Point of Control (PoC): Toggles the visibility of the Point of Control
Developing PoC: Toggles the visibility of the Developing PoC
Extend PoC: Option that allows detecting virgin PoC levels. Virgin Point of Control (VPoC) is defined as a Point of Control that has never been revisited or touched. The option also allows PoC levels to extend till the last bar aiming to present levels from history where the levels were traded significantly and those levels can be used as support and resistance levels.
🔹 Value Area (VA)
Value Area (VA) – The range of price levels in which the specified percentage of all volume was traded during the time period.
Value Area Volume %: Specifies percentage of the Value Area
Value Area High (VAH): Toggles the visibility of the Value Area High, the highest price level within the Value Area
Value Area Low (VAL): Toggles the visibility of the Value Area Low, the lowest price level within the Value Area
Value Area (VA) Background Fill: Toggles the visibility of the Value Area Range
🔹 Liquidity Levels / Voids
Unfilled Liquidity, Thresh: Enable display of the Unfilled Liquidity Levels and Liquidity Voids, where threshold value defines the significance of the level.
🔹 Profile Stats
Position, Size: Specifies the position and the size of the label presenting Profile Stats, the tooltip of the label includes all related info for each profile.
Price, Price Change, and Cumulative Volume: Enable display of the given options on the chart.
🔹 Volume Profile Others
Number of Rows: Specify how many rows each histogram will have. Caution, having it set to high values will quickly hit Pine Script™ drawing objects limit and may cause fewer historical profiles to be displayed.
Placement: Place profile either left or right.
Profile Width %: Alters the width of the rows in the histogram, relative to the calculated profile length.
🔶 RELATED SCRIPTS
Alternative Liquidity Void Detection script, Buyside-Sellside-Liquidity
TAS Float PCL + TAS Static PCL [TASMarketProfile]TAS PRICE COMPRESSION LEVELS (PCLs) includes 2 distinct indicators that use volume at price analysis, volume aggregation and multi-timeframe confluence to calculate and display significant levels of commercial interest above and below the market. These levels reveal reliable trading levels which can be leveraged for enhanced trade entries, trailing stops and targets.
THERE ARE TWO TYPES OF TAS PCLs:
TAS Float PCLs - These levels take into account new data flow throughout the trading session and expands or contracts the levels dynamically in accordance with changing market conditions. These are often referred to by traders as “Floaters” or “Dynamic PCLs.”
TAS Static PCLs - These levels are set upon the start of the trading session and remain intact throughout the duration of the session. Many traders These are often referred to by traders as “Statics.”
Both TAS Floaters and TAS Statics have up to 10 horizontal lines available to display. The four center lines are referred to as Points of Control (POC). Three of these lines are colored cyan and one is yellow. The yellow line is more prominent and referred to as the Master Point of Control (MPOC) of the Price Compression Levels on display. The first area of commercial suppor t and resistance are plotted with red lines on both sides of the POC lines and commonly referred to as S1 and R1 levels. The next level of support and resistance areas are designated by blue lines (S2 and R2 levels) and then lastly the farthest from the POC lines are the green lines (S3 and R3 levels). By default, typically the green lines are not displayed but can be activated on an “as needed” basis within the indicator Style settings.
EXAMPLE OF TAS FLOAT PCLs:
ABOUT TAS FLOAT PCLs:
The TAS Dynamic PCLs (Floaters) reveal the price areas that attract commercial interest based on the current market conditions.
How the PCLs are plotted can be adjusted with two inputs controlled by the user.
----------1) MinSignal_123: This setting controls the sensitivity of the calculations. The default is set to 1 and this represents the most sensitive input that makes it easiest for market conditions to trigger new PCL levels. A setting of 2 is considered “medium” sensitivity and lastly a setting of 3 would require the most substantial change in conditions to trigger an adjustment of PCLs on the chart.
----------2) Length: This input setting determines the number of bars of data included in the calculation for new TAS Float PCLs to be adjusted on the chart. The default is set to 8.
MORE ON INPUT SETTINGS:
Using higher values in both inputs will display more significant areas of commercial interest for higher probability support and resistance levels around PCLs. These are referred to as “slow” Floaters.
Using lower value inputs will create Floaters that are more responsive to market conditions. These are referred to as “fast” Floaters.
When fast Floaters are contracted (cover a narrow range of prices) the market is tightly balanced and can easily enter into breakout conditions, if price closes outside of the TAS Float PCLs.
Expanded Floaters that are wider apart provide for greater rotational range trading conditions.
BELOW ARE THE RECOMMENDED INPUT SETTINGS COMBINATIONS THAT WILL DICTATE HOW RESPONSIVE THE PCLs WILL REACT TO CONDITIONS:
FAST (default): 1 - 8
MEDIUM: 2 - 14
SLOW: 3 - 34
The user will typically choose to have either Statics or Float PCLs active on the chart at a time, but not both as you'll have up to 20 levels on your chart (too many). You can, however, put them on different panes. Visit the INPUT settings of the indicator to select which one you want active.
The user can change the coloring, line type and thickness in the STYLE settings.
ABOUT TAS STATIC PCLs:
Many traders opt for TAS Static PCLs because they prefer to know the significant commercial interest price areas before they trade.
Unlike Floaters, TAS Static levels will not change throughout the trading session and are only affected if the user changes the opening and closing time parameters for the trading session displayed. By default, Static levels will recalculate and display new levels upon the reopen of the next session.
Tightly compacted POC lines designate an area of particularly strong commercial interest that provides higher probability, lower risk entries for extended directional moves. These areas are often referred to as “walls.”
If the POC lines are spread out over a wider range, a trader should be on the lookout for a more rotational trading session.
Periodically, one of the POC lines may be plotted outside of a red line (S1 or R1). In this case, the market may be biased in the same direction that the POC line is in relation to the red line.
TAS PRICE COMPRESSION LEVELS can be used as a stand-alone trading guidance system or in conjunction with other popular TASMarketProfile indicators.
Trade Well My Friends!
PATTERNPULSE / Stttrading F.VelazquezPATTERNPULSE
Discover a powerful tool for market analysis with the Velas Engulfing + RSI Indicator. Crafted by Stttrading Franco Velazquez, this indicator seamlessly blends engulfing candle patterns with the precision of the RSI filter. What sets it apart is its unique approach – signals are exclusively generated when the RSI reaches overbought or oversold conditions, providing a distinctive edge over conventional engulfing candle indicators.
Key Features :
Engulfing Candle Patterns: Identify both bullish and bearish engulfing candle formations.
RSI Integration: Harness the strength of the RSI indicator to evaluate market momentum and potential reversals.
Visual Signals: Enjoy clear and intuitive signals directly on your chart for seamless decision-making.
Configurable Alerts: Tailor the indicator to your preferences with customizable alerts for timely notifications.
Usage Instructions:
Engulfing Candles:
Visualize bullish and bearish candles through green and red triangles, respectively.
Capitalize on buying opportunities when bullish candles emerge and consider selling when bearish candles unfold.
RSI Indicator:
Leverage the RSI indicator to gauge overbought and oversold market conditions.
Fine-tune RSI levels based on your trading strategy and risk tolerance.
Alert System:
Set up alerts to stay informed about crucial market movements, ensuring you never miss a trading opportunity.
Custom Configuration:
RSI Source: Customize the data source for RSI calculations to suit your analysis.
RSI Length: Define the length of the RSI period for precise adjustments.
RSI Overbought and Oversold Levels: Tailor the overbought and oversold RSI thresholds to align with your trading preferences.
Important Note: Always conduct thorough analysis and implement proper risk management before executing trades.
Volume Profile in PatternPulse:
In the paid version of the PatternPulse indicator, an advanced Volume Profile tool is included, offering a detailed view of how volume is distributed across different price levels over a specific period. Here's how it works:
Show Volume Profile: You can toggle the display of the volume profile on the chart using the Show VP option.
Depth and Number of Bars Configuration: The tool allows you to adjust the Volume Profile Lookback Depth, which defines how many periods back will be analyzed to calculate the volume profile. You can also set the number of bars (VP Number of Bars) to be displayed on the chart, as well as the bar length and width to customize its appearance.
Delta Type: You can choose from different delta types for the volume profile: Bullish, Bearish, or Both. This enables you to focus on volumes associated with bullish price movements, bearish movements, or both.
Point of Control (POC): The tool also offers an option to extend the Point of Control (POC) line on the volume profile. The POC represents the price level with the highest traded volume during the analyzed period.
Customizable Colors: You can customize the colors of the volume profile bars and the Point of Control (POC) to match your visual preferences.
How to Use It:
The volume profile helps identify price levels where significant volume has been traded, which can be crucial for determining key support and resistance levels in the market. Adjust the parameters to fit your needs for a clear and precise visualization that supports your technical analysis.
Info Box in PatternPulse
In the paid version of PatternPulse, you'll find an info box that provides a comprehensive view of various market aspects. Here's how it works:
General Information: At the top of the info box, you'll see the title "PATTERNPULSEVIP® Info. BOX" in grey with orange text. This title helps you identify that you are viewing the information section.
CCL Dollar: The info box displays the value of the CCL (Contado con Liquidación) dollar for Argentina, which is an important reference for investors in that market.
Indices and Metals: This section includes information on the US Dollar Index (DXY), the Euro Index (EXY), as well as the prices of gold and silver.
Crypto Dominance: Here, you'll see the dominance of Bitcoin (BTC) and Ethereum (ETH) in the cryptocurrency market, helping you understand the influence of these cryptocurrencies on the global market.
MACD: The info box shows the current MACD (Moving Average Convergence Divergence) trend. The trend can be bullish or bearish, providing additional insight into market direction.
RSI: The current RSI (Relative Strength Index) value is also displayed. If the RSI indicates overbought conditions (above 75), the info box will turn teal with white text. If it indicates oversold conditions (below 25), the info box will turn maroon with white text.
Customization: You can adjust the horizontal offset of the info box from the chart and change the style and color of the text to suit your visual preferences.
This info box provides key data at a glance, making it easier to make informed decisions in your technical analysis. Adjust the settings according to your needs to get the most relevant information for your trading strategy.
Bollinger Bands in PatternPulse
In the paid version of PatternPulse, we’ve added the Bollinger Bands (BB) indicator to help you analyze market volatility and trends. Here’s a breakdown of how to use it:
1. Display Options:
Show BB: You can toggle the visibility of the Bollinger Bands on your chart using the "Show BB" option.
2. Configuration:
Length: Adjust the length of the moving average used to calculate the Bollinger Bands. The default is set to 20 periods, but you can modify it to fit your trading strategy.
Source: Choose the data source for the Bollinger Bands calculation, with the default being the closing price.
Standard Deviation: Set the number of standard deviations away from the moving average for the upper and lower bands. The default is 2.0, which is commonly used.
3. Plotting:
Basis: The middle line (basis) of the Bollinger Bands is plotted, which is a simple moving average (SMA) of the specified length.
Upper and Lower Bands: The upper and lower bands are plotted based on the standard deviation from the basis line.
Offset: Adjust the horizontal position of the bands on your chart to better align with your analysis needs.
4. Visualization:
Color: The Bollinger Bands and their background fill are color-coded for easy interpretation. The default colors are shades of blue, but you can customize them if needed.
These Bollinger Bands will help you to visualize price volatility and identify potential market opportunities based on how the price interacts with these bands. Adjust the settings according to your trading preferences to get the most out of this feature.
Parabolic SAR in PatternPulse
In the advanced version of PatternPulse, we've added the Parabolic SAR (PSAR) to help you identify potential trend changes in the market. Here's how this tool works:
1. Activating the Indicator:
Show PSAR: You can toggle the visibility of the Parabolic SAR using the "Show PSAR" option. This controls whether the indicator is displayed on your chart.
2. PSAR Settings:
Start: Adjust the initial value for the PSAR calculation. This value sets the starting point for the acceleration of the indicator.
Increment: Defines the rate at which the PSAR increases. This value increases the acceleration parameter with each new high or low.
Maximum Value: Sets the upper limit for the acceleration parameter. This prevents the indicator from moving too quickly in high-volatility conditions.
3. Visualization:
Color of the Dots: The PSAR dots are displayed in teal if the indicator is below the closing price, indicating a bullish trend. They are shown in maroon if the indicator is above the closing price, indicating a bearish trend.
How to Use It: The Parabolic SAR is useful for identifying potential reversal points in the market. When the indicator switches position relative to the price, it can signal a potential trend change. Use this indicator in conjunction with other analysis tools to make more informed trading decisions.
User Explanation EMAs
This part of the indicator utilizes Exponential Moving Averages (EMAs) to help you identify trends and potential entry or exit points in the market. Here’s how they work and how you can customize them:
What are EMAs?
Exponential Moving Averages (EMAs) are indicators that smooth out historical prices to identify the direction of the trend. Unlike Simple Moving Averages, EMAs give more weight to recent prices, making them more responsive to current price changes.
How Each EMA Works:
1° EMA (Adjustable Length):
Purpose: The first EMA provides a short-term view and can help identify recent movements and potential quick trend changes.
Customization: You can adjust the length of this EMA (number of periods) using the "1° EMA length" option.
2° EMA (Adjustable Length):
Purpose: The second EMA acts as a smoother filter, helping to confirm or discredit signals from the first EMA.
Customization: Adjust its length with "2° EMA length".
3° EMA (Adjustable Length):
Purpose: The third EMA provides a longer-term view, helping to identify mid-term trends and significant turning points.
Customization: Modify its length via "3° EMA length".
4° EMA (Adjustable Length):
Purpose: The fourth EMA represents the long-term trend, offering a perspective on the market’s overall direction.
Customization: Change its length using "4° EMA length".
Customizable Colors:
You can choose the colors for each EMA through the provided color options. This allows you to distinguish each EMA on your chart easily and customize its appearance according to your preferences.
EMA Crosses:
Small Crosses (1° and 2° EMAs):
Functionality: When the 1° EMA crosses above the 2° EMA, it may signal a buy (bullish cross). When it crosses below, it may signal a sell (bearish cross).
Visualization: You can enable or disable the display of these small crosses.
Large Crosses (3° and 4° EMAs):
Functionality: Crosses between the 3° and 4° EMAs help identify more significant trend changes. A bullish cross may indicate an uptrend, while a bearish cross may signal a downtrend.
Visualization: You can also enable or disable these large crosses on your chart.
How to Use This Information:
Trend Identification: EMAs help you see whether the market is in an uptrend or downtrend, and crosses between them can indicate potential trading opportunities.
Entry/Exit Signals: Crosses between EMAs can signal optimal times to enter or exit a position.
This set of EMAs provides you with a clear view of different time frames in the market, allowing you to make more informed trading decisions based on the current trend and price changes.
Support and Resistance
Support and Resistance levels are essential tools in technical analysis, helping traders identify key price levels where the market might reverse or pause. This feature of the indicator provides visual markers for these levels and tracks how the price interacts with them.
Parameters:
Lookback Range: Defines the number of bars to look back when identifying pivot points. A larger value considers more historical data.
Bars Since Breakout: Determines how many bars should have passed since a breakout to detect a potential retest.
Retest Detection Limiter: Limits the number of bars actively checked for confirming a retest after a breakout.
Breakouts and Retests: Options to enable or disable detection for breakouts and retests.
Repainting: Controls how the indicator updates based on different criteria such as candle confirmation or high/low values. This affects how often and in what way the indicator adjusts its markings.
Pivot Points:
Pivot Low and High: The indicator identifies key support (pivot lows) and resistance (pivot highs) points based on the historical price action within the defined lookback range.
Boxes and Labels:
Drawing Boxes: Visual boxes are drawn to represent support and resistance levels. These boxes adjust dynamically with price changes and can extend based on user settings.
Breakout Labels: Labels are created when a breakout occurs, marking the point where the price crosses these support or resistance levels.
Retest Labels: When a potential retest is detected, the indicator can label it to signal areas where the price might test the broken support or resistance.
Customization Options:
Box and Label Styling: Users can customize the style, color, and size of the boxes and labels representing support and resistance.
Text Color Override: Option to change the color of text labels independently from the default color settings.
Key Benefits:
Visual Clarity: Easily identify important levels on the chart.
Dynamic Updates: Levels adjust as new price data comes in, providing relevant and up-to-date information.
Customization: Tailor the appearance and behavior of the support and resistance markings to fit your trading style.
This feature enhances your chart analysis by clearly marking critical levels and events, making it easier to spot potential trading opportunities.
Explanation of the Simple Moving Averages (SMA) Functionality
Simple Moving Averages (SMAs) are technical analysis tools used to smooth out price data and identify market trends. This part of the code allows you to add two SMAs to the chart with customizable settings.
Configuration Parameters:
Show SMA 1 and SMA 2: Enables or disables the display of each moving average. You can choose to show SMA 1, SMA 2, or both on your chart.
SMA Length: Defines the number of periods used to calculate each SMA. For example, a length of 14 for SMA 1 and 50 for SMA 2. A longer length smooths the line more, while a shorter length follows price movements more closely.
SMA Source: Sets which price data (e.g., closing price) is used to calculate the SMA.
Color and Width of SMA: Allows you to customize the color and width of each SMA line to fit your visual preference or to clearly distinguish between different SMAs on the chart.
SMA Style: Provides options to change the line style of the SMA to solid, dashed, or dotted, so you can personalize the appearance according to your analysis style.
SMA Calculation:
Calculation: The SMA is calculated by averaging the closing prices (or selected source) over the specified number of periods. This helps to smooth out daily price fluctuations and reveals the overall trend.
Visualization:
Plot for SMA 1 and SMA 2: Draws the SMA lines on the chart according to the specified settings. If you choose to hide an SMA, it will not appear on the chart.
Line Style: The line is drawn according to the selected style (solid, dashed, or dotted), and you can adjust the thickness and color to suit your visual needs.
Key Benefits:
Trend Clarity: SMAs help smooth out price movement and allow you to see the general trend in the market.
Customization: You can adjust the length, color, thickness, and style of the lines to fit your analysis and visual preferences.
Facilitates Analysis: SMAs can be used to identify crossings and important trading signals, such as when a short-term SMA crosses above or below a longer-term SMA.
This functionality provides you with powerful tools to adjust and customize how moving averages are presented on your charts, making it easier to identify trends and signals in the market.
Thank you for exploring the features of our indicator! We hope you find the customization options and tools provided, including the Simple Moving Averages, valuable for your trading analysis. If you have any questions or need further assistance, please feel free to reach out.
We invite you to try out the complete PatternPulse indicator to experience its full range of functionalities and see how it can enhance your trading strategies. Your feedback is always appreciated!
Happy trading!