Login Page - Create Account

Support Board


Date/Time: Wed, 16 Jul 2025 01:52:00 +0000



[Programming Help] - Intercepting Double Click Signal in Custom Study ACSIL

View Count: 94

[2025-06-26 09:27:43]
Jacky Daniel's - Posts: 3
Hello Sierra Chart Support,

I hope this message finds you well.

I am currently developing a custom study and I would like to intercept the double-click signal within my code. I have searched everywhere in the documentation and on the forums, but I have not found any information on how to capture or handle the double-click event so that I can use it in my study file.

If there are any specific functions, callbacks, or examples you could provide, I would greatly appreciate it.

Thank you very much for your help.

Best regards,
Kamil
[2025-06-26 12:23:56]
Sierra_Chart Engineering - Posts: 20205
Not sure about this. You can receive pointer events:
Advanced Custom Study Interaction With Menus, Control Bar Buttons, Pointer Events

Not sure about how double-click events would be received in the custom study. We really do not know. This is something we never tested.
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, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2025-06-26 12:42:35]
Jacky Daniel's - Posts: 3
The only solution I have found to capture the double-click event is to lower the system double-click speed setting of the mouse to a very small value. Then, I implement logic to measure the time between two clicks in order to determine if a double-click has occurred, and trigger my action in the study accordingly.

Another workaround is to use a triple-click instead, without changing the system mouse settings, using the same timing logic. The advantage is that the double-click continues to work normally at the system level.

However, this is not ideal, because if I change the system double-click speed, double-clicking no longer works as expected throughout the system, including in Sierra Chart (for example, when clicking on the price scale to recenter).

It is unfortunate not to have access to such a basic event. Is there really no way to access the Windows double-click event directly?
Date Time Of Last Edit: 2025-06-26 12:43:02
[2025-06-27 07:23:37]
Tony - Posts: 611
@Jacky

Could you give us an example situation when double click is needed?

I found single click would handle all, I might miss something though.
[2025-06-27 07:37:39]
Jacky Daniel's - Posts: 3
What I want to do specifically is add a "Label" column in the DOM and intercept double-clicks on this column to vertically recenter the DOM at the last price. Unfortunately, with the solutions I have found so far, I either have to use a triple-click, or change the system mouse settings to make double-clicks work—but then double-clicking no longer works properly throughout the entire system.

Of course, I use this "Label" column to display the information I need, but I would also like to implement other actions (for example, triggering "Clear Recent Bid/Ask Volume") by double-clicking in the "Recent Bid Volume" or "Recent Ask Volume" columns. This could be more convenient than using a keyboard shortcut.

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

Login

Login Page - Create Account