Login Page - Create Account

Support Board


Date/Time: Fri, 27 Sep 2024 07:15:31 +0000



Replay doesn't draw Custom Study

View Count: 1099

[2019-04-05 11:41:34]
User912279 - Posts: 102
Realtime use of a Custom Study works fine, but in Replay function it doesn't draw anything even at 1x speed.
The Replay progresses the barchart, where the Custom Study is applied, appropriately, but it nothing gets drawn.
The Study uses a Source barchart, where it is also applied (as Source) and the Destination barchart (applied to as Destination) and the charts are Linked with the same Link number (which is not used by any other charts) and under the Link number the Study option is also selected.

Would you have any suggestions as to why the Replay doesn't draw anything?

Thank you.
[2019-04-05 17:49:36]
Sierra Chart Engineering - Posts: 104368
No. You need to debug this. We have no idea.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2019-04-05 18:02:18]
User912279 - Posts: 102
What do you mean debugging?
I have to ask, because the code obviously works in real time.

Thank you for your time,
[2019-04-05 18:10:47]
User912279 - Posts: 102
Plus some more information on the subject: the Replay function works fine with the same Study on somebody else's SierraCharts.
Hence my request for ideas, because this seems to exclude the code as being the culprit.
[2019-04-05 18:11:34]
Sierra Chart Engineering - Posts: 104368
The problem is with your custom study. You need to debug the problem.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2019-04-05 19:43:56]
User912279 - Posts: 102
Dear Developers,

I would still very much appreciate pointer in Setting in my Sierra or my Chart that could cause some malfunction, as it is highly unlikely that the code could be faulty, since 1) it runs flawlessly in Real Time, 2) can Replay flawlessly on another (developer's) machine and 3) even the complied dll works flawlessly and replays flawlessly on this other developer's machine.

I would really appreciate some pointer, as I have been struggling with this issue for months now.

Thank you for your efforts.
[2019-04-05 20:25:57]
Merlin - Posts: 83
Are you using the "All charts in chartbook" option for your replay?
If you're only replaying the single destination chart, that could be your problem.
If the source chart isn't also being replayed, then your study isn't running on that chart.

I would also suggest trying out the different Replay Modes, to see if one of them corrects the problem.
I like the "Calculate at every Tick/Trade" mode - it warns of high CPU usage, but I've never found that to be an issue.
[2019-04-05 21:03:20]
User912279 - Posts: 102
Thank you. I will try all that.
And no, I just ran on the on Destination Chart and that is why I chose the Linking functionality between this and the Source Chart.
And yes, I have been using the "Calculate at every Tick/Trade" mode, too.
I will however try to run the whole Chartbook and see what that does, as well as all the other Replay modes.

I'll keep you updated. Thank you,
[2019-04-08 20:42:24]
Sierra Chart Engineering - Posts: 104368
From our perspective we just cannot know what the problem is. For an understanding why, refer to this section here:

Automated Trading Management: Troubleshooting Automated Trading System Behavior

Realtime use of a Custom Study works fine, but in Replay function it doesn't draw anything even at 1x speed.
The only thing that we can say in regards to this, is that the study is not performing calculations at each chart bar and filling in the Subgraph arrays which are graphed on the chart and/or, it is not able to reference the data from the source chart for an unknown reason or the data that it needs is not there.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2019-04-08 20:42:57
[2019-04-08 21:30:17]
User912279 - Posts: 102
Thank Sierra Developers, but this was not the problem.
Thank you Merilin for the idea about running the whole Chartbook, but that was just too large to work.

The problem however had a simple solution, one that came up immediately when another user went thru those few steps that are needed to run a Replay, namely the steps that come up right after pushing the play button.
The problem was that after Sierra asks about reloading data, it also asks "Enter Processing Steps in Seconds=60"? The Default setting of 60 caused the problem and by setting it to 1 second the playback ran smoothly.

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

Login

Login Page - Create Account