INVITE-ONLY SCRIPT

TPO Unsplit (Optimized v5)

49
TPO Unsplit (Optimized v5) is a script that renders unsplit Market Profile (TPO) structures with precision and historical depth—ideal for traders who want a clean, collapsed TPO view across any timeframe. Unlike built-in TradingView Market Profile tools that rely on "expanded" (split) or "collapsed" profiles limited by chart scope, this tool provides full unsplit TPO shapes & HTN/LTN for prior completed sessions, rendered directly on your chart.

Key Features
  • Unsplit TPO Profiles: Displays the full shape of each prior TPO session without splitting by sub-period.
  • Historical Rendering: View TPOs across extensive historical data (up to 500 sessions), depending on row count and chart resolution.
  • Custom Timeframe Configuration:
    Chart Interval determines the sub-period granularity (e.g. each "letter" equivalent is a 5m bar on a 5m chart).
    Selected Session Timeframe (in the script settings) defines the full TPO session window (e.g. 30m, 1h, D, W, M, etc).
  • Value Area & POC Visuals:
    Customisable drawing of Value Area High (VAH), Value Area Low (VAL), and Point of Control (POC).
    Colour settings for value vs non-value regions.
  • Efficiency Controls:
    The Row Count input controls TPO resolution. Higher row count = more detail but shorter lookback.
    Lowering row count increases how far back profiles can be rendered (helpful on high-volume charts or low timeframes).
  • Optimised Structure Rendering: Efficient block rendering using scaled vertical lines rather than characters. No letter labeling, but full TPO shape is accurately depicted.
  • Alerts: Includes price-based alerts for interactions with the POC (in, above, or below).


Usage Notes
  • The script only displays completed TPO sessions (i.e. the most recent full session). The current session is not shown while it’s forming.
  • Because TPOs are based on time-at-price, this may resemble a volume profile visually—but it strictly counts time-based touches per price bin.
  • Use on intraday, daily, weekly, or custom intervals. Designed for adaptability across instruments and strategies.


Example Use Case:

Set your chart to 5-minute candles, then choose a TPO session length of 2 hours in the settings. You'll see each completed 2-hour period plotted as a single collapsed TPO shape—providing a clean view of price distribution without noise.


Performance Tips:
  • Default Row Count is 50 for balance between precision and depth.
  • Increase for finer profiles, decrease to load more history.
  • This is bounded by TradingView’s max_lines_count, so tuning is essential based on your asset/timeframe.


Disclaimer:
This tool is built purely on public Pine Script v5, compliant with TradingView's open-source requirements. It’s not based on volume but strictly follows the Steidlmayer TPO methodology using time-based logic.

For private access, extended versions, or inquiries—feel free to contact me directly.

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.