Login Page - Create Account

Support Board


Date/Time: Fri, 23 May 2025 18:37:30 +0000



Delays in autotrading, trading system based on alert condition

View Count: 78

[2025-05-22 12:22:17]
User138457 - Posts: 43
I am experiencing situations, where the alert condition for
the trading system is triggered with quite a bit of delay, resulting in bad entries.
Is the frequency with which the conditions are checked adjustable?
What could be the issue here?


thanks in advance
Date Time Of Last Edit: 2025-05-22 12:22:46
imageUnbenannt.PNG / V - Attached On 2025-05-22 12:19:54 UTC - Size: 11.36 KB - 8 views
[2025-05-22 14:25:58]
John - SC Support - Posts: 40011
The Alerts are calculated at the same time as the studies, which would be at the "Chart Update Interval". Therefore, there should not be any delay in having an alert generated.

Are you certain that the alert itself is "delayed"? Have you looked at the time of the alert to see if it matches the time at which you expected it to occur?

We see you are using Rithmic for your trading service, and we hear a lot of statements about orders not being processed quickly. This is a Rithmic issue, so we wonder if this is what you are seeing and not an issue with the trading system itself.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2025-05-22 15:20:10]
User138457 - Posts: 43
Dear John,
thanks for the quick reply. Yes, I'm actually quite certain, because I have it structured so that I get a
"color background" study, which really does the checking and the trading just ask for "color backgound".sg1=1
So I see the bar color changing, but it takes quite a bit (I would estimate 0.5-1s) till the "dot at the top/bottom" that
I use as a marker of the trading system appears.
It could be an issue with rithmic though, if this would be correlated,
i.e. the trading system would only be shown as active if it successfully routed an order. I can not gauge wether this is the case, though.
[2025-05-22 16:19:13]
John - SC Support - Posts: 40011
What trading system are you using? What Sierra Chart Study? or is this a custom study?
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2025-05-22 16:22:50]
User138457 - Posts: 43
it is "trading system based on alert condition"
[2025-05-22 16:44:07]
John - SC Support - Posts: 40011
Is the condition that colors the background the same as the condition in the "Trading System Based on Alert Condition"?

We suspect that there is more to the alert that you are using for the "Trading System Based on Alert Condition" such that something else needs to occur beyond the conditions that are coloring the background. You need to look at your conditions for the "Trading System Based on Alert Condition" and see why the "dot" is being placed when it is relative to your conditions.

Also, check the Alert Manager to see the time of the Alert related to the "Trading System Based on Alert Condition". Make sure the dot is appearing at the same time as the alert in the Alert Manager. This also points to the alert being correct, but just not occurring when you are expecting it to and you would need to analyze why it is occurring at that particular time.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2025-05-23 05:23:25]
User138457 - Posts: 43
Well it is organized as follows
I have a condition that colors that bar, say that is ID5
the trading system has the alert condition

ID5.SG1=1

so it must be the "same" by construction. I am aware that that might lead to a small delay,
because it gets true only "in the second iteration", but it shouldn't lead to about a second delay, should it?
[2025-05-23 13:24:31]
John - SC Support - Posts: 40011
The problem with using a condition like that is that certain studies have specific precedence's, which can cause the timing of these things to not work exactly as you want. The "Color Bar Based on Alert Condition" in particular has a "Very Low Calculation Precedence", which means it runs after most other studies. Therefore, what you are seeing is probably due to this. Refer to the following on this topic:
Chart Studies: Study Calculation Precedence And Related Issues

In the end, you really need to duplicate the core condition that you have in the "Color Bar Based on Alert Condition" into the "Trading System Based on Alert Condition" and not use a reference to the subgraph for the Color Bar Based on Alert Condition.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2025-05-23 14:24:26]
User138457 - Posts: 43
ok, that could be it.
I will try and let you know.

thanks

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

Login

Login Page - Create Account