Login Page - Create Account

Support Board


Date/Time: Sat, 30 Nov 2024 06:36:57 +0000



[Programming Help] - Peaks and Valleys in Volume by Profile study

View Count: 2172

[2019-05-04 13:42:21]
EdCarp - Posts: 25
Is it possible to only draw a certain number of peaks and valleys in the volume by profile study? Instead of having a peak or valley drawn based on adjacent bars, is it possible to draw peaks or valleys based on the highest or lowest volumes that the study applies to?

For example, I might like to see the 10 highest and lowest peaks and valleys in a particular time period that the volume profile is drawn on. Is this possible within the study?

Or, alternately, is this information available via the ACSIL API interface?

Thanks!
[2019-05-05 16:43:17]
Sierra Chart Engineering - Posts: 104368
Other than the available Inputs with that study which affect Peak and Valley lines there is no other support for what you are looking for.

You can access those lines in ACSIL:
sc.GetStudyPeakValleyLine()
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
[2022-12-07 10:04:08]
Balazs - Posts: 6
Dear Sierra Engineering,

I am designing a comprehensive indicator with spreadsheets. Your spreadsheet by Study is an amazing tool, despite some of its limitations. One of the limitations I run into is with VbP study, which outputs only a limited number of SG's. (4 to be precise). I do not code in ASCIL, nor do I know any coding in depth. But is there a way, that through spreadsheet I make a reference to those peak and valley lines?

the sc.GetStudyPeakValleyLine() line in ASCIL is totally clear, but how can I access that data? Is there a way that I use a very simple line of code in ASCIL to get the values of peak and valleys, put them in a different study and then reference it in spreadsheets?

your help is very much appreciated.

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

Login

Login Page - Create Account