OPEN-SOURCE SCRIPT
已更新 TPO Profile

This indicator provides a high-performance Time Price Opportunity (TPO) profile, commonly known as Market Profile. It visualizes the distribution of price over time, identifying the "fair value" areas where the market spent the most time during a specific session.
Core Features
Time-at-Price Visualization: Uses letters (A-Z, a-z) to represent 30-minute time blocks, creating a visual distribution of market activity.
Heatmap Gradient: Profiles are colored using a gradient from the session open to the session close, allowing you to track the chronological progression of price action at a glance.
Point of Control (POC): Automatically identifies and highlights the price level with the highest TPO count (the longest row) with a distinct color and extended line.
Smart Scaling: Includes an "Auto Row Height" mode that uses the 10-day ATR to dynamically calculate the optimal tick multiplier, ensuring the profile fits your screen perfectly regardless of volatility.
Hybrid Rendering Engine: * Recent Days: Rendered with full letter detail using boxes.
Historical Days: Automatically converted into efficient Polyline Outlines to bypass TradingView's 500-box limit, allowing for up to 50 days of historical context.
Session Filtering: Built-in support for RTH (Regular Trading Hours) filtering and custom timezone offsets (e.g., America/Chicago).
How to Use
Session Settings: Define your trading hours (default 0830-1500) and timezone.
Granularity: Adjust "Target Rows Per Day" to control the vertical detail. More rows provide finer price resolution but consume more drawing resources.
History: Control how many days display full letter detail versus simplified polyline outlines to optimize chart performance.
Core Features
Time-at-Price Visualization: Uses letters (A-Z, a-z) to represent 30-minute time blocks, creating a visual distribution of market activity.
Heatmap Gradient: Profiles are colored using a gradient from the session open to the session close, allowing you to track the chronological progression of price action at a glance.
Point of Control (POC): Automatically identifies and highlights the price level with the highest TPO count (the longest row) with a distinct color and extended line.
Smart Scaling: Includes an "Auto Row Height" mode that uses the 10-day ATR to dynamically calculate the optimal tick multiplier, ensuring the profile fits your screen perfectly regardless of volatility.
Hybrid Rendering Engine: * Recent Days: Rendered with full letter detail using boxes.
Historical Days: Automatically converted into efficient Polyline Outlines to bypass TradingView's 500-box limit, allowing for up to 50 days of historical context.
Session Filtering: Built-in support for RTH (Regular Trading Hours) filtering and custom timezone offsets (e.g., America/Chicago).
How to Use
Session Settings: Define your trading hours (default 0830-1500) and timezone.
Granularity: Adjust "Target Rows Per Day" to control the vertical detail. More rows provide finer price resolution but consume more drawing resources.
History: Control how many days display full letter detail versus simplified polyline outlines to optimize chart performance.
版本注释
New Features:X Offset (Bars):
New input that lets you shift the entire TPO profile left or right on the time axis.
Positive values move the profile to the right, negative values move it to the left. Useful for positioning the profile so it doesn’t overlap price action.
Show Developing (Current Day):
New toggle that allows you to hide the live/current session TPO.
When turned off, only previous finished days remain visible, so the developing profile no longer covers today’s candles.
These options appear in the Visuals settings group.
版本注释
Show Value Area (VAH / VAL)Optional Value Area High and Value Area Low lines.
Calculated using the standard 70% TPO expansion from the POC. Includes a color picker so you can style the lines to match your chart.
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
Tatanka Trading | Futures Market Structure Automated Auction Theory & ML Levels for ES & NQ.
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
Tatanka Trading | Futures Market Structure Automated Auction Theory & ML Levels for ES & NQ.
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。