Login Page - Create Account

Support Board


Date/Time: Sat, 15 Nov 2025 16:17:51 +0000



Bug in Market Replay (in recent release?)

View Count: 210

[2025-09-14 19:04:11]
User61168 - Posts: 459
Hello SC Support,

I am using a simple alert condition algo (nothing complex with no technical indicators or advanced studies).

This seems to be introduced recently in the last 4-5 months. Market replay (calculate at every tick -speed=240) will not open trades unless I do the following:
Issue#1: Market Replay > Hit Play > after the first bar, immediately hit Pause, then open study collection, Hit Apply and then Hit "Save All" to save the study collection, then hit play again. Only after I do this steps will the algo start to open trades.

Issue #2: When market replay is running on tick accuracy @ speed 240, not always but often times, I am unable to pause the replay.... it takes more than a minute to pause.Same happens when I try to click on trade activity log window. it just freezes (or does nothing for a minute or two).

p.s. I have been using Market Replay with tick accuracy@240 speed for last 2 yrs on the same laptop and do not running ANYTHING else but SC and excel on it.
[2025-09-15 14:58:00]
John - SC Support - Posts: 43003
Issue #1: There is something else going on here. There is absolutely no connection between the Study Collection and replay and trading. It sounds to us like you do not have a study loaded that is required that is then getting loaded through the Study Collection.

You really need to do some extra troubleshooting to determine what is going on.

What tool are you using to place trades?

Issue #2: This sounds fairly normal with the option to calculate at every tick/trade. The system is just very busy doing the calculations and the UI is not very responsive due to this.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2025-09-15 19:15:47]
User61168 - Posts: 459
Thanks for your response John. I only have one chart in one chartbook using standard delivered "Trading:" studies, 2 high/low for time period studies, 17 spreadsheet formula studies. These are all part of my "baseline" collection that I have been using for over 2 yrs in all my algos....and 4 trading system by alert condition studies for entries and exits (also part of my baseline collection which I update to build new strategies). There is nothing else new here.

1) I do use bar-lookback conditions like "ID7.SG1=ID7.SG1[-5]" (ID7 is position qty as an example on "trading:" studies only) to add horizontal space in-between my trades on a standard 1minute chart.
2) I do use [-1] on my most of spreadsheet formula studies
3) There are no programming or syntax errors found in the log.
4) chart update interval is also 100ms for last 6+ months.

There seems to be some condition set when I save the collection right after replaying the first few bars that is required. I suspect the algo requires a forced "re-calculation" atleast once right after I hit play and before my 1st trade entry signal.
Date Time Of Last Edit: 2025-09-15 19:18:50
[2025-09-15 19:39:02]
John - SC Support - Posts: 43003
Our best guess is that you have something going on with regards to the calculation order of the studies you have on your chart. Refer to the following:
Chart Studies: Study Calculation Precedence And Related Issues
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2025-09-15 20:49:38]
User61168 - Posts: 459
I checked the calculation order and there are no dependencies. Could this formula be the root cause?

I have ID16.SG1 as a spreadsheet formula study with the following formula

=IF(ID8.SG1=0,0,IF(AND(HOUR(BARTIME)=9,MINUTE(BARTIME)>=30,ID2.SG1[-1]=ID2.SG1[-5]),ID2.SG1[-1],ID16.SG1[-1]))

Could referencing a [-1] of the same study ID within it's formula cause this? It draws a line on chart so visually, it works perfect on every tick in speed=1 replay.

Thanks for the help John.
[2025-09-15 21:25:27]
John - SC Support - Posts: 43003
There is no issue with referencing a previous bar for the same study. This is not a problem, as there will (almost) always be a previous bar (unless there is only 1 bar in the chart).

This is a good example of where you need to be careful with the study order. You have a Spreadsheet formula that is referencing ID8.SG1. So you need to ensure that ID8 is calculated before this Spreadsheet Formula.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2025-09-16 01:35:49]
User61168 - Posts: 459
I have verified the study order for the 3rd time now and I cannot find any issues with study order.
Batch#1: High/Low for Time Period study
Batch#2: "Trading:" studies
Batch#3: All the calculated spreadsheet formula studies (references B1 and B2 and each calc study is completely independent)
Batch#4: Buy/Sell Entry Trading System based on Alert Condition study (references B1/2/3)
Batch#5: Flatten/Exits/Timestops (references B1/2/3)

I also deleted all the unused/disabled formula studies. It is just strange that recalculation is required only for the first trade during replay and not for rest of the 100s of trades that follow.

Anyways, not worth your time to dig this any further. I wish there was a feature that would alert us when recalculation is required for a study collection.

Thanks again for looking into this.

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

Login

Login Page - Create Account