Login Page - Create Account

Support Board


Date/Time: Sat, 05 Jul 2025 02:08:07 +0000



Post From: where can i get a cop of the sierra chart VWAP study coding

[2025-06-28 00:17:50]
ForgivingComputers.com - Posts: 1076
so i did a ctl find on all the code in studies6.cpp and could not rind any reference to volume weighted average price..would you happen to know where in study 6 it is..sorry to be an idiot

FAQ: How to find the source code for any study that has it available.

1. Check the Study Settings window for the study. At the bottom left, if there is a box labeled DLLName.FunctionName, then the source code is available.
2. Copy the text beginning with scsf following the dot (e.g. "scsf_VolumeWeightedAveragePrice")
3. In Notepad++ open the Find All (Ctrl-Shift-F)
4. In Find What: Paste the scsf function name
5. In Filters: *.cpp
6. Directory: c:\sierrachart\acs_source
7. Click Find All

The CPP file and the location of the function will result.
Search "scsf_VolumeWeightedAveragePrice" (1 hit in 1 file of 450 searched) [Extended: Case]
c:\sierrachart\acs_source\Studies3.cpp (1 hit)
  Line 592: SCSFExport scsf_VolumeWeightedAveragePrice(SCStudyInterfaceRef sc)

The entire function can then be copied, pasted, and edited in your CPP. It will not compile by itself; it needs the other stuff found in a custom study.