Support Board
Date/Time: Sun, 06 Jul 2025 08:40:16 +0000
Post From: Possible issue in WriteBarAndStudyDataToFile
[2019-03-13 22:27:45] |
|
There are many details here including preparing documentation, so this takes some time. Here is the documentation we prepared to determine how to know if a chart bar has closed: ACSIL Programming Concepts: Determining if Last Chart Bar is Closed When the last bar in the chart has closed, then when using this function: ACSIL Interface Members - Functions: sc.WriteBarAndStudyDataToFileEx() You can specify to write the last bar to the file by setting the related structure member as follows IncludeLastBar = 1. Remember the last used StartingIndex in a persistent variable: ACSIL Interface Members - Functions: sc.GetPersistentInt() and then do not specify that same StartingIndex with the function again: ACSIL Interface Members - Functions: sc.WriteBarAndStudyDataToFileEx() Unless the whole file is being rewritten when the StartingIndex = 0. If you need more help, there are programmers on this support board who could help you and code what you need, for an extra cost of course. You can just start a new thread that says something like "need programmer". You now have everything you need to get what you need done. It is definitely possible. Finally, the cost for the new function is 50 USD. Did you want to add that credit or should we deduct it from usage time paid for? 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: 2019-03-18 17:55:56
|