Login Page - Create Account

Support Board


Date/Time: Fri, 29 Mar 2024 09:23:06 +0000



Time Line Study issue in v1322

View Count: 830

[2015-11-20 13:13:30]
User13668 - Posts: 291
Upgraded to v1322 from a version about 16 back and have noticed a plot issue with this study.

Prior to the upgrade this study plotted perfectly.

See attached chart screen grabs. I have left the Daily High/Low Study on the chart because it helps show where the new day properly starts, as opposed to where the Time Line Study plots it:

Symbol FESX on 3T Renko chart:

I used to have the Time Line Study set at 1am US ET (when Eurex is closed) and it would plot fine, now it does not show. If I change the time to 2am ET USA when Eurex opens it still does not show. The first bar of FESX (Eurex) normally seems to start at 3 seconds or 4 seconds or 5 seconds past 2am. If I set the Time Line Study to 2:00:05 (USA ET) it will plot, but AFTER the first bar. If there is more than one bar at the same time (often the case with Renko as I have it set to 'new bar on session start') it will plot after the last bar that occurs at the same time. On 16/11 there were 5 bars all starting at 2:00:04 and SC draws the Time Line after the last one. On the 17/11 there were 2 bars starting at 2:00:05.

Your code for the Time Line must have been changed. It should be the same code logic that is used for the Daily High/Low Study - note how they are resetting each day after the last bar at the end of the previous session and BEFORE the first bar of the new session.

Symbol ES on 4T Renko chart:

This shows the start of the new week when trading starts at 6pm on Sunday (15/11) ET USA. In this case it is printing TWO Time Lines which it never used to do. My thinking is it is printing one for Friday and Saturday at 6pm (overlapping) and one for Sunday at 6pm (which is caught by the same issue as for FESX ie it is printing AFTER the last bar that occurs at 18:00:00) which is printing AFTER the three bars that all start at 18:00:00.

As for FESX, the code logic should be the same as for the Daily High/Low Study which is properly resetting at the end of the previous session.

The other ES chart shows today (20th) and yesterday (19th) which both had TWO bars starting at 18:00:00 with the Time Line plotting incorrectly AFTER these two bars whereas Daily High/Low correctly plots BEFORE the two bars.
imageFESX-201512-Eurex Renko 3t #7 2015-11-20 07_18_35.851.png / V - Attached On 2015-11-20 13:09:48 UTC - Size: 29.87 KB - 238 views
imageES-201512-CME Renko 4t #9 2015-11-20 07_18_00.480.png / V - Attached On 2015-11-20 13:09:59 UTC - Size: 44.65 KB - 251 views
imageES-201512-CME Renko 4t #9 2015-11-20 07_19_07.660.png / V - Attached On 2015-11-20 13:10:08 UTC - Size: 36.26 KB - 231 views
[2015-11-23 01:57:08]
Sierra Chart Engineering - Posts: 104368
There was no need to go into all of this detail. One simple example and a quick explanation is all we need. Extensive details usually are not relevant to us since we need to analyze the issue using our methods.

We will examine the study to make sure it works properly. There were some recent changes to it. So we will resolve 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
Date Time Of Last Edit: 2015-11-24 18:27:01
[2015-11-24 18:26:04]
Sierra Chart Engineering - Posts: 104368
The Time Line study has been updated to function in a much more reliable way. Update to the latest prerelease with Help >> Download Prerelease.

If the latest release solves the problem, then no need to say anything further. Otherwise let us know.
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: 2015-11-24 18:26:26
[2015-12-02 07:20:38]
User13668 - Posts: 291
It appears you have added a new Input Name: 'Allowed Range for Match in Minutes'

1/ what is the purpose of this new Input?
2/ I noted the documentation is not yet updated to explain this new Input.
3/ I figured out that I needed to have this new Input Name set to 1 for the study to plot, regardless of the Bar Period type ie with the setting as you have it being 0 (zero) nothing plots.
4/ If the new Input Name needs to be a number other than 0, could I suggest you change the 'out of the box' settings to 1 instead of 0.

Cheers
[2015-12-02 07:58:24]
Sierra Chart Engineering - Posts: 104368
The default for that input is 10. There currently is not code to update it for existing instances of the study. We will do that.

This is the definition for Allowed Range for Match in Minutes:

The Time Line is drawn at chart bars that have the nearest matching time to the specified time. In the case where there is not an exact match, this input specifies the number of minutes before and after the time, where a closest match is allowed. For example, if the Time of Line input is set to 09:00:00 and the time of the nearest matching bar in the chart during a day is 09:10:00 and Allowed Range for Match in Minutes has a setting of 5, then there will not be a Time Line drawn at the 09:10:00 bar because according to this input, there is no matching chart bar during the day for the specified time.
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
[2015-12-02 08:06:40]
User13668 - Posts: 291
Thanks, that's interesting.

With the 'default' setting of 0 for existing instances of the study, the study did NOT draw a plot at 18:00:00 on a 30 minute chart (on a 30 min chart a new bar starts at 18:00:00).A plot should have been made with a setting of 0 minutes based on what you explained above - so why does it not?
[2015-12-02 08:42:24]
Sierra Chart Engineering - Posts: 104368
This will be fixed in the next release to allow a value of 0. It was not considered that the setting would be a 0.
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

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

Login

Login Page - Create Account