Support Board
Date/Time: Fri, 18 Apr 2025 06:37:46 +0000
Building custom tools in Sierra charts
View Count: 129
[2025-03-24 11:44:05] |
User880346 - Posts: 4 |
Hi, Is it possible to create or modify a chart drawing tool so that you can form quadrilaterals and other polygon shapes. This would be similar to the triangle tool, but with additional anchor points. Thanks |
[2025-03-24 13:09:03] |
Tony - Posts: 564 |
If the number of sides is not fixed, you probably need to draw multiple straight lines between each pair of anchor points, this can be done with ACSIL, hope I understood your question correctly.
|
[2025-03-24 14:12:15] |
User880346 - Posts: 4 |
Hi Tony, I'm not sure if that is what I am after, as ASCIL appears to be more for custom studies. I was looking for a simple drawing tool, very much like the triangle or rectangle tool, but one whose lines aren't fixed in the vertical and horizontal plane like the current rectangle tool is. I can draw a square or rectangle with the current rectangle tool, but not a parallelogram, or rhomboid, etc. So, simply like the triangle tool but with more than 3 anchor points, so you can create shapes of various sides. Hope that's a bit clearer. Thanks |
[2025-03-24 14:40:01] |
JohnR - User831573 - Posts: 330 |
I don't think you can modify any of the tools. What I and others have asked for before is the ability to either be able to create our own tools, which we sort of can with buttons/menu extensions and capturing mouse interactions, or to be able to group/name a collection of drawings, so you can easily save/modify/move. If you code, here is something similar I ended up doing. First I looked for a tool that had most of the 'features' I wanted. I wanted to have a Dynamic Gann Fan/Levels (DGL), but to create it using 3 points on any angle/relationship of the 3 points I wanted. Sooo, I use the Pitchfork tool, which does use 3 points, with them being located any where and has multiple lines, colors, etc. So I create a pitchfork, or read all pitchforks on a chart and get how many lines and what percentages, colors, etc. Then instead of drawing the pitchfork lines, I hide most of them. I used the percentages of the fork, to create my dynamic Gann fan. If I want to move/modify a specific DGL, I just move the SC pitchfork, and then my code deletes the old DGL and draw a new set of DGL lines using the moved points of the pitchfork. 2 things about the way I implemented this 1 - I have a menu selection that tells it to draw/erase/redraw the DGLs 2 - If I want to change an percent / angle I do that in SC normal user interface, and then select my menu item to redraw. - I chose this way as I usually don't change once drawn. But you could have a timer running every 1-2 secs reading the SC Tool occurences and look for a change or new. Hope it helps or gives you a possible way to get what you are trying to do. JohnR Date Time Of Last Edit: 2025-03-24 15:42:31
|
[2025-03-24 16:18:00] |
John - SC Support - Posts: 39353 |
The "Zig Zag" drawing tool lets you draw a series of straight lines, each one connected to the next (i.e. last point of one is the start of the next). You can use this to create whatever shape you are wanting. Refer to the following: Chart Drawing Tools: Zig-Zag For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
To post a message in this thread, you need to log in with your Sierra Chart account: