FVG IndicatorFVG (Fair Value Gap) Indicator – Multi-Timeframe & iFVG Support
The Fair Value Gap (FVG) represents a sharp price imbalance created during aggressive moves. In Smart Money Concepts, these areas act as key support and resistance zones. This indicator provides a comprehensive, highly customizable visualization of FVGs directly on your chart.
🔍 Key Features
Multi-Timeframe Support (HTF) : Display FVGs from your current timeframe plus up to 3 higher timeframes simultaneously (e.g., view 1m, 5m, 15m, and 1h FVGs all on a single 1-minute chart).
iFVG (Inverted FVG) Auto-Conversion : When price closes below a Bullish FVG, it auto-converts to a Bearish iFVG (Purple) . When price closes above a Bearish FVG, it auto-converts to a Bullish iFVG (Teal) . iFVGs have independent line styles (Dashed/Dotted/Solid) and widths for easy distinction.
Extension Modes : Choose how far the FVG boxes extend to the right.
- No Extension: Boxes remain within the original candle range.
- Custom Extension: Boxes extend for a specific number of bars you define.
- Infinite Extension: Boxes extend infinitely to the right edge of the chart, with labels fixed to the right for real-time price context.
Volume Threshold (Highlight / Filter) : Separate significant FVGs from minor ones using volume.
- Supports SMA, EMA, or Z-Score for volume averaging.
- Highlight Mode: Adds a yellow border and a ★ star to FVGs that exceed the volume threshold.
- Filter Mode: Hides FVGs that do NOT meet the volume threshold, keeping your chart clean and focused.
Fully Customizable Styling : Set independent background colors, border colors, and border widths for Bullish FVG, Bearish FVG, Bullish iFVG, and Bearish iFVG. Adjust label text color, size, and offset freely.
📊 Interpretation Guide
Bullish FVG (Green): Gap created after a strong upward move Acts as a key support zone during pullbacks.
Bearish FVG (Red): Gap created after a strong downward move Acts as a key resistance zone during bounces.
Bullish iFVG (Teal): Price breaks above a Bearish FVG's top Indicates prior resistance has flipped into support .
Bearish iFVG (Purple): Price breaks below a Bullish FVG's bottom Indicates prior support has flipped into resistance .
Volume exceeds the defined threshold: Highlights that this FVG is backed by strong volume, making it more significant .
⚙️ Important Input Settings Explained
Bullish / Bearish FVG Display : Toggle to show or hide specific directional FVGs.
Maximum FVG Boxes : Limits the total number of boxes displayed (1–100) for optimal performance.
HTF 1 / 2 / 3 : Enter higher timeframe values (e.g., 60 for 60 minutes, 240 for 240 minutes, D for Daily, W for Weekly). Leave blank to disable.
Threshold Mode :
- None: Displays all FVGs regardless of volume.
- Highlight: Visually emphasizes FVGs that pass the volume test.
- Filter: Only displays FVGs that pass the volume test.
- Threshold Type: (SMA / EMA/ Z-score) Simply need to select a indicator for measuring the threshold.
- Recommand Setting : If you select SMA or EMA >> length: 3~20 & Multiply 1.5
If you select Z-score(sma based) >> length: 3~20 & Multiply 1
Apply Threshold to iFVG : When enabled, the volume threshold is re-evaluated when a standard FVG converts to iFVG.
⚠️ Important Notes
To prevent repainting and false signals, higher timeframe (HTF) data is fetched with lookahead turned OFF . This ensures the indicator relies only on closed HTF candles.
The script is configured with a maximum of 500 boxes and 500 labels to handle heavy multi-timeframe rendering without performance lag.
This indicator is based on historical price data. It should be used in confluence with price action, market structure, or other confirmation tools—not as a standalone buy/sell signal.
📜 License
This work is licensed under Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0) .
✅ Allowed: Free use, modification, and sharing for non-commercial purposes.
❌ Prohibited: Commercial use, redistribution for profit, or publishing without proper credit.
🔗 Required: Always retain the original author's credit (Lapa) and provide a link to the license.
Full license details: creativecommons.org Indicator

