Login Page - Create Account

Support Board


Date/Time: Mon, 20 May 2024 14:17:21 +0000



VpB underlying study of VbP tool

View Count: 785

[2017-03-13 17:29:53]
User132748 - Posts: 159
Hello,

How can I read POC value of underlying VbP study of VbP tool, which I identified with sc.GetUserDrawnChartDrawing() and DRAWING_VOLUME_PROFILE? I know POC value is in Subgraph[0] of that study but how can I get access to that? Thanks in advance!

BR
[2017-03-13 18:44:21]
Sierra Chart Engineering - Posts: 104368
Refer to:
http://www.sierrachart.com/index.php?page=doc/VolumeByPrice.php#ProgrammaticallyAccessingVolumeAtPriceData
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
[2017-03-13 19:02:35]
User132748 - Posts: 159
Thanks for reply.

I'm aware of sc.GetStudyArrayUsingID function but the problem is how to get underlying study ID that is connected with VbP tool that was identified using sc.GetUserDrawnChartDrawing(sc.ChartNumber, DRAWING_VOLUME_PROFILE, DrawingObject, DrawingIndex) with DrawingIndex=-1 (last drawn VbP tool graph on chart)?
[2017-03-14 10:29:04]
Sierra Chart Engineering - Posts: 104368
In the next release this will be added:
s_UseTool::AssociatedStudyID


If it is nonzero, it will be referring to the associated study identifier.
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: 2017-03-14 10:29:38
[2017-03-16 16:28:44]
User132748 - Posts: 159
YES!!! Thanks
[2017-03-16 18:28:17]
Sierra Chart Engineering - Posts: 104368
This is documented here:
https://www.sierrachart.com/index.php?page=doc/ACSILDrawingTools.html#AssociatedStudyID
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
[2017-03-27 07:51:05]
User132748 - Posts: 159
Does s_UseTool::AssociatedStudyID property work in 1531 build? It always returns zero.

My code:

int DrawingIndex = -1; // last drawing
s_UseTool DrawingObject;

if (sc.GetUserDrawnChartDrawing(sc.ChartNumber, DRAWING_VOLUME_PROFILE, DrawingObject, DrawingIndex))
{
  SCString logMsg;
      
  logMsg.Format("Underlying VbP study <%i>", DrawingObject.AssociatedStudyID);
  sc.AddMessageToLog(logMsg,0);
}
[2017-03-27 09:26:41]
Sierra Chart Engineering - Posts: 104368
We see the problem. We are fixing this now.

We will have a new release out in a couple of hours.
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