# Technical Studies Reference

### Study Subgraph In Ticks

The Study Subgraph In Ticks study converts the value of the Input Data Input into the equivalent number of ticks.

Let $$X_t$$ denote the value of the Input Data at Index $$t$$, and let $$s$$ denote the Tick Size. Then the value of Study Subgraph In Ticks is $$X_t/s$$, rounded to the nearest integer.

This study can be used with another study Subgraph by changing the Based On setting for the study.

If you want to display the result as a single value which represents the number of ticks of the study Subgraph it is based on as text on the chart for the last bar in the chart, then use the Text Display for Study in combination with this Study Subgraph in Ticks study.