Volume Profile - AccurateCore Architecture
1. Lower-Timeframe Precision Engine Traditional volume profiles on PulseWire can be inaccurate because they guess the volume distribution within a daily candle. This script actually pulls raw data from a lower Source TF (default 5-minute) using request.security_lower_tf and mathematically reconstructs the exact volume traded at every single price tick for the entire day.
2. The Histogram (The Profile itself) It divides the entire price range of the period into a set number of horizontal rows (default 24). It then sorts the lower timeframe volume into these rows, painting a histogram (horizontal bars) on the side of the chart.
Key Trading Features
1. Point of Control (POC) The script mathematically isolates the single row with the absolute highest traded volume for the period.
Action: It projects a solid red line across the chart at this exact price level. The POC acts as the ultimate "fair value" price where buyers and sellers agreed the most, making it a massive magnet for future price action and a strong support/resistance level.
2. Value Area (VA) It calculates the core range where the majority of the trading took place (default is 68% of all volume, representing one standard deviation).
Action: It plots the Value Area High (VAH) and Value Area Low (VAL) as blue lines, and dynamically fills the background between them. Trading outside the Value Area represents an imbalance, while trading inside it represents balance.
3. Advanced Node Detection (HVN & LVN) This is where the script shines. It doesn't just plot the profile; it uses an algorithm to scan the shape of the profile and identify specific structural anomalies:
HVN (High Volume Nodes): Peaks in the profile (other than the POC). The script automatically draws red dashed lines and boxes at these levels. They act as localized support/resistance ledges.
LVN (Low Volume Nodes): Valleys or "gaps" in the profile where price moved so fast that almost zero volume was traded.
LVN Areas: The script goes a step further and intelligently groups adjacent LVNs together to create an "LVN Area" box (default Lime Green). Because there is no historical volume here to stop the price, if price enters an LVN Area, it will usually slice right through it like a hot knife
through butter.
Visual Control
It uses Pine Script's array-based object management (array, array) to dynamically clean up and redraw the profile flawlessly on every tick. You have full control in the settings over where the profile draws (Left/Right), its width, the color of the Value area vs outside the Value area, and toggles for every single specific node. Indicator

Visible Range Volume NodesVisible Range Volume Nodes is a visible-range volume profile indicator that shows how traded volume is distributed across price levels inside the currently visible chart area.
The script builds a horizontal volume profile from the candles visible on the chart. It divides the visible price range into rows and distributes each candle's volume across the price rows touched by that candle's high-low range. Rows with more accumulated volume are displayed wider. Rows with less accumulated volume are displayed narrower.
How volume is calculated
Each candle's volume is distributed proportionally across the price rows covered by that candle's high-low range. If a candle covers several rows, its volume is split between those rows based on the amount of price overlap.
Bullish and bearish volume are separated using candle direction:
* Candles closing above their open are counted as bullish volume;
* Candles closing below their open are counted as bearish volume;
* Neutral candles are split evenly.
Key Volume Areas
POC - Point of Control
POC is the price row with the highest volume inside the visible range. It marks the largest volume concentration in the selected chart area.
VAH - Value Area High
VAH is the upper boundary of the value area.
VAL - Value Area Low
VAL is the lower boundary of the value area.
The value area starts from the POC and expands through the highest-volume neighboring rows until the selected percentage of total visible-range volume is included. By default, this is commonly used as a 70% value area, but the percentage can be changed in the settings.
HVN - High Volume Node
HVN zones are high-volume areas detected from local peaks in the smoothed volume profile. These zones show where volume was concentrated compared with nearby price levels.
LVN - Low Volume Node
LVN zones are low-volume areas detected from local valleys in the smoothed volume profile. These zones show where volume was thinner compared with nearby price levels.
How to use it
The profile can help users compare current price action with previously traded volume areas inside the selected visible range:
* POC shows the main high-volume reference area of the visible range;
* VAH and VAL show the upper and lower limits of the main value area;
* HVN zones show areas where price previously spent more volume;
* LVN zones show areas where volume was thinner relative to nearby price levels;
* The histogram shows the full volume distribution across the selected price range.
A trader can use these areas as context when analyzing price location. For example, price trading near POC is trading near the main volume concentration of the visible range. Price trading near VAH or VAL is trading near the edge of the calculated value area. HVN and LVN zones can be used to compare current price behavior with areas of stronger or weaker previous volume participation.
These levels should be treated as structural references only. They are not automatic entries, exits, support, resistance, targets, or invalidation levels.
Main settings
* Profile Rows controls how many price rows are used to build the volume profile. More rows create a more detailed profile. Fewer rows create a smoother, broader profile;
* Value Area % controls how much of the visible-range volume is included inside the value area;
* Histogram Direction controls whether the profile is displayed to the left or right side of the visible chart area;
* Profile Distance controls the spacing between the visible candles and the profile panel;
* The script also includes settings for showing or hiding POC, VAH/VAL, HVN, LVN, labels, prices in labels, line style, line width, label size, and colors.
Limitations
*This indicator does not generate buy or sell signals;
*It does not predict future price direction;
*It does not define guaranteed support or resistance;
*It does not use exact bid/ask volume;
*It does not use footprint, delta, or order book data.
The displayed structure depends on the selected visible range, symbol, exchange, timeframe, and available volume data.
Because the profile is based on the currently visible chart range, moving or zooming the chart can change the calculated POC, value area, HVN zones, and LVN zones.
Indicator

