Login Page - Create Account

Support Board


Date/Time: Mon, 06 May 2024 18:21:43 +0000



Read Data folder path function

View Count: 770

[2016-07-23 21:32:39]
enemyspy - Posts: 304
Thank you.
Date Time Of Last Edit: 2016-07-23 21:34:03
[2016-07-23 21:33:14]
Sierra Chart Engineering - Posts: 104368
This will be added to the next release:

SC.DataFilesFolder
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
[2016-07-27 20:47:20]
enemyspy - Posts: 304
Ok so Now using this in the prerelease. Thank you for adding this However when doing the following.

SCString DataFolder;
DataFolder = sc.DataFilesFolder;
//or
DataFolder = sc.DataFilesFolder.GetChars();

The string value is: + DataFolder {m_String=0x012183d8 "ÌÌÌÌÌÌÌ$\x3p\x6ÌÌÌÌÌÌÌÌd\x2p\x6ÌÌÌÌÌÌÌ̤\x1p\x6ÌÌÌÌÌÌÌÌä" m_OwnString=1 m_IsModified=...}  SCString. Is that how it it is intended to read?


I was able to accomplish what I need to do by parsing the substring of the Folder part from:

sc.DataFile
[2016-07-27 21:19:57]
Sierra Chart Engineering - Posts: 104368
No, that is not correct but this could happen if you changed the Data Files Folder after the study using it has been added to the chart.
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