OPEN-SOURCE SCRIPT
Time Acceptance Profile TPO Levels

TIME ACCEPTANCE PROFILE — TPO-STYLE LEVELS THAT WORK WITHOUT VOLUME
Volume profile tools fail on index spot charts — NIFTY, BANKNIFTY and SENSEX spot have no volume data at all. This indicator solves that by profiling TIME instead of volume: it counts how many bars touched each price bin during the session. Where price spent the most time is where the market found acceptance — and those levels act as the day's strongest reference points.
WHAT IT PLOTS
- Time POC — the price row with the highest time count today (gold line)
- Value Area (VAH / VAL) — the price band containing ~70% of today's time, expanded outward from the POC (teal box)
- Time Histogram — the full time-at-price distribution drawn to the right of price, POC row highlighted
- Prior-Day POC / VAH / VAL — yesterday's completed levels, frozen at the day close and extended across today (dashed)
HOW IT WORKS
1. The day's range is divided into N price bins (default 24)
2. Every bar adds one time-unit to each bin its high-low range touched
3. The bin with the maximum count = Time POC
4. The Value Area expands outward from the POC, adding the larger neighbouring bin until 70% of total time is covered
5. At the session change, the completed profile is frozen into prior-day levels — these never repaint
HOW TRADERS USE IT
- Prior-day POC acts as a magnet/pivot — rejections and reclaims there are high-information events
- Open outside yesterday's Value Area = imbalance day; watch for continuation away from value or a rotation back to Y-POC
- Open inside the Value Area = balance day; VAH/VAL rotation setups become relevant
- Thin rows in the histogram (low time) mark prices the market rejected — price tends to move quickly through them
NOTES
- Designed for intraday timeframes; shows a warning otherwise
- Today's POC and Value Area update as the session develops (by design); prior-day levels are fixed and never repaint
- Alerts are available on prior-day POC / VAH / VAL crosses — static levels only, alert-safe
- Price labels round to integers by default (toggle off for low-priced symbols)
- No volume data is used anywhere — works identically on spot indices, futures, stocks and crypto
This is an original implementation in Pine Script v6. The time-binning, POC selection and value-area expansion logic are fully described above.
Educational tool for market context — not financial advice.
Volume profile tools fail on index spot charts — NIFTY, BANKNIFTY and SENSEX spot have no volume data at all. This indicator solves that by profiling TIME instead of volume: it counts how many bars touched each price bin during the session. Where price spent the most time is where the market found acceptance — and those levels act as the day's strongest reference points.
WHAT IT PLOTS
- Time POC — the price row with the highest time count today (gold line)
- Value Area (VAH / VAL) — the price band containing ~70% of today's time, expanded outward from the POC (teal box)
- Time Histogram — the full time-at-price distribution drawn to the right of price, POC row highlighted
- Prior-Day POC / VAH / VAL — yesterday's completed levels, frozen at the day close and extended across today (dashed)
HOW IT WORKS
1. The day's range is divided into N price bins (default 24)
2. Every bar adds one time-unit to each bin its high-low range touched
3. The bin with the maximum count = Time POC
4. The Value Area expands outward from the POC, adding the larger neighbouring bin until 70% of total time is covered
5. At the session change, the completed profile is frozen into prior-day levels — these never repaint
HOW TRADERS USE IT
- Prior-day POC acts as a magnet/pivot — rejections and reclaims there are high-information events
- Open outside yesterday's Value Area = imbalance day; watch for continuation away from value or a rotation back to Y-POC
- Open inside the Value Area = balance day; VAH/VAL rotation setups become relevant
- Thin rows in the histogram (low time) mark prices the market rejected — price tends to move quickly through them
NOTES
- Designed for intraday timeframes; shows a warning otherwise
- Today's POC and Value Area update as the session develops (by design); prior-day levels are fixed and never repaint
- Alerts are available on prior-day POC / VAH / VAL crosses — static levels only, alert-safe
- Price labels round to integers by default (toggle off for low-priced symbols)
- No volume data is used anywhere — works identically on spot indices, futures, stocks and crypto
This is an original implementation in Pine Script v6. The time-binning, POC selection and value-area expansion logic are fully described above.
Educational tool for market context — not financial advice.
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.
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.
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.