Login Page - Create Account

Support Board


Date/Time: Thu, 28 Nov 2024 00:41:31 +0000



Setting chart position programatically

View Count: 986

[2014-10-29 16:33:02]
jannovak - Posts: 8
Hi,

I am developing custom study which works with external data of executed trades. Plan is that user will be browsing trades in external application and sierachart will be showing chart area where selected trade was executed (date and time). That's why I need to set chart position programmaticaly (via acsil?).

Is it possible? Or do you suggest any other solution to achieve this task?

Thanks
[2014-10-29 17:50:09]
Sierra Chart Engineering - Posts: 104368
This can be done. Refer to this variable:
https://www.sierrachart.com/index.php?page=doc/doc_ACSIL_Members_Variables_And_Arrays.html#scScrollToDateTime
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-29 21:17:48]
jannovak - Posts: 8
Thanks. I missed it in documentation.
I have last questions - what is best way how to control SierraChart application programatically from outside (e.g. scroll chart to certain position)? I was planning to do it via custom study but it's looks to me bit hacky because custom study lifecycle is not suitable to "host" some "server" to control SierraChart app. Or?

Thanks
[2014-10-29 22:06:50]
Sierra Chart Engineering - Posts: 104368
You could create a Chartbook that contains a chart that contains the custom study. And set that Chartbook to automatically open on start up through Global Settings >> General Settings.

That custom study could read a command to scroll to a certain position from a file.

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