Sessions Flow [Cartel Console] Sessions Flow
# Overview
Sessions Flow is a session-based market activity visualization tool designed to provide a detailed view of how trading volume is distributed throughout the major global forex and index trading sessions.
Rather than displaying volume as a single aggregated value, the indicator breaks each session into multiple price levels and visualizes where trading activity was concentrated during that session. This allows traders to study session structure, identify high-participation and low-participation areas, and compare how different sessions interact with price.
The indicator automatically tracks and analyzes the four major trading sessions:
• Sydney Session
• Tokyo Session
• London Session
• New York Session
Each session is processed independently and displayed directly on the chart using volume distribution heatmaps, volume profiles, Point of Control calculations, and Value Area measurements.
---
# Core Features
## Session Detection
The indicator automatically identifies the start and end of each selected trading session and creates a dedicated session structure on the chart.
Users can enable or disable individual sessions and customize session times according to their preferences.
Supported sessions include:
• Sydney
• Tokyo
• London
• New York
---
### Session Heatmap
Each session contains a heatmap that displays the relative distribution of trading activity throughout the session range.
The heatmap highlights:
• Areas with greater participation
• Areas with moderate participation
• Areas with lower participation
This provides a quick visual overview of where the market spent the most and least volume during a session.
Heatmap density and transparency settings can be fully customized.
---
### Session Volume Profile
For every session, the indicator constructs a volume profile based on price distribution inside the session range.
The profile is displayed as a side histogram showing how activity was distributed vertically across different price levels.
This can help traders observe:
• High-volume areas
• Low-volume areas
• Session acceptance regions
• Session rejection regions
The profile width and display settings are adjustable.
---
## Point of Control (POC)
The Point of Control represents the price level that accumulated the highest amount of volume during a session.
The indicator automatically calculates and plots the POC for each completed session.
POC levels often serve as useful reference points when reviewing historical session activity and market structure.
---
### Value Area Analysis
The indicator calculates a configurable Value Area based on the percentage of session volume selected by the user.
Displayed levels include:
• Value Area High (VAH)
• Value Area Low (VAL)
These levels help visualize the region where the majority of session activity occurred.
The default setting uses a 70% Value Area, but users may customize this value.
---
### Historical Session Management
To maintain chart performance, the indicator includes controls for:
• Maximum detailed sessions displayed
• Historical session lookback period
• Simplified rendering of older sessions
Recent sessions can retain full heatmap and profile information while older sessions transition into lightweight background structures.
This allows extensive historical analysis without excessive chart clutter.
---
### Active Session Dashboard
A built-in dashboard displays the currently active trading sessions in real time.
The dashboard provides:
• Active session names
• Live session status indicators
This makes it easy to determine which global markets are currently open without leaving the chart.
---
## Customization Options
The indicator includes a wide range of configurable settings:
### Session Settings
• Individual session visibility
• Custom session times
### Heatmap Settings
• Heatmap resolution
• Number of price bins
• Density visualization controls
### Volume Profile Settings
• Histogram width
• Detailed session limits
### Value Area Settings
• Value Area percentage
• VA visibility controls
### Styling Settings
• Session colors
• Border transparency
• Historical session appearance
• Dashboard position
---
## Intended Usage
Sessions Flow is designed for traders who want to study how market activity develops during different trading sessions.
It can be used for:
• Session analysis
• Market structure observation
• Historical session review
• Volume distribution study
• Contextual chart analysis
The indicator focuses on visualization and analysis rather than signal generation.
---
## Disclaimer
This indicator is intended for educational and analytical purposes only. It does not provide financial advice, trading recommendations, or guaranteed outcomes. Trading involves risk, and users should perform their own analysis before making trading decisions.
Indicator

