Skip to content
All library documents

A Time and Sales Display from Lower-Timeframe or Live-Tick Data

Article TradingView scripts

Summary

This indicator builds a compact time and sales table showing timestamp, inferred direction, last price, and volume for recent observations. It offers two data modes: sampling a selected lower timeframe or processing live updates tick by tick. Direction is inferred from price changes, with unchanged prices retaining the previous direction in the live mode. Volume can be shown as raw volume or price multiplied by volume, while cell shading scales with observation size and direction. An optional summary bar compares the accumulated volume assigned to up and down moves.

The display is configurable for timezone, row count, placement, colors, and volume units. The document describes a visualization tool for examining recent trading activity, not an execution strategy or validated measure of buyer- versus seller-initiated flow. Lower-timeframe bars aggregate activity and may omit trade-level detail, while live-tick behavior is available only in real time. The direction labels are price-change based, so they should not be interpreted as definitive aggressor-side classifications; the document supplies no trading results.

Key ideas

  • The table summarizes recent observations by time, inferred direction, price, and volume.
  • Data can come from a chosen lower timeframe or live updates processed tick by tick.
  • Direction is inferred from price changes rather than verified trade-side data.
  • A dynamic scale bar summarizes volume associated with up and down observations.
  • Lower-timeframe aggregation and real-time-only tick processing limit historical and trade-level interpretation.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.