LVN/HVN Auto Detection [PhenLabs]📊 PhenLabs - LVN/HVN Auto Detection
Version: PineScript™ v6
📌 Description
The PhenLabs LVN/HVN Auto Detection indicator is an advanced volume profile analysis tool that automatically identifies Low Volume Nodes (LVN) and High Volume Nodes (HVN) across multiple trading sessions. This sophisticated indicator analyzes volume distribution patterns to pinpoint critical support and resistance levels where price is likely to react, providing traders with high-probability zones for entries, exits, and risk management.
Unlike traditional volume indicators that only show current activity, this tool builds comprehensive volume profiles from historical sessions and intelligently filters the most significant levels. It combines real-time volume analysis with dynamic level detection, offering both visual bubbles for immediate volume activity and persistent horizontal lines that act as ongoing support/resistance references.
🚀 Points of Innovation
Multi-Session Volume Profile Analysis - Automatically calculates and analyzes volume profiles across the last 5 trading sessions
Intelligent Level Separation Logic - Prevents overlapping signals by maintaining minimum separation between LVN and HVN levels
Dynamic Timeframe Adaptation - Automatically adjusts session lengths based on chart timeframe for optimal level detection
Real-Time Activity Bubbles - Shows volume activity strength through different bubble sizes at key levels
Persistent Line Management - Creates horizontal lines that extend until price crosses them, providing ongoing reference points
Dual Threshold System - Independent percentage-based thresholds for both LVN and HVN identification
🔧 Core Components
Volume Profile Engine : Builds 20-row volume profiles for each analyzed session, distributing volume across price levels
Level Identification Algorithm : Uses percentage-based thresholds to classify volume distribution patterns
Separation Logic : Ensures minimum distance between conflicting levels, prioritizing HVN when overlap occurs
Line Management System : Tracks active support/resistance lines and removes them when price crosses through
Volume Activity Monitor : Compares current volume to 13-period moving average for activity classification
🔥 Key Features
Customizable Thresholds : LVN threshold (5-35%, default 20%) and HVN threshold (65-95%, default 80%) for precise level filtering
Volume Activity Multiplier : Adjustable volume threshold (0.5+, default 1.5) for bubble and line creation sensitivity
Flexible Display Modes : Choose between Lines only, Bubbles only, or Both for optimal chart clarity
Smart Level Separation : Minimum separation percentage (0.1-2%, default 0.5%) prevents conflicting signals
Color Customization : Independent color controls for LVN (red) and HVN (blue) elements
Performance Optimization : Processes every 15 bars with maximum 500 active lines for smooth operation
🎨 Visualization
Colored Bubbles : Three sizes (large, medium, small) indicate volume activity strength at key levels
Horizontal Lines : Persistent support/resistance lines with width corresponding to volume activity
Dual Color System : Semi-transparent red for LVN areas, semi-transparent blue for HVN zones
Information Tooltip : Optional table showing usage guidelines and optimization tips
📖 Usage Guidelines
Volume Thresholds
LVN Threshold
○ Default: 20.0%
○ Range: 5.0-35.0%
○ Description: Price levels with volume below this percentage are marked as LVNs. Lower values create fewer, more significant levels. Typical range 15-25% works for most instruments.
HVN Threshold
○ Default: 80.0%
○ Range: 65.0-95.0%
○ Description: Price levels with volume above this percentage are marked as HVNs. Higher values create fewer, stronger levels. Range 75-85% is optimal for most trading.
Display Controls
Volume Threshold
○ Default: 1.5
○ Range: 0.5+
○ Description: Multiplier for volume significance (High=2+threshold, Medium=1+threshold, Low=0+threshold). Higher values require more volume for signals.
✅ Best Use Cases
Swing Trading : Identify key levels for position entries and exits over multiple days
Scalping : Use bubbles for immediate volume activity confirmation at critical levels
Risk Management : Place stops beyond LVN levels where price moves quickly
Breakout Trading : Monitor HVN levels for potential breakout or rejection scenarios
Multi-Timeframe Analysis : Combine with higher timeframe levels for confluence
⚠️ Limitations
Timeframe Sensitivity : Lower timeframes may produce too many levels; higher timeframes recommended for cleaner signals
Volume Data Dependency : Accuracy depends on reliable volume data from your data provider
Historical Analysis : Uses past volume data which may not predict future price behavior
Performance Impact : High number of active lines may affect chart performance on slower devices
💡 What Makes This Unique
Automated Session Analysis : No manual drawing required - automatically analyzes multiple sessions
Intelligent Filtering : Advanced separation logic prevents overlapping and conflicting signals
Adaptive Processing : Adjusts to different timeframes automatically for optimal level detection
Dual Visualization System : Combines persistent lines with real-time activity indicators
🔬 How It Works
1. Volume Profile Construction :
Analyzes the last 5 trading sessions with dynamic session length based on timeframe
Divides each session’s price range into 20 equal levels for volume distribution analysis
2. Level Classification :
Calculates volume percentage at each price level relative to session maximum
Identifies LVN levels below threshold and HVN levels above threshold
3. Signal Generation :
Creates bubbles when volume activity exceeds thresholds at identified levels
Draws horizontal lines that persist until price crosses through them
💡 Note : For optimal results, increase your chart timeframe if you see too many levels. The indicator performs best on 15-minute and higher timeframes where volume patterns are more meaningful and less noisy.
Lowvolumenode
Price Range Volume Profile++ [Pt]█ Introduction
The Price Range Volume Profile++ (PRVP++) is an advanced, feature-rich indicator specifically designed for volume profile users for in-depth volume analysis. Unlike most other volume profile tools that are limited to a 5000-bar lookback, PRVP++ can utilize all available candles on the chart, offering an unparalleled scope of historical data analysis.
█ Main Features
Full Chart Historical Lookback : PRVP++ sets a new standard with its ability to analyze the entire history of candles available on a chart, far exceeding the typical 5000-bar limit of other tools. This feature allows traders to conduct a comprehensive and detailed study of volume data over extensive time periods.
Volume Profile Analysis : The tool provides an in-depth volume profile analysis, showcasing the distribution of trading activity across different price levels. This is crucial for identifying key areas of interest in the market.
Bull/Bear Strength Profile : A standout feature that displays the relative strength of buyers (bulls) and sellers (bears) at different price levels. This visual representation helps traders gauge market sentiment and power dynamics.
Automatic HVN and LVN Identification : PRVP++ automatically highlights High Volume Nodes (HVNs) and Low Volume Nodes (LVNs), making it easier for traders to identify significant zones of trading activity and potential breakout areas.
Customization and Visual Enhancements : Offers customization for the profile's width, horizontal offset, and a sophisticated gradient color scheme for HVNs and LVNs, enhancing the tool's visual appeal and analytical utility.
█ Input Parameters
Price Range : Sets the percentage distance for the volume profile relative to the current closing price, determining the extent of volume data analysis.
Profile Step Size (Tick Size) : Users can choose automatic sizing or set a specific tick step size, offering flexibility in the granularity of the volume profile.
Volume Profile Options : Includes settings for gradient power and color selections for high and low volume areas, along with a fun mode for random color variations.
Profile Placement and Appearance : Adjustments for profile width, horizontal offset, and the option for background fill to enhance visibility.
Background Fill : Allows users to fill the background of the volume profile range, enhancing the visual impact and readability.
Time Weighted Profile : An option that weights the volume profile to give more emphasis to recent trading activities, highlighting the impact of recent market movements.
Smooth Filter : A feature that smoothens the volume profile to reduce noise and fluctuations, offering a clearer view of dominant volume levels.
High and Low Volume Node Settings : Customizable detection settings for HVNs and LVNs, line styles, label text sizes, and the option to extend lines for clearer market analysis.
Extra Settings : Includes displaying the current price on the profile, a customizable settings table with adjustable location and font size, and table opacity.
Random Color Generation : A feature for dynamically changing the colors used in the volume profile.
█ Possible Use Cases
Long-Term Market Analysis : Due to its ability to analyze all available candles on the chart, PRVP++ is exceptionally suited for long-term market analysis. Traders can study the historical volume profile over extended periods, identifying significant volume trends and shifts that could impact long-term investment strategies.
Identifying Key Support and Resistance Levels : The automatic HVN and LVN identification feature of PRVP++ makes it easier for traders to spot potential support and resistance levels. HVNs often correspond to strong support or resistance zones where significant trading activity has occurred, while LVNs may indicate levels where the price could break through more easily.
Gauging Market Sentiment with Bull/Bear Strength Profile : The Bull/Bear Strength Profile helps traders understand the prevailing market sentiment at different price levels. By analyzing the dominance of buying or selling pressure, traders can align their trades with the market's direction or prepare for potential reversals.
Intraday Trading and Scalping : For intraday traders and scalpers, the time-weighted feature and the ability to adjust profile step size offer valuable insights. By emphasizing recent trading activity and adjusting the granularity of the profile, traders can make more informed decisions based on short-term price movements and volume changes.
Breakout Trading : By utilizing the LVN identification, traders can pinpoint areas with low trading activity that might serve as potential breakout points. This information can be instrumental in formulating strategies to capitalize on sudden price movements.
Volume Gap Analysis : PRVP++ can be used to identify volume gaps, which are areas with significantly low volume. These gaps can act as important indicators for price movements, as prices may move quickly through these levels due to the lack of historical trading activity.
Risk Management and Position Sizing : Understanding the volume profile can aid in better risk management and position sizing. By recognizing areas of high and low volume, traders can set stop-loss orders more effectively and adjust their position sizes according to the perceived strength of support or resistance levels.
Swing Trading : For swing traders, the comprehensive historical lookback and HVN/LVN analysis provide critical information about where to enter and exit trades. Swing traders can utilize these features to identify trend reversals and momentum shifts.
█ Best Practices and Tips
Start with a Clear Understanding : Before utilizing PRVP++, ensure you have a solid grasp of volume profile concepts. Understanding High Volume Nodes (HVNs), Low Volume Nodes (LVNs), and their implications on market behavior is crucial.
Combine with Other Analysis Tools : While PRVP++ is powerful, it's most effective when used in conjunction with other technical analysis tools and indicators. Combining volume profile data with price action analysis, trend lines, and technical indicators can provide a more comprehensive market view.
Customize According to Your Trading Style : Tailor the tool's settings to fit your trading strategy. Day traders might prefer a more detailed profile, while long-term investors may benefit from broader data analysis.
Pay Attention to HVNs and LVNs : HVNs can indicate potential support or resistance areas, while LVNs might suggest breakout points. Monitor these areas closely for trading opportunities.
Utilize the Full Historical Lookback Feature : For a broader perspective, use the full historical lookback feature to understand long-term volume patterns and their impact on current price movements.
Keep an Eye on Bull/Bear Strength : Use the Bull/Bear Strength Profile to gauge market sentiment at different price levels. This can help in predicting potential price movements.
Regularly Update Your Strategy : As market conditions change, regularly review and adjust your use of PRVP++ to ensure it aligns with current market dynamics.
Stay Informed About Market News : Be aware of how economic news and global events might affect the volume and price, as these factors can significantly impact the effectiveness of volume-based strategies.
█ Disclaimers and Risk Advice
No Guarantee of Profits : Trading involves risk, and the use of the PRVP++ tool does not guarantee profits. Always be aware of the potential for loss.
Educational Purposes Only : The information provided by PRVP++ is for educational purposes only and should not be considered financial advice.
Not a Standalone Tool : PRVP++ should not be used as a standalone decision-making tool. Combine it with comprehensive market analysis and personal judgment.
Past Performance Not Indicative of Future Results [/b: Historical data and trends analyzed by PRVP++ do not guarantee future market behavior.
Use Risk Management : Always employ sound risk management strategies, including setting stop-loss orders and managing position sizes to protect your capital.
Personal Responsibility : Trading decisions remain the responsibility of the individual trader. Use PRVP++ as one of several tools in your decision-making process.
Historic Volume/Market ProfilesHistoric Volume/Market Profile is a Periodic Volume Profile with all of the improvements known in the original Volume/Market Profile.
VMP is a 2 in 1 Volume and Market Profile Indicator.
HVMP uses the base of VMP to offer a quick and simple view at multiple historic profiles at the same time.
This includes:
Cluster Identification for High Volume and Low Volume Areas.
Maximizing granularity by utilizing boxes and lines to get up to 1000 rows.
New Inclusions in HVMP vs VMP:
HVMP granularity is determined by the # of profiles on display. By doing this, each profile will get an even amount of allocated rows to use and granularity is scaled per-profile, to fit within the row allowance.
For Example: 1000/(# of profiles) = Maximum # of rows per profile.
HVMP introduces the "Auto-Scale" Option (on by Default), this automatically fits each profile within the defined timeframe period to provide a consistent display when switching timeframes.
Even with "Auto-Scale" enabled, "Display Size" dictates which direction the profile is displayed.
Below is a Negative Display Size (Displays from right to left, starting at the end of the period)
Below is a Positive Display Size (Displays from left to right, starting at the beginning of the period)
HVMP is only for historical data, you can get a live profile with the same Node Identification using VMP (Volume Market/Profile). The indicator that this one is based on.
Find it Here: Volume/Market Profile
Enjoy!
Volume Orderbook (Expo)█ Overview
The Volume Orderbook indicator is a volume analysis tool that visually resembles an order book. It's used for displaying trading volume data in a way that may be easier to interpret or more intuitive for certain traders, especially those familiar with order book analysis.
This indicator aggregate and display the total trading volume at different price levels over the entire range of data available on the chart, similar to how an order book displays current buy and sell orders at different price levels. However, unlike a real-time order book, it only considers historical trading data, not current bid and ask orders. This provides a 'historical order book' of sorts, indicating where most trading activities have taken place.
Summary
This is a volume-based indicator that shows the volume traded at specific price levels, highlighting areas of high and low activity.
█ Calculations
The algorithm operates by calculating the cumulative volume traded in each specific price zone within the range of data displayed on the chart. The length of each horizontal bar corresponds to the total volume of trades that occurred within that particular price zone.
In essence, when the price is in a specific zone, the volume is added to the bar representing that zone. A thicker bar implies a larger price zone, meaning that more volume is accumulated within that bar. Therefore, the thickness of the bar visually indicates the amount of trading activity that took place within the associated price zone.
█ How to use
The Volume Orderbook indicator serves as a beneficial tool for traders by identifying key price levels with a significant amount of trading activity. These high-volume areas could represent potential support or resistance levels due to the large number of orders situated there. The indicator's ability to spotlight these zones might be particularly advantageous in pinpointing breakouts or breakdowns when prices move beyond these high-volume regions. Moreover, the indicator could also assist traders in recognizing anomalies, such as when an unusually large volume of trades occurs at unconventional price levels.
Identify Key Price Levels: The indicator highlights high-volume areas where a significant number of trades have occurred, which could act as potential support or resistance levels. This is based on the notion that many traders have established positions at these prices, so these levels may serve as significant areas for market activity in the future.
Volume Nodes: These are the peaks (high-volume areas) and troughs (low-volume areas) seen on the indicator. High-volume nodes represent price levels at which a large amount of volume has been traded, typically areas of strong support or resistance. Conversely, low-volume nodes, where very little volume has been traded, indicate price levels that traders have shown little interest in the past and could potentially act as barriers to price. It's important to note that while high trading volume can imply significant market interest, it doesn't always mean the price will stop or reverse at these levels. Sometimes, prices can quickly move through high-volume areas if there are no current orders (demand) to match with the new orders (supply).
Analyze Market Psychology: The distribution of volume across different price levels can provide insights into the market's psychology, revealing the balance of power between buyers and sellers.
Highlight Potential Reversal Points: The indicator can help identify price levels with high traded volume where the market might be more likely to reverse since these levels have previously attracted significant interest from traders.
Validate Breakouts or Breakdowns: If the price moves convincingly past a high-volume node, it could indicate a strong trend, suggesting a potential breakout or breakdown. Conversely, if the price struggles to move past a high-volume node, it could suggest that the trend is weak and might potentially reverse.
Trade Reversals: High-volume areas could also indicate potential turning points in the market. If the price reaches these levels and then starts to move away, it might suggest a possible price reversal.
Confirm Other Signals: As with all technical indicators, the "Volume Orderbook" should ideally be used in conjunction with other forms of technical and fundamental analysis to confirm signals and increase the odds of successful trades.
Summary
The Volume Orderbook indicator allows traders to identify key price levels, analyze market psychology, highlight potential reversal points, validate breakouts or breakdowns, confirm other trading signals, and anticipate possible trade reversals, thereby serving as a robust tool for trading analysis.
█ Settings
Source: The user can select the source, the default of which is "close." This implies that volume is added to the volume order book when the closing price falls within a specific zone. Users can modify this to any indicator present on their chart. For example, if it's set to an SMA (Simple Moving Average) of 20, the volume will be added to the volume order book when the SMA 20 falls within the specific zone.
Rows and width: These settings allow users to adjust the representation of volume order book zones. "ROWS" pertains to the number of volume order book zones displayed, while "WIDTH" refers to the breadth of each zone.
Table and Grid: These settings allow traders to customize the Volume order-book's position and appearance. By adjusting the "left" parameter, users can shift the position of the Volume order book on the chart; a higher value pushes the order book further to the right. Additionally, users can enable "Table Border" and "Table Grid" options to add gridlines or borders to the Volume order book for easier viewing and interpretation.
-----------------
Disclaimer
The information contained in my Scripts/Indicators/Ideas/Algos/Systems does not constitute financial advice or a solicitation to buy or sell any securities of any type. 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.
My Scripts/Indicators/Ideas/Algos/Systems are only for educational purposes!