Login Page - Create Account

Support Board


Date/Time: Wed, 04 Oct 2023 14:29:55 +0000



ACSIL - Getting the VPOC of a CUSTOM Volume Profile

View Count: 1748

[2014-03-13 15:54:24]
Zosimus - Posts: 345
Does ACSIL have a way to get the VPOC of a Volume Profile that was drawn using the TOOLS >> Draw Volume Profile ?

I understand that although it appears in the Tools menu it is actually a study so I thought perhaps sc.GetStudyArrayUsingID might work.
[2014-03-13 16:32:05]
Zosimus - Posts: 345

Date Time Of Last Edit: 2014-03-13 16:32:22
[2014-03-13 21:34:05]
Sierra Chart Engineering - Posts: 104368
Yes. The point of control data is held in the sc.Subgraph[1].Data array for the volume by price study.
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
[2014-03-13 21:36:56]
Zosimus - Posts: 345
Great, thanks.
[2014-03-27 18:10:33]
Zosimus - Posts: 345
The POC spans over many bars so if I want to get the price of the POC Which index should I use when I pull this SubGraph's data into a SCFloatArray ?

example:


SCFloatArray VPOC;
sc.GetStudyArrayUsingID (VP_ID.GetStudyID(), POC_SG.GetSubgraphIndex(), VPOC);
float POC_Price = VPOC [Some Index];

(VP_ID, VPOC_SG are inputs that specify the ID of the Volume Profile study and the SubGraph of the POC).

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account