Login Page - Create Account

Support Board


Date/Time: Tue, 26 Nov 2024 04:25:05 +0000



Performance question: Overlay charts and chart update interval

View Count: 285

[2023-12-31 00:47:01]
masedi - Posts: 40
Hi All,


I have a setup where I want to do some calculations on chart 1 and display a color bar based on alert (CB) on chart 2 when certain conditions are met in chart 1.

Question 1:
What is the recommended way for the setup for best performance and reliability:

Option 1)
Perform calculations and CB on chart 1 and configure an overlay study of the "CB study from chart 1" on chart 2

Or

Option 2)
Overlay main chart 1 on chart 2 and perform the calculations on chart 2 (based on: chart 1 overlay) then display the CB alert directly on chart 2

Is there any difference in Performance and/or reliability?

========

Question 2:
If I am using a chart update interval of 500 ms (default) does that mean I cannot do any calculations for times less than 500ms?
Date Time Of Last Edit: 2023-12-31 11:30:54
[2024-01-02 14:13:20]
John - SC Support - Posts: 36286
There is not going to be any noticeable difference between the setups, so choose the one that you find easier to work with.

We are not sure we understand the question about the Chart Update Interval. What exactly are you wanting to do?
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2024-01-02 14:32:01]
masedi - Posts: 40
Hi John

Regarding the chart update interval, I want to make some calculations based on volumes over 2 or 300 Ms.

Will this be calculated correctly even if the chart update interval is 500ms assuming that this setting is for the display part only not for the actual calculations?
[2024-01-02 16:09:19]
John - SC Support - Posts: 36286
If you have a chart that has 2 millisecond bars, and you are doing your calculations based on the bars (which you pretty much have to be doing) then everything will work correctly, even if your Chart Update Interval is set to 500 milliseconds. As the bars are added the calculations are done.

We can not think of how you would be doing something intrabar, but if you are wanting to somehow get data at 2 milliseconds for bars that are not 2 milliseconds (such as 1 minute bars, or even 1 second bars) then there is not a way to do this.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2024-01-02 16:39:01]
masedi - Posts: 40
Hi John,

With 2 or 300 ms, I meant 200ms or -300 ms, not 2 ms :)

Thanks for the clarifications.

I am doing the calculation when those bars close.

So from what I understand, the key point is that even if the update interval is higher than the calculation interval, this should not cause any issue. The calculation is done regardless of the chart being displayed or not.
Date Time Of Last Edit: 2024-01-02 16:39:40
[2024-01-02 16:54:07]
John - SC Support - Posts: 36286
even if the update interval is higher than the calculation interval, this should not cause any issue. The calculation is done regardless of the chart being displayed or not.

Correct.
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:

Login

Login Page - Create Account