Primitives
sessionTally
Track per-tick up and down closes, then plot the dominant side near price
sessionTally (all)
Track per-tick up and down closes, then plot the dominant side near price
Input parameters
| Prop | Type | Default | Description |
|---|---|---|---|
| id | string | - | Optional tally instance id |
| plot | boolean | - | Whether to plot the dominant side beside price |
| plotName | string | - | Plot series name for the tally line |
| plotWidth | number | - | Line width used for the tally plot |
| plotPadding | number | - | Padding added to bar.close for the tally plot |
SQL example
TICK sessionTally plot=true plotPadding=3