Login Page - Create Account

Support Board


Date/Time: Sun, 05 May 2024 17:26:42 +0000



AddAsUserDrawnDrawing = 1

View Count: 1035

[2014-10-11 00:25:15]
QnReally - Posts: 181
I am drawing a DRAWING_PITCHFORK_SCHIFF by setting ReceivePointerEvents. The drawing works fine. The problem I am facing is when there is already a drawing at one of the points where my new drawing needs to go. Here is a comparison of two scenarios each drawing two drawings. Assume I have points A, B, and C on the chart.
Scenario 1 (works fine -- drawing two Sierra supplied tools):
1. I draw the Ray Tool using points A and B.
2. Then I draw another Ray tool using points A and C.
3. No problems in this case.

Scenario 2 (problem if using one Sierra supplied tool one user drawn tool from a study):
1. I draw the Ray Tool using points A and B.
2. I want to draw DRAWING_PITCHFORK_SCHIFF which is managed by my study using points A, B, and C.
3. The problem is, when I click the mouse at point A, the previous Ray Tool that is starting at point A gets selected and messes the pointer events being received by my study.

Is there any way to avoid the interaction with the existing drawings on the chart while I am in a mode of drawing a new UserDrawnDrawing?

Thanks.
[2014-10-11 07:46:27]
Sierra Chart Engineering - Posts: 104368
Possibly what we can do is when the Pointer tool is selected and you are using one of the Advanced Custom Study buttons to receive pointer events, we could prevent selection of existing drawings.

We will consider this.
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
[2014-11-06 16:43:13]
Al SC Developer - Posts: 434
In ver 1210, there will be a new variable sc.BlockChartDrawingSelection which will block chart drawing selection while set. So you would set this value to one when you start your drawing tool, and then be sure to set it to zero when you are done.

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

Login

Login Page - Create Account