Login Page - Create Account

Support Board


Date/Time: Fri, 09 May 2025 19:35:51 +0000



Tool Drawing

View Count: 1129

[2014-10-29 21:40:11]
QnReally - Posts: 188
Is it possible to draw a text label towards the top of the chart (say at 95% mark) but still tied to a bar on the chart using ACSIL?

In other words, vertically it would be relative placement but horizontally it would still be linked to the bar index. I am looking for the text label to scroll left/right with the chart but a vertical scroll of the chart would keep the drawing stationary.

Thanks.
[2014-10-29 22:13:31]
Sierra Chart Engineering - Posts: 104368
Yes of course. This is supported. You can still specify a specific s_Usetool::BeginIndex or BeginDateTime to position the text at.
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
[2014-10-30 00:16:09]
QnReally - Posts: 188
Do I set Tool.UseRelative to 1 or 0? Don't I need to set this to 0 to get the text at a specific index? If so, I don't know how I can specify a Tool.BeginValue of 95%.
[2014-10-30 02:37:17]
Sierra Chart Engineering - Posts: 104368
This is all answered in the documentation here:
http://www.sierrachart.com/index.php?page=doc/doc_ACSILDrawingTools.html#UseRelativeValue
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
[2014-10-30 02:58:39]
QnReally - Posts: 188
I have read the doc but still I am unsure how this can be done. In the link you posted, under BeginValue it says:
If UseRelativeValue is set to 1 or a nonzero value, then BeginValue is a relative value. It is a percentage. Where 1 = 1%. The entire height of the Chart Region is 100%. 0 = The bottom of the Chart Region. 100 = The top of the Chart Region.

If I set UseRelativeValue to 1, I don't understand how I could specify the x-axis as an index value for BeginIndex rather than as a percentage. My goal is to draw a marker/text that doesn't move when I scroll the chart up/down but moves with the chart when I scroll the chart left/right.

Thanks.
[2014-10-30 04:44:30]
Sierra Chart Engineering - Posts: 104368
Did you read the documentation for UseRelativeValue ? It does not affect the x-axis.

You just simply do what you want and it will work.
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
[2014-10-30 06:30:49]
Sierra Chart Engineering - Posts: 104368
Coming out in the next release:
The ACSIL data structure member s_UseTool::UseRelativeValue has been renamed to s_UseTool::UseRelativeVerticalValues . Studies which use this structure member will function properly. However, when they are recompiled they will need to have this member renamed.

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
Date Time Of Last Edit: 2014-10-30 06:31:20

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

Login

Login Page - Create Account