Support Board
Date/Time: Thu, 16 Jan 2025 21:55:48 +0000
Simple Text Label in ACSIL?
View Count: 3595
[2017-11-29 11:21:32] |
User799373 - Posts: 19 |
getting my head around ACSIL finally! I'm trying to display a simple label with the value of the study I'm calculating. I'm looking at the examples and it seems like a lot of code to display a simple label. In another platform I would do something like: say the study calculated = SMA Addlabel("some text", SMA, some.color); Is there a tutorial or an example showing a simpler usage of displaying a label on a chart? Thank you! |
[2017-11-29 19:00:20] |
Sierra Chart Engineering - Posts: 104368 |
Refer to: ACSIL Interface Members - sc.Subgraph Array: sc.Subgraph[].LineLabel 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 |
[2017-11-29 20:12:02] |
User799373 - Posts: 19 |
Thanks, if I understand correctly that is for displaying a studie's name/value in the same manner one would specify in the subgraph style section of an advanced study. What I'm looking to do is display a series of labels much like the "Large Text studies" which is the examples I was looking at, which seem verbose, but if that's the way to do it, I guess I'll do that. I believe what I'm looking for is this: ACSIL Interface Members - sc.Subgraph Array: sc.Subgraph[].DrawStyle sc.Subgraph[].DrawStyle and in particular this DRAWSTYLE_TEXT, is this correct? I'm porting a study in which I have various values displayed as text labels and which change colors dynamically. The values of this studies will not be displayed as subgraphs. Thanks! |
[2017-11-29 22:35:08] |
Sierra Chart Engineering - Posts: 104368 |
The Text Draw Style is documented here: Chart Studies: Text (ACSIL: DRAWSTYLE_TEXT) This does not really sound like what you want. The other method is documented here and requires using the Text drawing tool: Using Drawing Tools From an Advanced Custom Study 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 |
[2017-11-29 22:46:39] |
User799373 - Posts: 19 |
Yes, I believe this is what I'm looking for! The other method is documented here and requires using the Text drawing tool:
Using Drawing Tools From an Advanced Custom Study Thank you! |
To post a message in this thread, you need to log in with your Sierra Chart account: