compute_session_profile
Summarizes session-day profiles from closed minute bars using specified timezones with daylight-saving and cross-midnight boundaries. Outputs OHLC range, return, VWAP, prior-session high/low tests.
Instructions
Summarize deterministic session-day profiles from closed minute bars on one exact TradingView chart. Sessions use caller-specified IANA timezones and support daylight-saving and cross-midnight boundaries. The tool returns coverage, OHLC range, return, opening-range extension, high/low timing, VWAP, prior closed-session overlap and high/low reaction tests (PDH/PDL/PDC), and TradingView bar volume clearly labelled as unverified tick-or-exchange volume. It does not change the chart, optimize session definitions, or make a trade recommendation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Most recent loaded bars to inspect. Default: 5000 | |
| sessions | Yes | ||
| expected_symbol | Yes | ||
| observation_limit | No | Maximum recent session observations returned. Aggregates use all rows. Default: 100 | |
| expected_timeframe | Yes | Exact active minute timeframe, such as 5, 15, or 60 | |
| opening_range_bars | No | Bars from session start used for the opening range. Default: 3 | |
| minimum_session_days | No | Minimum complete days required for each session. Default: 20 |