Login Page - Create Account

Support Board


Date/Time: Fri, 27 Dec 2024 02:33:03 +0000



A couple ACSIL questions/requests.

View Count: 693

[2016-03-02 03:23:55]
enemyspy - Posts: 306
1. I am wondering it it would be possible to make the s_UseTool LineNumber member support GUID's. Currently using rand() with a Large range but occasionally the line numbers can coincide.

2. I am wondering if the usetool start and endpoints have to be fixed to a barIndex/datetime at a barIndex or if there is a way to use x y pixel coordinates, that you can refer me too.

thanks for taking the time to answer this.
[2016-03-02 04:11:21]
Sierra Chart Engineering - Posts: 104368
1. It is no longer recommended to set the s_UseTool::LineNumber because of potential conflicts. Let it be automatically assigned. All of the examples use it that way. Refer to:
https://www.sierrachart.com/index.php?page=doc/doc_ACSILDrawingTools.html#LineNumber

2. No, you cannot use X and Y pixel coordinates. You can use direct GDI access for this:
http://www.sierrachart.com/index.php?page=doc/doc_ACSILProgrammingConcepts.html#CustomFreeFormDrawing
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