OPEN-SOURCE SCRIPT
Session Auction Profile - Spectre Trades

The Spectre Trades Session Auction Profile is a customizable intraday volume-profile and auction-market analysis indicator designed to help traders evaluate where volume is developing during a selected trading session.
The indicator estimates volume-at-price using chart-bar OHLCV data and displays a developing session profile with the Point of Control, Value Area High, Value Area Low, and Value Area Midpoint. The profile can be positioned on either side of the session and configured to expand left or right. The default layout places the profile to the left of the session with the histogram facing right, helping preserve visibility around current price action.
Main features
Developing session volume profile
Adjustable number of profile rows
Customizable value-area percentage
Point of Control, VAH, VAL, and Value Area Midpoint
Adjustable profile width, placement, offset, and direction
Left-side profile placement with right-facing volume rows
Optional standard or migration-based profile coloring
POC-slope, Value MID-slope, and price-versus-value migration modes
Developing POC trail
Previous-session POC, VAH, VAL, and midpoint
Untested and tested naked POCs
Current Session High and Current Session Low
Initial Balance High, Low, and Midpoint
Developing or completed-only Initial Balance display
Adjustable line styles, widths, colors, labels, label sizes, and offsets
Auction-status dashboard
Alerts for profile levels, session extremes, Initial Balance levels, naked POCs, and migration changes
Profile migration module
The profile-box migration module provides a visual representation of directional value development. Traders can color the profile according to:
POC Slope: identifies whether the developing Point of Control is moving higher, lower, or remaining neutral.
Value MID Slope: evaluates directional movement in the center of the developing value area.
Price vs. Value MID: compares current price with the developing Value Area Midpoint.
Standard Colors: displays traditional value-area, non-value-area, and POC colors without directional migration coloring.
Migration signals are intended to help traders recognize whether value is being accepted at higher prices, accepted at lower prices, or remaining balanced.
Initial Balance module
The Initial Balance module calculates the high, low, and midpoint of the first user-defined number of minutes after the selected session opens. The levels can update while the Initial Balance is developing and then lock once the period is complete.
Traders can choose to display the Initial Balance while it is developing or show only the completed levels.
Intended use
This indicator is designed for futures, index, forex, cryptocurrency, and other intraday markets where session structure and volume development are relevant.
It may help traders evaluate:
Developing value and market acceptance
Balance versus price discovery
POC and value-area migration
Reactions at VAH, VAL, MID, and POC
Initial Balance breakouts and rejections
Current-session range expansion
Untested historical Points of Control
Potential areas of support, resistance, continuation, and mean reversion
The indicator is best used as a contextual and confluence tool alongside price action, market structure, liquidity, order flow, and disciplined risk management.
Important calculation note
This script estimates volume-at-price by distributing each chart candle’s reported volume across the price rows touched by that candle. It does not use exchange-level bid-and-ask footprint data and may differ from TradingView’s built-in Volume Profile or profiles calculated from lower-timeframe data.
Results may vary based on the selected chart timeframe, symbol, session, data feed, number of rows, and value-area settings.
Disclaimer
This indicator is provided for educational and informational purposes only. It does not constitute financial advice, investment advice, or a recommendation to buy or sell any financial instrument.
No indicator can predict future market movement or guarantee profitable results. Historical levels, volume distributions, migration signals, alerts, and auction classifications may fail or produce false signals. Traders are responsible for independently evaluating all trading decisions and managing their own risk.
Trading futures, options, forex, cryptocurrency, and leveraged financial products involves substantial risk and may not be suitable for every trader. Past performance does not guarantee future results.
The indicator estimates volume-at-price using chart-bar OHLCV data and displays a developing session profile with the Point of Control, Value Area High, Value Area Low, and Value Area Midpoint. The profile can be positioned on either side of the session and configured to expand left or right. The default layout places the profile to the left of the session with the histogram facing right, helping preserve visibility around current price action.
Main features
Developing session volume profile
Adjustable number of profile rows
Customizable value-area percentage
Point of Control, VAH, VAL, and Value Area Midpoint
Adjustable profile width, placement, offset, and direction
Left-side profile placement with right-facing volume rows
Optional standard or migration-based profile coloring
POC-slope, Value MID-slope, and price-versus-value migration modes
Developing POC trail
Previous-session POC, VAH, VAL, and midpoint
Untested and tested naked POCs
Current Session High and Current Session Low
Initial Balance High, Low, and Midpoint
Developing or completed-only Initial Balance display
Adjustable line styles, widths, colors, labels, label sizes, and offsets
Auction-status dashboard
Alerts for profile levels, session extremes, Initial Balance levels, naked POCs, and migration changes
Profile migration module
The profile-box migration module provides a visual representation of directional value development. Traders can color the profile according to:
POC Slope: identifies whether the developing Point of Control is moving higher, lower, or remaining neutral.
Value MID Slope: evaluates directional movement in the center of the developing value area.
Price vs. Value MID: compares current price with the developing Value Area Midpoint.
Standard Colors: displays traditional value-area, non-value-area, and POC colors without directional migration coloring.
Migration signals are intended to help traders recognize whether value is being accepted at higher prices, accepted at lower prices, or remaining balanced.
Initial Balance module
The Initial Balance module calculates the high, low, and midpoint of the first user-defined number of minutes after the selected session opens. The levels can update while the Initial Balance is developing and then lock once the period is complete.
Traders can choose to display the Initial Balance while it is developing or show only the completed levels.
Intended use
This indicator is designed for futures, index, forex, cryptocurrency, and other intraday markets where session structure and volume development are relevant.
It may help traders evaluate:
Developing value and market acceptance
Balance versus price discovery
POC and value-area migration
Reactions at VAH, VAL, MID, and POC
Initial Balance breakouts and rejections
Current-session range expansion
Untested historical Points of Control
Potential areas of support, resistance, continuation, and mean reversion
The indicator is best used as a contextual and confluence tool alongside price action, market structure, liquidity, order flow, and disciplined risk management.
Important calculation note
This script estimates volume-at-price by distributing each chart candle’s reported volume across the price rows touched by that candle. It does not use exchange-level bid-and-ask footprint data and may differ from TradingView’s built-in Volume Profile or profiles calculated from lower-timeframe data.
Results may vary based on the selected chart timeframe, symbol, session, data feed, number of rows, and value-area settings.
Disclaimer
This indicator is provided for educational and informational purposes only. It does not constitute financial advice, investment advice, or a recommendation to buy or sell any financial instrument.
No indicator can predict future market movement or guarantee profitable results. Historical levels, volume distributions, migration signals, alerts, and auction classifications may fail or produce false signals. Traders are responsible for independently evaluating all trading decisions and managing their own risk.
Trading futures, options, forex, cryptocurrency, and leveraged financial products involves substantial risk and may not be suitable for every trader. Past performance does not guarantee future results.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuyla, bu komut dosyasının mimarı, yatırımcıların işlevselliğini inceleyip doğrulayabilmesi için onu açık kaynaklı hale getirdi. Yazarı tebrik ederiz! Ücretsiz olarak kullanabilseniz de, kodu yeniden yayınlamanın Topluluk Kurallarımıza tabi olduğunu unutmayın.
Move in silence. Strike with precision.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, alım satım veya diğer türden tavsiye veya öneriler anlamına gelmez ve teşkil etmez. Kullanım Koşulları bölümünde daha fazlasını okuyun.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuyla, bu komut dosyasının mimarı, yatırımcıların işlevselliğini inceleyip doğrulayabilmesi için onu açık kaynaklı hale getirdi. Yazarı tebrik ederiz! Ücretsiz olarak kullanabilseniz de, kodu yeniden yayınlamanın Topluluk Kurallarımıza tabi olduğunu unutmayın.
Move in silence. Strike with precision.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, alım satım veya diğer türden tavsiye veya öneriler anlamına gelmez ve teşkil etmez. Kullanım Koşulları bölümünde daha fazlasını okuyun.