Login Page - Create Account

Support Board


Date/Time: Sun, 15 Jun 2025 16:01:25 +0000



[User Discussion] - TPO Single Prints on Candlestick Chart

View Count: 330

[2025-06-02 00:14:29]
juicebro - Posts: 48
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-06-02 02:24:45
attachmentSinglePrints.cpp - Attached On 2025-06-02 02:23:16 UTC - Size: 50.38 KB - 93 views
attachmentSinglePrints_64.dll - Attached On 2025-06-02 02:23:51 UTC - Size: 920.5 KB - 94 views
[2025-06-09 18:41:25]
juicebro - Posts: 48
Updated study. It can now be hidden using Sierra's Hide Study feature.
attachmentSinglePrints.cpp - Attached On 2025-06-09 18:40:25 UTC - Size: 50.8 KB - 43 views
attachmentSinglePrints_64.dll - Attached On 2025-06-09 18:41:02 UTC - Size: 920.5 KB - 43 views

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

Login

Login Page - Create Account