Login Page - Create Account

Support Board


Date/Time: Thu, 28 Nov 2024 01:25:57 +0000



Post From: Access to "Global Settings" >> "Graphics Settings - Global" >> "Other" from ACSIL

[2023-06-20 11:00:50]
BlakJak - Posts: 108
I need to adjust the bars in my study to match the width of the bars on my price chart.

I can almost do it with the code:

sgVol.LineWidth = sc_->ChartBarSpacing;

... where sgVol is a reference to my volume subgraph and sc_ is a pointer to the interface.

However, I would like to set it to the bar width using the Candlestick Width % from "Global Settings" >> "Graphics Settings - Global" >> "Other"

I could hard code the value, but I prefer it to be a bit more flexible and read the value from the settings. Is that possible, and if not, can you provide access to those variables (I guess they must be internally used).