AGT LevelsAGT Levels is a custom volume-profile-based support and resistance tool designed to highlight key High Volume Nodes and Low Volume Nodes directly on your chart.
Instead of using standard horizontal levels, this indicator builds a full right-side volume profile from the same data used to calculate the levels. The profile is plotted to the right of price and faces back toward the chart, making it easier to see where volume has built up and where price may react.
The main idea is simple:
High Volume Nodes can act as areas where price accepts value, consolidates, or reacts strongly.
Low Volume Nodes can act as rejection zones, thin liquidity areas, or fast-move regions where price may move quickly through or reject from.
The indicator includes:
• Full right-side volume profile
• Up/down volume split inside the profile
• HVN and LVN level detection
• Major and minor level zones
• Adjustable sensitivity settings
• Adjustable profile offset
• Level zones extending from the volume profile
• Optional boxes, midlines, or both
• Alerts for level touches and rejections
The Sensitivity setting controls both the volume profile resolution and the level detection logic:
Conservative gives cleaner, broader levels.
Balanced gives a good all-round view.
Aggressive gives more granular levels and a more detailed profile.
This tool is designed to help traders identify important volume-based reaction zones, rather than relying only on traditional highs/lows or manually drawn support and resistance.
Best used together with your own market structure, session bias, VWAP, orderflow, or liquidity-based strategy.
This script does not predict future price movement. It is intended for technical analysis, backtesting, and educational use only.
Not financial advice. Always do your own research and risk management. Indicator

Strategy

Volume Profile with HVN / LVN Detection (Low-TF Safe)Session-based volume profile with VPOC, HVN, and LVN detection, optimized for fast charts and runtime-safe lower-timeframe execution.
Volume Profile with HVN / LVN Detection (Low-TF Safe)
This indicator plots a session-based Volume Profile , highlights the Volume Point of Control (VPOC) , and automatically detects High Volume Nodes (HVNs) and Low Volume Nodes (LVNs) from the completed profile.
It is a performance-focused refactor of the original Volume Profile With HVN/LVN Detector , redesigned to work reliably on fast timeframes (including 5-second charts) without runtime errors.
Features
Session-based volume profile with adjustable row resolution
VPOC with optional extension and date labeling
Automatic HVN and LVN detection from the prior session
HVNs and LVNs displayed as levels or areas
Configurable strength, colors, and line/area styles
Runtime-safe lower-timeframe handling using request.security_lower_tf
Optimized to reduce execution overhead on high-frequency charts
Designed for traders who use volume structure to identify acceptance, rejection, and potential support/resistance zones across all chart timeframes.
---
What’s new in this version
Refactored lower-timeframe logic to prevent runtime errors on fast charts
Automatic, runtime-safe fallback when selected lower TF exceeds chart TF
Stable execution on very low timeframes (e.g. 5s, 10s)
Preserved original profile, VPOC, HVN, and LVN behavior
No repainting of completed session profiles
This update prioritizes stability, correctness, and cross-timeframe compatibility .
---
Credits & Attribution
This script is based on the original
“Volume Profile With HVN/LVN Detector”
by tradeforopp (revised by Madpuppy88 ).
The current version refactors the original implementation to improve:
Runtime safety on low timeframes
Performance on high-frequency charts
Robust multi-timeframe handling
Original concept and core logic credit remain with the original authors.
---
How to Use
VPOC highlights the price level of highest traded volume for the session and often acts as a magnet or balance point.
HVNs represent areas of acceptance where price previously traded heavily and may act as support/resistance or consolidation zones.
LVNs mark areas of rejection where price moved quickly and may act as inflection or breakout levels.
Use HVNs and LVNs from the prior session to frame intraday bias, targets, and risk zones.
On very fast charts, the script automatically falls back to chart-timeframe data to maintain stability.
Indicator

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. Indicator
