Support Board
Date/Time: Sat, 23 Nov 2024 23:08:01 +0000
Post From: Remove or Delete Study From Chart ACSIL Function
[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. |