Support Board
Date/Time: Sat, 23 Nov 2024 22:46:40 +0000
Remove or Delete Study From Chart ACSIL Function
View Count: 1421
[2020-10-09 08:36:18] |
kas64h - Posts: 87 |
I see the sc.AddStudyToChart ACSIL function has been added in release 2177. Is there an 'equivalent' sc.RemoveStudyFromChart or sc.DeleteStudyFromChart ACSIL function, or can one be introduced? Thank you. |
[2020-10-09 19:04:43] |
Sierra Chart Engineering - Posts: 104368 |
No this is not supported. We will have to see about that later on.
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 |
[2021-03-02 11:04:43] |
Marmany - Posts: 307 |
I would also find it useful to be able to remove a study using ACSIL
|
[2022-04-16 11:44:31] |
kas64h - Posts: 87 |
I see you've been steadily upgrading many of the Sierra Chart Forms, the latest being Chart Settings. I'm assuming you'll very soon upgrade the Chart Studies Form, which is going to create a major issue for me. As part of a Study, I coded some functionality that with a single mouse click Removes/Deletes a Volume By Price Study previously drawn using Draw Volume Profile. A specific VbP Study can be chosen for deletion from an on-screen grid (generated via the sc.p_GDIFunction function), which is extremely useful when Volume Profiles are very close together (as is often the case). The problem is in order to achieve this I've had to synthesize a series of keystrokes (using SendInput etc.), which automatically opens the Chart Studies Form, tabs to the specific VbP Study, removes it and then closes the Form. From a coding perspective, it's a downright horrible and 'dirty' method of doing it, but it's effective and it works (in Windows). Obviously, this method relies upon the Form layout and its Tab Stops etc., and simply will not work when the Form is upgraded to the new style. If helpful, I am more than happy to create and upload a short video demonstrating this functionality in operation, but don't want to take up anymore of your time than is necessary. Obviously I don't want to lose this extremely useful and often used functionality. The simple and best solution would be to use an 'opposite' function to the existing sc.AddStudyToChart function - i.e. something like sc.RemoveStudyFromChart or sc.DeleteStudyFromChart, which I've enquired about previously (see first post above). Would it be possible to introduce such a function either before or at the time of the Chart Studies Form upgrade? Thank you for your time. |
[2022-04-18 19:44:15] |
Sierra Chart Engineering - Posts: 104368 |
We will add this: sc.RemoveStudyFromChart 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-04-22 13:10:44] |
Sierra Chart Engineering - Posts: 104368 |
This ACSIL function is in the latest release: sc.RemoveStudyFromChart 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-04-27 18:26:38] |
Marmany - Posts: 307 |
Not able to find details of this new function in the online manual. Please advise |
[2022-04-27 18:43:23] |
kas64h - Posts: 87 |
You don't really need the online manual, it's dead easy. The signature is: void (SCDLLCALL* RemoveStudyFromChart)(const int ChartNumber, const int StudyID); In other words in code just use something like sc.RemoveStudyFromChart(ChartNumber, StudyID); It's a void function so there's no return value to worry about. Tried it, and it works well! |
[2022-06-26 19:58:23] |
awakef - Posts: 66 |
Hi kas64h can you send me the code to remove or delete the volume by price study?
|
[2022-06-26 22:50:09] |
Sierra Chart Engineering - Posts: 104368 |
We will make sure that function is documented.
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 |
[2024-07-25 13:35:24] |
ycomp - Posts: 316 |
is there a way to disable another study on the chart (but not remove it?)
|
[2024-07-25 15:01:55] |
John - SC Support - Posts: 36238 |
The only option for a study is to "Hide" it or remove it. There is no "disable" option. And when hidden a study will always calculate. Additionally, there is no ACSIL function to hide a specific chart. The only item is the following: ACSIL Interface Members - Variables and Arrays: sc.HideStudy 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: