Support Board
Date/Time: Sun, 24 Nov 2024 08:12:44 +0000
how do you find existing study source code?
View Count: 3383
[2016-02-09 00:45:39] |
User165373 - Posts: 7 |
How do you locate existing study source code? Is there an index somewhere that indicates which "studies#.cpp" file a given study, such as "PivotPoints-Daily", is in?
|
[2016-02-09 01:08:40] |
Sierra Chart Engineering - Posts: 104368 |
This is documented here: How to Build an Advanced Custom Study from Source Code: Searching for Source Code for Sierra Chart Built-In Studies 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: 2024-06-16 03:01:21
|
[2016-02-10 14:10:03] |
User165373 - Posts: 7 |
The link given was OK, but my ACS_Source file location was slightly different. Also, I had to enable and use advanced search options (in Windows 7) to search content inside files to find the specific code. It happened to be within studies8.cpp, FWIW. Notes for the next new user trying to find specific code snippets: I found that my default location for the ACS_Source folder was: C:\SierraChart\SierraChartTransActMA\ACS_Source here's how to modify the Windows search function to search content: http://www.wikihow.com/Make-Windows-7-Search-File-Contents Request for Development: A lookup table (study code parent file vs study code name) would be more convenient than the current lookup process. A future enhancement perhaps? Or, list the studies as separate .cpp files by their name? BTW, I'm a C++ newbie, so if there is a important reason you do not list them separately, I'm unaware of it. |
[2024-06-16 02:26:04] |
jsandlan - Posts: 46 |
It would be really great to be able to easily find the source code for the built-in studies! Unless there has been an update, I'm also finding it tricky to identify where the source code for an existing study lives.
|
[2024-06-16 03:01:44] |
Sierra_Chart Engineering - Posts: 17154 |
See: How to Build an Advanced Custom Study from Source Code: Searching for Source Code for Sierra Chart Built-In Studies 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, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2024-06-19 01:38:02] |
ForgivingComputers.com - Posts: 960 |
To find the source code for a built-in study: 1. Open the Study Settings Window and look in the lower left for DLLName.FunctionName (If you don't see this box, the source code is not available. Stop here.)2. Look in the box and copy everything after "SierraChartStudies_64." (Select from scsf to the end and Copy) 3. Cancel out of the study settings 4. Start>>Notepad++ 5. Search>>Find in Files (Ctrl-Shift-F) 6. In the Find What field, paste the text from the scsf function name 7. Filters: *.cpp, *.h 8. Directory C:\SierraChart\ACS_Source (or wherever your ACS_Source folder is located) 9. Click Find All |
To post a message in this thread, you need to log in with your Sierra Chart account: