Login Page - Create Account

Support Board


Date/Time: Fri, 26 Apr 2024 05:01:22 +0000



Print range of bar above the bar

View Count: 700

[2020-06-29 15:15:39]
grantx - Posts: 244
How do I print the range of a bar in ticks/pips above each bar but only if that bar is greater than a certain size?
[2020-06-29 16:11:36]
Sawtooth - Posts: 3976
Use the Spreadsheet Formula study.
- Set the Chart Region to 1.
- Set the Value Format to 1.
- Use a formula like this in the Formula field:
=IF(H-L>TICKSIZE*20,(H-L)/TICKSIZE,0)
- Set the 'Draw Zero Values' to No.
- Set the Draw Style to Value On High.
- Set the Width/Size to your requirement.

This will plot the bar's range in ticks if the range is > 20; edit formula as needed.
[2020-06-29 18:58:01]
Sierra Chart Engineering - Posts: 104368
We recommend using these two studies:
Bar Difference

Study Subgraph As Text Above/Below Bar
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing

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

Login

Login Page - Create Account