Login Page - Create Account

Support Board


Date/Time: Mon, 25 Nov 2024 21:22:06 +0000



[User Discussion] - Volume Profile Bar Count

View Count: 423

[2024-02-05 19:52:01]
User285179 - Posts: 14
Is there a way to add multiple bar count on increamnet (one profile on 100 bar count,one profile on 200 bar count and so on). I want 10 profiles on 100 increament. (I had to add 10 separate profiles. Is it possible to add in 1)?
imagesierra.png / V - Attached On 2024-02-05 19:51:43 UTC - Size: 96.7 KB - 64 views
[2024-02-05 22:08:15]
User43 - Posts: 101
Short answer:
I don't think so.

Volume by Price seems to be a quite heavy function, which receives quite some special treatment by the platform.
e.g. the ability to manually draw VbP areas and functions to manage those, but still adding them to the Study list.
Just looking at the amount of Inputs and Subgraphs, there is a lot going on.

I do some ACSIL scripting but I'm by far no pro doing so.
While I think an ACSIL sript as you describe it could be made, it will not be a simple task to do so.
A first glance at the SC functions list
https://www.sierrachart.com/index.php?page=doc/ACSIL_Members_Functions.html
there is no Volume by Price function to be found.

But why would you need it anyway? The way you did it is totally legit.
Actually it is the great strength of SC allowing you to add many studies and link them.

Just build your setup as you like it and save it as a Study Collection.
The collection will remember your settings.
When you activate the "Prompt to Remove Existing Studies" checkbox, SC will prompt about removing existing studies.
If you select then no it will add all what is in the collection to your current chart studies.
Another way to have those a
[2024-02-06 10:27:10]
User285179 - Posts: 14
Thanks for you reply 😊

Actually I want to see POC's on different bar counts (100, 200, ... 1100). Any other way to get POC's on a chart of different bars count?
[2024-02-06 13:57:56]
User43 - Posts: 101
Sorry mate, I don't think there is anything out of the box.

Did you look into the use of Spreadsheets?
I think (have a feeling) you could build it there.

Otherwise, you could build your own study using ACSIL.

Regarding your current setup, do you experience performance issues?
[2024-02-06 16:17:28]
User285179 - Posts: 14
YEAH, that's why I messaged the support. I am getting lagging issues. The chart moves so laggy. What should I do to make current setup? I want to put 20 POC's of different bar counts (100, 200,300,400,... 2000).
[2024-02-06 17:28:27]
User43 - Posts: 101
I understand,
I still would suggest you try to get your POCs via a Spreadsheet to compare performance.
Personally I've only dabbled a little bit with Spreadsheets, and prefer to solve my needs via ACSIL for performance.

Looks like you are not the first one to look for something like this.
Draw Volume Profile using ACSIL - Is it a drawing or a study?

Unfortunately there is no conclusion in the thread.
[2024-02-06 20:54:52]
John - SC Support - Posts: 36279
The answer to the initial question is there is not a way to setup a single Volume by Price profile for what you are wanting. You can setup a single one for every 100 bars, but not starting at 100, then 200, then 300, etc.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2024-02-06 21:01:30]
User285179 - Posts: 14
Thanks for the reply, I need a favor. Can I get a ACSIL code to get only point of control for 100 bars?
[2024-02-06 21:04:38]
User285179 - Posts: 14
Is there a function like this? Get_POC_Price_For_N_Bars(100)
[2024-02-06 21:16:35]
John - SC Support - Posts: 36279
Take a look at the code for "scsf_VolumePointOfControlForBars" in Studies2.cpp in the ACS_Source folder under your main Sierra Chart installation folder. Refer to the following:
How to Build an Advanced Custom Study from Source Code
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2024-02-06 21:44:15]
User285179 - Posts: 14
This tells us POC of only 1 bar. How can I use it to get POC of 100 bars?
[2024-02-06 21:48:31]
John - SC Support - Posts: 36279
You need to modify the code to have it do what you need. We figured that would be a good starting place for you.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2024-02-06 21:58:25]
User285179 - Posts: 14
We can't achieve this with scsf_VolumePointOfControlForBars. It separately calculates POC of 1 bar only. It's parameter contain only 1 bar index
Date Time Of Last Edit: 2024-02-06 22:05:13
[2024-02-07 15:30:46]
John - SC Support - Posts: 36279
We are not going to write your code for you. That is not what we do. We gave you an example to work from. The rest is up to you.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2024-02-07 16:32:00]
User719512 - Posts: 264
User285179, I'm still confused by this post as your very first post has a solution to the problem: adding ten studies, one for each lookback you want.

It would take custom code to do this in one study and it's unclear of what, if any, advantage that would have. Maybe it could have a slight performance benefit as it would be highly specialized.

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

Login

Login Page - Create Account