Login Page - Create Account

Support Board


Date/Time: Wed, 27 Nov 2024 04:29:05 +0000



Source Code for Delta Volume per Bar (under the bar type in chart setting)

View Count: 767

[2022-01-13 22:44:04]
bjs1996 - Posts: 1
I was wondering where I can find the source code for the Delta Volume per Bar which is a bar type in the chart setting. Thanks
[2022-01-14 14:44:44]
John - SC Support - Posts: 36309
This is not available.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2023-09-16 21:51:48]
HumblyTrading - Posts: 179
Hi John,
Would it be possible to make this accessible, or at least post part of the code as an example? I’d like to use it as a basis for custom bar chart type, but then base the Delta on just the cumulative of a user defined number of levels of price from the high, or vice versa from the low.

Also, is there a graphic settings to change the red and green colors? I tried each of the global settings, and for some reason, they don’t seem to have an effect on this type of bar.
Thank you in advance,
Mike.
[2023-09-18 14:42:19]
HumblyTrading - Posts: 179
Hi John,
In particular, would it be possible to include a part of the code that calls the start of the candle function, and perhaps the part of the code which accumulates volume wider and wider on these candles until the condition is met to begin a new candle?
Thank you in advance,
Mike
[2023-09-18 14:48:23]
User431178 - Posts: 543
In particular, would it be possible to include a part of the code that calls the start of the candle function, and perhaps the part of the code which accumulates volume wider and wider on these candles until the condition is met to begin a new candle?

Not John, but did you look at ACSILCustomChartBars_Example.cpp already?
This has two working examples, including volume per bar, shouldn't be that hard for you to get from volume per bar to delta per bar.
[2023-09-18 16:01:51]
HumblyTrading - Posts: 179
Yes. Thank you. However, the implementation there is not the same as what is in the actual SC candles and the combination of creating wider volume candles while calculating delta would be helpful to understand.

Hoping John can weigh in on this. Thanks again.
[2023-09-18 17:47:29]
John - SC Support - Posts: 36309
This is not something we can make available.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2023-09-18 17:52:09]
HumblyTrading - Posts: 179
Thank you anyway
[2023-09-19 15:08:40]
HumblyTrading - Posts: 179
Hello Again,
Related to this, is there an Ascil function which controls the volume width of bars for custom bar charts when making bars similar to Candle Price Volume Bars or Delta Bars which widen as volume increases?
Thank you
[2023-09-19 21:38:20]
John - SC Support - Posts: 36309
There is not a function that does this. The width of the bars is determined by the largest value for which the bars need to be drawn, and then the width of that largest bar is determined by the setting in "Global Settings >> Graphics Settings >> Other >> Price Volume Bars Width". The rest of the bars are relative to this.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2023-09-19 21:40:53]
HumblyTrading - Posts: 179
Thank you John,
I meant for variable widths such as for Volume Bars / Delta Bars. Is that still the case in this scenario?
Thank you,
Mike
[2023-09-19 22:23:40]
John - SC Support - Posts: 36309
We are not understanding what you are referring to, as these do not have Variable widths. Can you please give us some additional information?
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2023-09-19 23:57:37]
HumblyTrading - Posts: 179
Thanks for asking.
When a candle of Graph Draw type: "Candle Price Volume Bars" is selected, some candles are thicker in width than others to depict the relatively larger volume in that candle. Other candles are narrower in width to depict that lack of volume that occurred there.

https://www.sierrachart.com/image.php?Image=1695167803639.png

I'm wondering if ASCIL provides a function to the user when making Custom Bar Charts to enable the thickness of the candle to refer to an underlying data such as Volume, or other data for that matter.
Thanks again,
Mike
[2023-09-20 15:03:20]
John - SC Support - Posts: 36309
The answer we gave above applies to this as well. There is not a way to define the widths, as it is being automatically determined.
For the most reliable, advanced, and zero cost futures order routing, use 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