Login Page - Create Account

Support Board


Date/Time: Fri, 29 Nov 2024 01:47:03 +0000



Post From: sc.ReceivePointerEvents and clicks in chart price scale

[2023-03-12 23:28:12]
User275839 - Posts: 61
I have a custom study that is set up with:

sc.ReceivePointerEvents = ACS_RECEIVE_POINTER_EVENTS_ALWAYS;
if (sc.PointerEventType == SC_POINTER_BUTTON_DOWN){ do something }

The problem is that Sierra feeds it SC_POINTER_BUTTON_DOWN events for clicks in the chart price scale (right margin) as well as in the main chart body (price graph).

Is there a way to either 1) suppress events from the price scale, or 2) to identify those events as such, and ignore them?

Thanks for any suggestions! :)