Login Page - Create Account

Support Board


Date/Time: Thu, 25 Apr 2024 19:03:44 +0000



[Programming Help] - toolbar button for Volume at Price Multiple

View Count: 1302

[2018-07-04 09:37:00]
User37537 - Posts: 78
Hello, I was wondering if there is a way to create a toolbar button to control the Volume at Price multiple for a chart? When using a numbers bar chart with a volume profile background and scanning through equities, this setting needs to be manually changed often depending on the price and range of the displayed data for a stock in order for the profiles in the numbers bars to be visible. Instead of going to the chart menu every time, I would like to be able to add a toolbar button to quickly change the Vol at Price Mult to 1, and another one to change the multiple to say 10, for example.
[2018-07-04 09:45:09]
Sierra Chart Engineering - Posts: 104368
Yes there is now. Since it is now possible to change study inputs using ACSIL.

Refer to this function in studies2.cpp:
scsf_ChangeStudyInputExample

And refer to this page:
Advanced Custom Study Interaction With Menus, Control Bar Buttons, Pointer Events
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
[2018-08-07 12:41:05]
User37537 - Posts: 78
I have just recently had a chance to get back to this. I'm having trouble finding the api docuemntation for what I need. What I would like to do is create a toolbar button that when clicked, will perform the following:

- Change the Volume at Price multiple on the chart to x
- Change the 'ticks per volume bar' setting on a volume by price study on the chart to x

Is this currently possible to do, if so can anyone provide an example on how to access / set these values? I'm an ACSIL noob but at least once I know how to access these settings I should be able to figure out the rest.

Thank you!
[2018-08-09 06:05:32]
Sierra Chart Engineering - Posts: 104368
Refer to this function in studies2.cpp in the latest version of Sierra Chart:
scsf_ChangeStudyInputExample

The functions used in that example are currently documented.

We have to add this capability:

- Change the Volume at Price multiple on the chart to x

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: 2018-08-09 06:05:48
[2018-08-09 22:47:23]
Sierra Chart Engineering - Posts: 104368
This will be supported in the next release:
- Change the Volume at Price multiple on the chart to x

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

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

Login

Login Page - Create Account