Login Page - Create Account

Support Board


Date/Time: Wed, 15 Oct 2025 16:43:53 +0000



[User Discussion] - TPO Single Prints on Candlestick Chart

View Count: 893

[2025-06-02 00:14:29]
juicebro - Posts: 112
I have created a study to draw TPO Single Prints on a candlestick chart so I will share and document it here.
The source code and dll are attached for download.


Overview
The study draws daily and/or weekly TPO single prints on a candlestick chart.
Non-intersected single prints are extended to the end of the chart.
Drawing intersected single prints can also be configured in settings.

The TPO price increment is 1 tick and can not be changed.
Refer to Time Price Opportunity (TPO) Profile Charts: Letter/Block Price Increment in Ticks for more details.

The TPO time period length is customizable based on the reference chart you choose in the study's settings.
I will explain the study's settings below.
Refer to Time Price Opportunity (TPO) Profile Charts: TPO Letter/Block Time Period Length (for Intraday charts)
for more details.


Before Starting
Open 2 charts.

1 will be the destination chart where you will add the study and draw the single prints.

The 2nd chart will be an intraday reference chart used to calculate the single prints.
The time frame of the reference chart will be the TPO time period length. Typically this is 30 minutes.
So if you want the single prints you'd see on a standard TPO chart, open a 30 minute candlestick chart.

*Reference charts can be hidden as they are used purely for calculation.
Refer to Window, CB and CW Menus: Hide Window (Window) for more info.

The destination chart can be on any time frame.

Both charts should have the same amount of data loaded, and the data should begin from the start of a trading week.
If you want the weekly TPO calculation to begin from a Sunday open, make sure your data begins from a Sunday.

This should be familiar if you have made a weekly chart with intraday data before.
Refer to Chart Settings: Weekly Bars (Time Specific Bars)


Study Settings
TPO Period Length Reference Chart

Select the reference chart you opened.

Single Print Time Frame

Options are: Daily and Weekly / Daily Only / Weekly Only
Self explanatory. You can plot daily profile single prints and/or weekly profile single prints.

Merge Overlapping Singles as 1 Drawing (For Daily and Weekly)

When a daily and weekly single print at the same price are confirmed on the same break out bar, it will be drawn as 1 line instead of 2 separate lines.
The merged line can be styled differently from non-overlapping levels in the subgraph menu.
i.e. you can make it visually obvious when a level is both a daily and weekly single print simultaneously.

*This setting only applies if Single Print Time Frame is set to Daily and Weekly.

Number of Days to Show Historical Intersected Singles

This will show any historical single prints where the time of intersection is within N days back from the last bar on the chart.
The number of days back does not exclude weekends and other non-trading days.
0 will hide all intersected single prints (this is the default.)

Show Historical Micro Singles Confirmed and Intersected During Same Sub Period

Micro single prints happen when the sub period confirming the single print is also the same sub period that fills the single print. These single prints are visible on a TPO chart when you view it live, but as the sub period retraces to fill the single print in the same sub period, these singles become hidden on a TPO chart by the end of sub period.
You can use Sierra's chart replay to confirm this.




----------------------------------------------
Comparison of Sierra's Daily TPO & my study drawing Daily Single Prints
https://www.sierrachart.com/image.php?Image=1748736283533.png
https://www.sierrachart.com/image.php?Image=1748736242440.png
Date Time Of Last Edit: 2025-10-10 20:30:18
attachmentSinglePrints.cpp - Attached On 2025-10-10 20:29:49 UTC - Size: 53.49 KB - 12 views
attachmentSinglePrints_64.dll - Attached On 2025-10-10 20:30:13 UTC - Size: 920.5 KB - 9 views
[2025-10-08 17:10:50]
User355030 - Posts: 167
Thank you and amazing job! I've been looking for this exact study for quite sometime. Quick question, am I able to reference the single prints in the spreadsheet study?
[2025-10-08 20:40:01]
juicebro - Posts: 112
Quick question, am I able to reference the single prints in the spreadsheet study?

I don't use it so I'm not 100% sure but my guess would be no.

Unless I'm mistaken, the spreadsheet study is only able to reference subgraphs of other studies. And I didn't use subgraphs to plot the single prints because they are limited to 60 max.
[2025-10-08 21:43:18]
User355030 - Posts: 167
It seems you’re right… is there anyway for you to create a subgraph for just the last single print that occurred?
[2025-10-09 00:00:19]
juicebro - Posts: 112
Maybe. You want the last non-intersected single print? And if it becomes intersected, update to the last non-intersected?
[2025-10-09 01:06:56]
User355030 - Posts: 167
The intersected and not intersected scenario doesn’t really matter to me. I just need to be able to reference the newest single print.
[2025-10-10 14:23:15]
juicebro - Posts: 112
Here you go, I've patched on a subgraph with the most recent single print value.

Things to note:

- Unlike the original study, the TPO Period Length Reference Chart should be the same chart the study is applied to.
Don't reference another chart.

I'm pretty sure this should not limit your spreadsheet use as you can use the Overlay study to reference another chart's subgraph values.

- The subgraph will always show the last Daily or Weekly single print value. What you select in Single Print Timeframe does not affect the subgraph.

- Settings Merge Overlapping Singles as 1 Drawing (For Daily and Weekly) and Number of Days to Show Historical Intersected Singles
also do not affect the subgraph at all.

- Show Historical Micro Singles Confirmed and Intersected During Same Sub Period does affect the subgraph. You can either ignore or include micro singles in the subgraph. Default is to include them.
attachmentSinglePrintsLastValue.cpp - Attached On 2025-10-10 14:11:30 UTC - Size: 52.84 KB - 17 views
attachmentSinglePrintsLastValue_64.dll - Attached On 2025-10-10 14:21:07 UTC - Size: 920.5 KB - 12 views
[2025-10-10 14:49:25]
User355030 - Posts: 167
Wow, you're amazing, thank you!

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account