Login Page - Create Account

Support Board


Date/Time: Tue, 07 May 2024 13:01:19 +0000



Is there ACSIL access to Shared Drawings properties?

View Count: 289

[2022-11-16 21:49:38]
JohnR - User831573 - Posts: 300
I have created an "Add-On" tool. I created my drawing this way as I am able to use all of the existing functionality , options, menus option windows already within SC. So what I did was establish a MenuEventID item is the entry point into my code. Within the code
1 - it first deletes all of the lines (retracements) it has drawn on this chart,
2 - then it searches for PitchForks.
3 - When it finds one, it uses the 3 base points, other properties as well as reads all 32 possible retracement levels for - Line style, width, color and retracement value. Then I draw my Dynamic Gann Lines (fan) using the info just read plus some calculations. All of this works, I am even able to realize when a drawing object has been "cut" in length to vary length of my fans to match.

My issue is that I use multi time frames and I share drawing from a higher level down to a faster one. The user drawn pitchfork is shared and is seen and can be manipulated via the user so all good so far.... but .... the existing calls doo not allow me to read these objects. _ Shared Drawings If I can't find and read the Shared Pitchforks, then I can not create my "Add-On" Dynamic Gann Fan.

I am looking for a function similar to ones for ACSIL drawn and user drawn but will work with SharedChartDrawings.
--> sc.GetUserDrawnChartDrawing(sc.ChartNumber, DRAWING_PITCHFORK, JOR_DrawingObj, JOR_DrawingIndex)
new API -> sc.GetSharedChartDrawings(......);

I would think it is an easy / quick API to create. Probably just point the function to a different array / same structure as ACSIL and UserDrawn functions. All other 'stuff' -- logic / structures / etc should be the same.

It would be greatly appreciated if this is possible in the near future.

SC support - If you are interested in using my code to integrate into a native tool, It is well documented.

JohnR
Date Time Of Last Edit: 2022-11-16 23:31:20
imageSC_Forum Pitchfork_Plain_n_FanOverlay.jpg / V - Attached On 2022-11-16 21:43:51 UTC - Size: 546.05 KB - 74 views

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

Login

Login Page - Create Account