Login Page - Create Account

Support Board


Date/Time: Wed, 08 Jan 2025 17:54:17 +0000



SierraChart - Singleton Pattern

View Count: 814

[2016-07-17 21:42:51]
FerroTrader - Posts: 70
Hello,
a very dear friend of mine told me SC can implement easily the "Singleton Pattern": one class/chart reading and processing data and "spreading" this read/processed data to all the chart that may use it; this design pattern is very useful once you have lots of calculations going on (Analyzing the Time and Sales and the Depth of the Market) therefore having just one point of calculation.
Well, how SC can implement the Singleton Pattern ? Using precedence ? Is there any practical and real coding example out there ? do I need to code it using ASCIL ?

Thank you a lot
Andrea
[2016-07-18 10:41:28]
Sierra Chart Engineering - Posts: 104368
Refer to:

https://www.sierrachart.com/index.php?page=doc/doc_ACSILRefOtherTimeFrames.php

https://www.sierrachart.com/index.php?page=doc/doc_GeneralSettings.html#UseControledOrderChartUpdating (We need to add this to the documentation for the Study/Price Overlay study and also the ACSIL referencing other charts documentation).
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