Support Board
Date/Time: Sun, 24 Nov 2024 15:39:58 +0000
[Programming Help] - Using ACSIL to copy drawings to another chartbook
View Count: 224
[2024-05-24 02:02:37] |
User414522 - Posts: 19 |
Hi, I decided to try my hand at ACSIL today for the first time and need some pointers (no pun intended). How does one use ACSIL to copy custom (Tool.AddAsUserDrawnDrawing = 1) drawing(s) to another chartbook? I've been searching for a few hours and gone through https://www.sierrachart.com/index.php?l=doc/ACSILDrawingTools.html like other posts suggested but the answer is not obvious to me. I managed to get as far as using Tool.ChartNumber to copy custom drawings to charts within the same chartbook but now the final step to copy them to charts in another chartbook eludes me. What am I missing? Thanks |
[2024-05-25 00:42:12] |
ForgivingComputers.com - Posts: 960 |
The easiest way to do this is to save the drawings as a text file. I have a pair of studies that does this for sale if interested.
|
[2024-05-25 17:03:36] |
User414522 - Posts: 19 |
Appreciate the offer but I'm already a ways down this rabbit hole. Thanks for the tip (writing to a file as an intermediary step). I was thinking about this as well after some thought and will probably do this for now until I get a firm grasp of SC's way of doing things. What I gathered so far from reading in between the lines of the documentation is that SC generally wants us to think of chartbooks as sandbox environments and they are the only ones that can throw sand (which makes sense).
|
[2024-05-25 17:19:09] |
ForgivingComputers.com - Posts: 960 |
And instances are Yards with multiple Sandboxes that share the same Feeds. Unless you can figure out asynchronous messaging between processes, writing and reading files is about the most low tech way you can automate it, but it works. I recommend using a small RAMdisk to reduce latency and drive wear.
|
[2024-05-25 17:28:01] |
User414522 - Posts: 19 |
Unless you can figure out asynchronous messaging between processes
Don't give me a reason to come out of retirement :) Thanks again! |
To post a message in this thread, you need to log in with your Sierra Chart account: