Support Board
Date/Time: Wed, 15 Jan 2025 22:00:02 +0000
custom text per bar
View Count: 860
[2017-09-16 13:43:46] |
dtl-saw - Posts: 79 |
I'm trying to create custom text that will be placed above or below chart bars. I think the perfect way to do that is use sc.Subgraph array since it has persistent data built in and is highly optimized for speed by SC. If I use DRAWSTYLE_TEXT for the DrawStyle then the whole array uses the same text, but what I'd like to do is place custom (different) text under or over different bars on the chart. I've looked at all the other DRAWSTYLEs available and don't see one where you can do this. I've also looked at your scsf_BarNumbering study and you are accomplishing something like what I'm trying to do using s_UseTool DRAWING_TEXT which come with a lot of baggage for working with and maintenance and likely 100's times slower than sc.Subgraph arrays. So, is there a way to use sc.Subgraph array to do what I'm trying to do? If not, then can you suggest the best approach and if it's same as scsf_BarNumbering then I'll use that. Thanks |
[2017-09-16 20:43:12] |
Sierra Chart Engineering - Posts: 104368 |
You do need to use text drawings and not a Subgraph. The Bar Numbering study is a good example. Although since that is displaying numbers only it could be changed to use study Subgraphs is a study Subgraph holds numbers only. 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: