Skip to content
All library documents

Measuring Typical Trading Activity by Time of Day and Calendar Period

Article ProRealCode

Summary

This document explains a chart heatmap that compares an instrument’s typical volume or volatility across months, days of the month, weekdays, or hours. It calculates each period’s total volume or true range, groups observations by the selected calendar category, and uses the median within each group to reduce the influence of unusually large events. Relative scores and color intensity make busier and quieter groups easier to spot; an optional delta scale stretches the display between the smallest and largest medians.

The guide suggests using high-volatility periods to find room for breakout trades, quieter periods for range strategies or avoiding trades, and activity patterns to inform sizing, stops, liquidity planning, and cross-market comparisons. These are practical interpretations of historical patterns, not evidence of strategy profitability. Results depend on loaded history and chart time zone, and the chart timeframe must be no higher than the selected grouping period. Groups without observations appear empty.

Key ideas

  • The indicator groups historical volume or true range by calendar periods and reports group medians.
  • Median values reduce the influence of rare high-activity observations.
  • Relative scores and colors reveal differences in typical activity across groups.
  • Historical activity patterns can inform trade timing, stop width, position size, and liquidity planning.
  • The display depends on available history, chart time zone, and a compatible chart timeframe.

Tags

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