volume study guide

thinkorswim Volume Indicators

Volume indicators do not measure one thing. A bar histogram, moving average, relative-volume ratio, price profile, and cumulative volume index transform activity in different ways.

Source review completed

Prompt brief

ThinkScript · one source file

Review in thinkorswim

Example request

Create a thinkorswim lower study with volume bars, a configurable 30-bar volume average, a relative-volume label, and an alert when volume first exceeds twice the average while close is above the prior high.

Editable sourceFocused revisionsCheck in native editor

Direct answer

Choose a thinkorswim volume indicator from the question you need to answer. Use bar volume for activity by time, VolumeAvg for comparison with a recent baseline, RelativeVolumeStDev for standardized activity, VolumeProfile for activity by price, and cumulative indexes for a specified directional rule. No single volume indicator is best across all uses.

What to know first

  • Volume by time and volume by price are different views.
  • A volume index needs a documented update rule, not only a name.
  • Symbol type and data availability constrain what the study can measure.

Reference points

Keep the calculation explicit

Bar volume
Activity assigned to each chart bar for the current symbol and aggregation.
Volume average
Compares bar activity with a moving baseline over a stated length.
Relative volume
Expresses current activity relative to a defined historical baseline or distribution.
Volume profile
Groups activity by price row inside a selected profile interval.

Clarify what "volume index" means

A search for volume index or vol index may mean a cumulative price-volume study, a relative-volume ratio, or a market volatility index. These are unrelated calculations. Identify the formula or official study name before selecting or generating code.

The built-in CumulativeVolumeIndex accumulates advancing-stock volume minus declining-stock volume for a selected exchange. It is a market-breadth series, not volume signed by the current stock's up and down bars. For RVOL, instead specify the numerator and denominator.

Build a custom measure only after choosing the baseline

A custom volume study can combine a moving baseline, thresholds, bar colors, labels, and alerts. The specification should say which bars enter the average, how sessions reset, and what happens when volume is missing or zero.

Test the output on multiple symbol types. An apparently useful formula on liquid equities may behave differently on products whose volume field has another meaning or coverage.

  • Name the source field and chart aggregation.
  • Define lookback and session behavior.
  • Keep direction signals separate from activity measurements.

Choose between activity and breadth

VolumeAvg plots the selected symbol's volume and its simple moving average. CumulativeVolumeIndex instead compares groups of advancing and declining stocks. If hypothetical advancing volume is 80 million and declining volume is 50 million, the CVI increment is +30 million, regardless of whether your charted stock rose.

For a custom activity alert, choose whether the average includes the current bar. Comparing a growing live bar with completed-bar averages is different from comparing completed bars; state which calculation the threshold uses.

Pineify thinkScript workflow

Turn the specification into editable thinkScript

Give the Coding Agent the formula, inputs, plots, alerts, and edge cases. It returns one editable study or strategy file and keeps focused revisions in the same code artifact.

Open the thinkScript agent

Sources and scope

Last verified:

Pineify provides information and code-generation assistance, not investment advice. Generated scripts, strategy reports, simulations, and historical examples cannot predict prices or guarantee returns. Review every script and test it in its target platform before relying on its output.

Frequently asked questions

What is the best volume indicator on thinkorswim?

There is no general best choice. Use bar volume, a baseline comparison, relative volume, volume profile, or a cumulative index according to the question and data you need.

Is volume profile a volume indicator?

It is a volume-based study, but it groups activity by price row instead of chart time bar. This makes its output different from a volume histogram or moving average.

Can Pineify combine volume and price conditions?

Yes. Define the exact volume baseline, price condition, session, output, and alert behavior. Pineify can generate an editable thinkScript study for platform review.

Continue in the thinkScript coding workspace

Generate one editable thinkScript study or strategy, inspect the source, request focused changes, and complete the final check in thinkorswim.

Pineify generates source code. Review its syntax and chart behavior in thinkorswim before use.