Login Page - Create Account

Support Board


Date/Time: Fri, 29 Nov 2024 16:43:33 +0000



accessing the "volume value area lines" study with ACSIL

View Count: 1462

[2021-11-26 16:14:59]
User470516 - Posts: 78
Dear SC team,,

Is there a way I can access the data provided by the "volume value area lines" study (Volume Value Area Lines) with ACSIL functions like for instance the function "sc.GetPointOfControlPriceVolumeForBar" gets data provided by the study "Volume Point of Control for Bars"? Or do I have to get them from the "volume value area lined" study?

Thank you.

Regards.
[2021-11-26 23:17:01]
Sierra Chart Engineering - Posts: 104368
Refer to this ACSIL function:
sc.GetStudyProfileInformation
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
[2021-11-27 03:28:34]
User470516 - Posts: 78
Dear SC Team,

Thank you.

However, if I am not mistaken, that function does require that the "volume by price" study be in place, whereas the "volume value area lines" study achieves the result I am looking for (POC et VA lines) without requiring the heavy "volume by price study".
1- Is it correct?
2- Would the source code of the "volume by price" study be available by any chance?

Thank you.
PS: I made a mistake re. the title of my post, can you fix it for other people, the correct title would be : accessing the "volume value area lines" study with ACSI. Thank you.

Regards
[2021-11-28 04:59:30]
Sierra Chart Engineering - Posts: 104368
1. Yes the Volume by Price study does need to be on the chart. You can use the Volume Value Area Lines study instead. In this case, refer to:
ACSIL Programming Concepts: Using or Referencing Study/Indicator Data in an ACSIL Function


2. Refer to:
How to Build an Advanced Custom Study from Source Code: Source Code for Some Built in Studies Not Available

The title of the post has been corrected and you can also do this on your own with the Rename button at the top.
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: 2021-11-28 04:59:45
[2023-02-01 05:28:53]
User907967 - Posts: 54
Has anyone made any progress in this space to turn scsf_ValueAreaForBars into something that works for multiple consecutive bars? One option would be for me to increase the timeframe to have a more generous bar = 100 smaller bars. I cannot increase the timeframe because I need variable periods in the same 24hrs, i.e. I might need to apply this for each session, and I want 3+ sessions, so it is best for me to be able to call scsf_ValueAreaForBars for as many bars as I need, i.e. all bars between sc. Index = 1 and say 100, now having sc.Index = 110. I am after three subgraphs, VAL, VAL and POC, for those 100 bars. Any examples, please?
Date Time Of Last Edit: 2023-02-01 07:33:24

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

Login

Login Page - Create Account