OPEN-SOURCE SCRIPT
AetherEdge - Volume Profile Session Analyzer

🖊️ Overview
AetherEdge Volume Profile Session Analyzer is a professional-grade session analysis engine that constructs independent volume profiles for the three major global sessions—Asia / London / New York. It computes and visualizes POC (Point of Control), VAH (Value Area High), and VAL (Value Area Low) for each session in real time, clearly mapping the institutional trading concentration zones. This is a world-class market structure analysis tool that captures distinct liquidity layers across timezones.
🔶 Key Features
3-Session Independent Profiling: Constructs separate volume distributions for Asia / London / NY
Dynamic POC / VAH / VAL Calculation: Extracts institutional zones from price×volume heatmaps
Customizable Resolution: 10–150 bin precision grid for adjustable analytical granularity
Adjustable Value Area %: Define trading concentration zone with 50–95% custom setting
Session Background Shading: Instant visual identification of time periods
Previous Session Level Extension: Project past POC/VA levels forward as S/R
Timezone Support: GMT, Exchange, NY, London, Tokyo selectable
Integrated Dashboard: One-glance display of key levels across 3 sessions
AetherEdge Premium UI: Dark mode support, refined color palette
🧠 Technical Architecture
This indicator is an advanced market microstructure analysis system that decomposes Volume Profile theory along the time axis (sessions).
Session Detection Logic: Timezone-aware session judgment via time(timeframe.period, sessionStr, tzStr). Start/End edge detection captures precise session boundaries.
Bin Array Architecture: Each session maintains an independent array<float> volume bin. Auto-resets at session start, archived as finalized values at end.
Volume Distribution Algorithm:
Splits each bar's price range (high-low) into corresponding bins within session range
binSize = sessionRange / bins calculates each bin's price width
perBin = barVolume / nCells evenly distributes bar volume across relevant bins
Results in true price-by-volume distribution
POC Calculation: Extracts maximum value index from bin array, identifies the price level with highest trading concentration
Value Area Calculation: Expands up/down from POC until cumulative volume reaches vaPct (default 70%). Defines the consensus zone of market participants.
Dynamic Range Update: hiRef = max(prevHi, currentHigh) continuously tracks session highs/lows
Persistence Management: var variables retain previous session values, drawing extension lines after session ends
Multi-Object Management: array<box>, array<line>, array<label> integrate drawing objects per session
⚙️ Recommended Settings & Tuning Guide
Crypto Defaults (24/7 markets):
BTC (1H–4H): bins=50, vaPct=70, high precision standard
ETH (15M–1H): bins=70 for high-resolution profile
SOL (high-vol): bins=40 for smoothing, noise reduction
XRP (mixed liquidity): bins=60, vaPct=68
Timezone Recommendations:
Crypto: GMT for global standard analysis
Stock CFDs: Exchange TZ
FX: America/New_York for major session sync
Tuning Guide:
Detailed Analysis: bins=100+ for precise institutional order detection
Macro View: bins=30 to extract major zones only
Wide VA: vaPct=80 for breakout point identification
Narrow VA: vaPct=60 for core zone clarity
Day Trading: extendPrev=true to leverage prior session boundaries
Swing: profileWidth=50 for enhanced visibility
💡 How to Use in Practice
POC Touch Reaction: Institutional position concentration zone—critical for pullback long / rebound short
VAH/VAL Break: Value Area breakthrough is a strong new trend initiation signal
Session Transition: Use POC position at London→NY handoff for day-trade direction bias
Asia POC Utility: Critical S/R during European/American sessions, range-trade baseline
VA Overlap Zones: Price areas where multiple session VAs coincide = ultra-strong S/R
Naked POC: Untested POCs act as future magnetic targets
AetherEdge Synergy:
Self-Evolving S/R Grid strong line + session POC alignment = ultra-high-conviction zone
Hull MA Ribbon Strong Bull + VAH break = perfect long entry
Order Block Detector OB + previous session VAL = institutional accumulation zone
Multi-TF Application: Confirm session VA on 4H chart → precision entry on 15M
⚠️ Important Notes
Session Time Configuration: Manual adjustment recommended at DST transitions
Initial Data Accumulation: Requires at least one completed session before display
Low-Volume Symbols: Profile precision degrades; reduce bin count
Bin Resolution Trade-off: Higher resolution = more precision but heavier rendering
Timezone Consistency: GMT/Exchange misconfiguration causes session boundary drift
max_boxes_count Limit: Old sessions auto-deleted on long-term display
🚨 Disclaimer
This indicator is a technical analysis tool provided for educational and research purposes only and does not constitute financial advice. Volume profile and session analysis is statistical visualization based on historical market data and does not guarantee future price behavior. All trading decisions are made at your own risk and should be accompanied by proper risk management.
AetherEdge Volume Profile Session Analyzer is a professional-grade session analysis engine that constructs independent volume profiles for the three major global sessions—Asia / London / New York. It computes and visualizes POC (Point of Control), VAH (Value Area High), and VAL (Value Area Low) for each session in real time, clearly mapping the institutional trading concentration zones. This is a world-class market structure analysis tool that captures distinct liquidity layers across timezones.
🔶 Key Features
3-Session Independent Profiling: Constructs separate volume distributions for Asia / London / NY
Dynamic POC / VAH / VAL Calculation: Extracts institutional zones from price×volume heatmaps
Customizable Resolution: 10–150 bin precision grid for adjustable analytical granularity
Adjustable Value Area %: Define trading concentration zone with 50–95% custom setting
Session Background Shading: Instant visual identification of time periods
Previous Session Level Extension: Project past POC/VA levels forward as S/R
Timezone Support: GMT, Exchange, NY, London, Tokyo selectable
Integrated Dashboard: One-glance display of key levels across 3 sessions
AetherEdge Premium UI: Dark mode support, refined color palette
🧠 Technical Architecture
This indicator is an advanced market microstructure analysis system that decomposes Volume Profile theory along the time axis (sessions).
Session Detection Logic: Timezone-aware session judgment via time(timeframe.period, sessionStr, tzStr). Start/End edge detection captures precise session boundaries.
Bin Array Architecture: Each session maintains an independent array<float> volume bin. Auto-resets at session start, archived as finalized values at end.
Volume Distribution Algorithm:
Splits each bar's price range (high-low) into corresponding bins within session range
binSize = sessionRange / bins calculates each bin's price width
perBin = barVolume / nCells evenly distributes bar volume across relevant bins
Results in true price-by-volume distribution
POC Calculation: Extracts maximum value index from bin array, identifies the price level with highest trading concentration
Value Area Calculation: Expands up/down from POC until cumulative volume reaches vaPct (default 70%). Defines the consensus zone of market participants.
Dynamic Range Update: hiRef = max(prevHi, currentHigh) continuously tracks session highs/lows
Persistence Management: var variables retain previous session values, drawing extension lines after session ends
Multi-Object Management: array<box>, array<line>, array<label> integrate drawing objects per session
⚙️ Recommended Settings & Tuning Guide
Crypto Defaults (24/7 markets):
BTC (1H–4H): bins=50, vaPct=70, high precision standard
ETH (15M–1H): bins=70 for high-resolution profile
SOL (high-vol): bins=40 for smoothing, noise reduction
XRP (mixed liquidity): bins=60, vaPct=68
Timezone Recommendations:
Crypto: GMT for global standard analysis
Stock CFDs: Exchange TZ
FX: America/New_York for major session sync
Tuning Guide:
Detailed Analysis: bins=100+ for precise institutional order detection
Macro View: bins=30 to extract major zones only
Wide VA: vaPct=80 for breakout point identification
Narrow VA: vaPct=60 for core zone clarity
Day Trading: extendPrev=true to leverage prior session boundaries
Swing: profileWidth=50 for enhanced visibility
💡 How to Use in Practice
POC Touch Reaction: Institutional position concentration zone—critical for pullback long / rebound short
VAH/VAL Break: Value Area breakthrough is a strong new trend initiation signal
Session Transition: Use POC position at London→NY handoff for day-trade direction bias
Asia POC Utility: Critical S/R during European/American sessions, range-trade baseline
VA Overlap Zones: Price areas where multiple session VAs coincide = ultra-strong S/R
Naked POC: Untested POCs act as future magnetic targets
AetherEdge Synergy:
Self-Evolving S/R Grid strong line + session POC alignment = ultra-high-conviction zone
Hull MA Ribbon Strong Bull + VAH break = perfect long entry
Order Block Detector OB + previous session VAL = institutional accumulation zone
Multi-TF Application: Confirm session VA on 4H chart → precision entry on 15M
⚠️ Important Notes
Session Time Configuration: Manual adjustment recommended at DST transitions
Initial Data Accumulation: Requires at least one completed session before display
Low-Volume Symbols: Profile precision degrades; reduce bin count
Bin Resolution Trade-off: Higher resolution = more precision but heavier rendering
Timezone Consistency: GMT/Exchange misconfiguration causes session boundary drift
max_boxes_count Limit: Old sessions auto-deleted on long-term display
🚨 Disclaimer
This indicator is a technical analysis tool provided for educational and research purposes only and does not constitute financial advice. Volume profile and session analysis is statistical visualization based on historical market data and does not guarantee future price behavior. All trading decisions are made at your own risk and should be accompanied by proper risk management.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.