Login Page - Create Account

Support Board


Date/Time: Sun, 22 Dec 2024 11:37:11 +0000



Close chart or chartbook programatically.

View Count: 1575

[2014-11-27 15:25:10]
jesslinn - Posts: 108
Is there a way, with UDP or ASCIL (or something else), to close a chart or chartbook automatically. If not would it be possible to add CLOSE_CHART and CLOSE_CHARTBOOK to UDP?


[2014-11-30 16:27:09]
jesslinn - Posts: 108
Also, did the ability to send a UDP message to a second copy of SC, ever get implemented as in: OPEN_CHARTBOOK

The question in that thread was:
Is there a way to direct a UDP 22903 message to a specific instance of SC? It seems that one can only send messages to the first one that is started. Is it possible to configure a given instance to listen on another port for example?

and the answer was:
We will have to add a setting to specify the port number.

My goal with these questions is to control copies of SC without having to look at the screen. One can open, load, and run almost anything but without the ability to close charts or chartbooks or change BaseData symbols, either by UDP or in ASCIL, the only option to avoid growing ever larger, is to restart the program. If I have missed anything, as usual, or you have any suggestions along these lines, please let me know.

Great work, as always.
[2014-12-02 00:40:10]
Sierra Chart Engineering - Posts: 104368
We will get back to you on this towards the end of the week.
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
[2015-01-05 09:23:23]
jesslinn - Posts: 108
Did an answer get found for this question?

Would it be possible to add CLOSE_CHART and CLOSE_CHARTBOOK to UDP or implement the equivalent functionality in ASCIL?
[2015-01-05 16:36:47]
Sierra Chart Engineering - Posts: 104368
We have not been able to get to this yet. We should be getting to this week or next week.
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
[2015-04-15 06:13:19]
Sierra Chart Engineering - Posts: 104368
We should have this done by next week.

It is possible now to independently set the UDP port.
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: 2015-04-15 06:13:35
[2015-05-10 22:11:09]
jesslinn - Posts: 108
The setting of the UDP port under Data/Trade Service Settings/SC Server Settings works great. Thanks.

Is there a CLOSE_CHARTBOOK UDP command yet?

Note that this functionality would even better in ASCIL to complement sc.OpenChartOrGetChartReference(). If I open charts automatically to get some information, eventually I have too many open.

[2015-05-12 08:29:32]
Sierra Chart Engineering - Posts: 104368
We can support the ability in ACSIL to close the specified chart and also close the specified Chartbook.

We will get this done by the end of the week. We apologize for the delay. Something always gets in our way.
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
[2015-05-12 08:33:58]
Sierra Chart Engineering - Posts: 104368


This is what will be added:

sc.CloseChart(int ChartNumber)

This will close the chart that has the specified Chart Number which exists in the Chartbook which contains the chart the study which is making the call is located in.

sc.CloseChartbook(SCString & ChartbookFileName)

This will close the Chartbook with the specified filename. A path does not have to be specified but if it is, it will be used.
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
[2015-06-26 14:43:12]
jesslinn - Posts: 108
DONE

Thank you. This functionality works well as of 1261.

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

Login

Login Page - Create Account