Login Page - Create Account

Support Board


Date/Time: Wed, 08 Oct 2025 08:05:34 +0000



Circle Drawing Consistency

View Count: 70

[2025-10-06 20:07:49]
User688525 - Posts: 327
Hello Sierra,
Is it possible to draw a consistent circle in Sierra Chart that maintains it's proportions? While the first and second points are unchanged, the proportions change. The attached illustrate this?

Thank you
imagecircle-original.png / V - Attached On 2025-10-06 20:04:26 UTC - Size: 16.79 KB - 15 views
imagecircle-zoom-in.png / V - Attached On 2025-10-06 20:04:30 UTC - Size: 22.7 KB - 14 views
imagecircle-zoom-out.png / V - Attached On 2025-10-06 20:04:33 UTC - Size: 10.67 KB - 15 views
[2025-10-06 21:14:35]
John - SC Support - Posts: 42262
If you want to have a circle that maintains its shape with changes in the chart, then you would need to set the chart to have "Constant X and Y Relationship". Refer to the following:
Chart Scale and Scale Adjusting: X & Y Constant Relationship Scaling

Otherwise, you are dealing with an Ellipse, and Sierra Chart is setup to maintain the coordinates of that ellipse. So if you change the bar spacing without also changing the price scale proportionately, then the ellipse will expand/contract while keeping the height the same.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2025-10-06 22:01:01]
User688525 - Posts: 327
Hi John,
Thanks for this.

To configure the chart so that 1 unit of time equals 1 unit of price, if the tick size is 0.25, does this mean the configuring the following:
- Value Increment Per Bar In Ticks = 4
- Scale Type = Linear
- Constant Range = 400
- Bars = 400
- Value Range = 400

Also John, is sample ACSIL code available for drawing an ellipse as I'm finding it difficult to set the "center" and "radius" which is easily done when using the ellipse tool? Do rectangle coordinates need to be specified?

Thank you
Date Time Of Last Edit: 2025-10-07 11:36:01
[2025-10-07 14:00:51]
John - SC Support - Posts: 42262
Setting the values as you specify will not resolve the issue, as when you change the bar period, it is still not going to adjust the price scale. You need to use the "X and Y Constant Relationship Scaling" which changes both scales simultaneously. It does not matter what the parameters are, the system will take care of it behind the scenes.

There are no examples of drawing an ellipse in the example code. And we are a bit confused by your statement of setting the "Center" and the "Radius" for the ellipse tool. When using the tool, you set the upper left corner anchor and then the lower right corner anchor. The same is true for ACSIL, you need to define the two anchor points, which will be the upper left and lower right.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2025-10-07 20:14:58]
User688525 - Posts: 327
Hi John,
Thanks for clarifying the "X and Y Constant Relationship Scaling".

For the Ellipse tool, the attached image shows the two settings:
- "First Point Is Center"
- "Second Point Is Radius"

How can I specify the Center and Radius using ACSIL as my current attempts result in an ellipse instead of a circle?

Thank you
Date Time Of Last Edit: 2025-10-07 20:19:57
imageellipse-tool.png / V - Attached On 2025-10-07 20:19:39 UTC - Size: 33.77 KB - 5 views
Attachment Deleted.
[2025-10-07 21:18:52]
John - SC Support - Posts: 42262
Thank you for the information. I learned my one new thing for the day. Sorry for not being aware of it.

Unfortunately, the s_UseTool structure does not have any variables for those settings, so there is not a way to do this through ACSIL at this time.

We have noted this as a Feature Request to add those items to s_UseTool. Just keep in mind that we take all suggestions, but we can not say when we would get to any particular item.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2025-10-08 01:46:51]
User688525 - Posts: 327
Hi John,
Thanks for confirming; I respect the humbleness.

Cheers!

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

Login

Login Page - Create Account