Login Page - Create Account

Support Board


Date/Time: Mon, 29 Apr 2024 03:19:47 +0000



Post From: Time Line Study issue in v1322

[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 - 241 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 - 257 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 - 234 views