Login Page - Create Account

Support Board


Date/Time: Sun, 05 May 2024 02:40:59 +0000



[User Discussion] - Chart Session Start Time

View Count: 959

[2020-05-07 04:00:01]
CMG - Posts: 179
Hello,
I'm trying to set a 1 day intraday chart for the ES futures symbol for the current day and evening session, but the chart shows the previous day.
According to the CME, ES session begins at 18:00 and finish the next day at 17:00

-If I set the start session at 18:00 and end at 16:59, the chart begins at 18:00 of the previous day
-If I set the start session at 18:00 and end at 9:59, the chart begins at 18:00 of the previous day
-If I set the start session at 9:30 and end at 16:59 and (using) the the evening session from 18:00 to 9:29, the chart does not begin at 9:30 but at 18:00 the previous day.
-If I set the start session at 9:3o and end at 9:29 and do not use the evening session, the chart begins at 9:30 but of the previous day.

What are the proper settings if I need the chart to start at 18:00 (on that day) and finish at either 9:30 of 16:59, or start at 9:30 (on that day) and finish at 9:29 the next day.

The ideal is as the exchange sets the session times. 18:00 to 17:00

This times are EST as is my SC set at.

Thanks
Date Time Of Last Edit: 2020-05-07 04:15:31
[2020-05-07 13:08:09]
Sawtooth - Posts: 3993
18:00 to 17:00 crosses Midnight so you will always have at least 2 days.
You'd need to set the chart's timezone to one where its Midnight occurs at 18:00 ET, then set the Session times to 00:00:00 to 22:59:59
But this will be problematic twice a year because DST occurs on different days in divergent timezones.

Why is it a problem to show the previous day? What are you trying to accomplish?
[2020-05-07 19:14:03]
CMG - Posts: 179
Tom, thanks again for your help.
I didn't see your response and I just posted the question again for sierra support as this post went to user discussion (it was not intended to.)

I only want one day because I am using the "% Change since Open" study (which on my opinion has some issues of its own but it will work with some twists) and my objective is to visualize just the current session and use its data for some intraday calculations. There is no problem for regular session hours (9:30 to 16:00) but when the night session is included, the prior day appears. The issue is with the starting time being greater than the finishing time (creating a reverse time as per SC terms) and that's why the solution is what you recommended.

Now that I went into mentioning the "% Change since Open" study, it has being programmed in SC to plot the graph only to begin in 0% if the input data for opening bar and current bar are the same (e.g. open, last, etc) thus creating the following problem:
In an 1 minute intraday chart for a regular stock session (9:30 to 16:00), if you want to get the exact % change since open during the session (as the study name suggests it is intended to do) you would need the open (open = fist price in the first bar) and the last of the current bar for the correct calculation. With this settings the chart does not begin at 0% (but returns the correct % change from open). The only way to have the chart begin at 0% is to either set opening bar to last and current bar to last, which would return an incorrect result as the calculation would be performed with the 9:30:59 price instead of the 9:30:00 price, or to set the opening bar to open and current price to open which would also return and incorrect calculation as the last price would be the opening price in the last bar and not the last. The discrepancies are even larger when a longer time frame is set. So the study actually changes results for "% change since open" with different time frames when the underlying stock has the same opening price and last price! For a more precise description, the study is really "% change since last of opening bar"

Of course, as with the session times you recommended for the original issue in this post, there are twists to get around it but creates a disorganized chart.

Have you had any issues/comments with this study? Any feedback is very appreciated.
Thanks again
[2020-05-07 21:40:25]
Sawtooth - Posts: 3993
Have you seen this?:
https://www.sawtoothtrade.com/free-stuff-6.html
[2020-05-17 06:02:06]
CMG - Posts: 179
Did this "You'd need to set the chart's timezone to one where its Midnight occurs at 18:00 ET, then set the Session times to 00:00:00 to 22:59:59
But this will be problematic twice a year because DST occurs on different days in divergent timezones."

I think is going to work perfect as SC now lets you SET the dates for when DST occurs in any timezone!

Thanks again.

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

Login

Login Page - Create Account