Session and AH Market Profile for Futures
Nov 10, 2019

The Session and AH Market Profile for Futures indicator provides a specialized TPO-based market profile visualization designed specifically for the dynamics of futures markets by splitting the profile into distinct session and after-hours segments. This tool allows traders to analyze price distribution separately for primary trading hours and extended hours, offering deeper insight into value areas and point of control (POC) across different market phases.
Usage
The indicator can be used to identify where the majority of trading activity occurred during specific time blocks. By splitting the profiles, traders can see if value is migrating higher or lower between the regular session and the overnight session.
- Identifying Value Areas: Use the profiles to find the zones where 70% (default) of the TPO activity took place.
- POC Analysis: Locate the Point of Control for both the regular session and after-hours to determine the most "fair" price of those periods.
- Session Comparison: Compare the range and volume distribution of the After Hours (AH) period against the main Session to gauge market sentiment leading into a new trading day.
Details
The script functions by dividing the daily price range into 25 discrete TPO (Time Price Opportunity) sections. It calculates the frequency of price visits to each section within the user-defined timeframes. Unlike standard market profiles that might aggregate an entire 24-hour period, this implementation resets the high/low tracking and TPO counting at the start of each defined session (Main Session vs. After Hours), ensuring the profiles remain independent and relevant to their respective market contexts.
Settings
- Session Timeframe: Defines the primary timeframe used for session calculations (default is Daily).
- Session Hours: The time range for the primary trading session (e.g., '0930-1700').
- AH Hours: The time range for the after-hours or overnight session (e.g., '1700-0930').
- Percent of TPO: Determines the percentage of the total TPO count used to calculate the Value Area (default is 0.70 or 70%).
FAQ
How do I change the hours for different assets?
You can adjust the "Session Hours" and "AH Hours" in the settings menu to match the specific exchange hours of the futures contract you are trading (e.g., ES, NQ, or GC).
Can I use this on non-futures assets?
Yes, while designed for futures, you can apply this to any asset where splitting the day into two distinct sessions (like RTH and ETH for stocks) is beneficial.
How can I access this indicator?
You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.
Free indicator
Get free access to this indicator on the platforms below.
Unlock the entire LuxAlgo Library
Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.