Support Board
Date/Time: Tue, 13 May 2025 00:15:06 +0000
Post From: Chart - settings - Alert
[2016-03-11 00:47:01] |
User553714 - Posts: 184 |
Hi, I finally found some time to start this task; I have scoured the documentation and searched the support board but found almost zero hits on the sc.DataFile function. I have also searched the contents of every cpp file in the ACS_Source folder but have found almost zero usage of the DaatFile function; The only information I found was in the SC documentation which is quite sparse https://www.sierrachart.com/index.php?page=doc/doc_ACSIL_Members_Variables_And_Arrays.html#scDataFile 1) Can you please update the documentation to further discuss the use of this function and give some examples. This seems to be the only function that allows you to change the symbol so I would have thought there would be more of a description on it's use? 2) I found that you can only specify the "symbol" with the function and the code won't build if you specify the path as well; presumably the function uses the default data directory to search for the symbol you specify which would be consistent with what I found? sc.DataFile = "WPL-CFD-SMART-AUD.scid"; builds sc.DataFile = "C:\SierraChart1\Data\WPL-CFD-SMART-AUD.scid"; won't build Can you please clarify? 3) When I insert sc.DataFile = "WPL-CFD-SMART-AUD.scid"; (or any other symbol) into the DLL, build it and then attach the study, it changes the charts symbol and then goes into an endless loop whether I have specified looping or not; as soon as I comment out the sc.DataFile function the looping stops as I would expect. Can you provide some explanation as to what the function is doing as it continually writes to Message log with the following message (I deleted my test messages for clarity so these are system produced messages); Interactive Brokers | Using primary service for historical data for BHP-CFD-SMART-AUD | 2016-03-11 11:27:29 BHP-CFD-SMART-AUD 1 Min #1 | Reloading chart. | 2016-03-11 11:27:29 Interactive Brokers | Using primary service for historical data for BHP-CFD-SMART-AUD | 2016-03-11 11:27:29 BHP-CFD-SMART-AUD 1 Min #1 | Reloading chart. | 2016-03-11 11:27:29 The function seems to reload the chart continuously, is this the intended behaviour? How can I control/stop/initiate the reloading of the chart? I need to understand the above issues before I can continue any further with this project. Regards |