Login Page - Create Account

Support Board


Date/Time: Wed, 25 Apr 2018 08:52:51 +0000



Simple Text Label in ACSIL?

Support Request:
[2017-11-29 11:21:32]
User799373 - Posts: 13
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: 59414
Refer to:
https://www.sierrachart.com/index.php?page=doc/ACSIL_Members_scSubgraph.html#scSubgraphLineLabel
Sierra Chart Support - Engineering Level

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

If your question/request has been answered and you do not have anything further, then it is easiest for us if you do not reply again to say thank you.
[2017-11-29 20:12:02]
User799373 - Posts: 13
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:
https://www.sierrachart.com/index.php?page=doc/ACSIL_Members_scSubgraph.html#scSubgraphDrawStyle

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: 59414
The Text Draw Style is documented here:
https://www.sierrachart.com/index.php?page=doc/ChartStudies.html#DrawStyle_Text

This does not really sound like what you want. The other method is documented here and requires using the Text drawing tool:
https://www.sierrachart.com/index.php?page=doc/ACSILDrawingTools.html
Sierra Chart Support - Engineering Level

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

If your question/request has been answered and you do not have anything further, then it is easiest for us if you do not reply again to say thank you.
[2017-11-29 22:46:39]
User799373 - Posts: 13
Yes, I believe this is what I'm looking for!

The other method is documented here and requires using the Text drawing tool:
https://www.sierrachart.com/index.php?page=doc/ACSILDrawingTools.html


Thank you!

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

Login


Login Page - Create Account