+1 888 340 6572
MultiCharts Project Management
previous_open_issue.png
Go to the previous open issue
previous_issue.png
Go to the previous issue (open or closed)
star_faded.png
Please log in to bookmark issues
bug_report_small.png
Open Bug report MC-1948

Daylight Savings not working correctly in the area where DST is not used

action_vote_minus_faded.png
4
Votes
action_vote_plus_faded.png
next_issue.png
Go to the next issue (open or closed)
next_open_issue.png
Go to the next open issue
Description

See the attached for detail explanation along with pictures.
MC V9.1 Release

Steps to reproduce this issue

See the attached.

Comments (2)
#1
user-offline.png  Alex MultiCharts (Alex MultiCharts)
Jun 09, 2017 - 13:04
We managed to reproduce the issue on our end.

We can currently recommend to set the sessions exactly in the time zone of the Exchange. Then you will not have issues on the chart, will only be displayed incorrectly in QuoteManager.
#2
user-offline.png  rramse (rrams)
Jul 14, 2017 - 03:23

I am so happy you are going to fix this because I live in Arizona where DST is not observed and my chart session times become incorrect every DST changeover.

I have one PC that is affected and one that isn't. Don't know why. It is a very difficult issue to reproduce, so I am amazed Alex even bothered. You are really top notch if you can figure this out.

I wrote a script that highlights the problem for me. Forgive me if it's not related to the same problem.

{ Indicator to test if Daylight Saving Time is interfering with correct time from End of Session functions.
This happens when chart is set to local time where DST is not observed and when DST is in effect at the exchange. }
inputs: SessionA(CurrentSession(1)), SessionB(CurrSessionNum(1));
vars: DT("time"), ET("time");
ET=FormatTime("HHmm", ELTimeToDateTime(SessionEndTime(1, 1)));
if (SessionLastBar) then
begin
DT=FormatTime("HHmm", DateTime);
print(" SessionLastBar Time=", DT, " Bar=", NumToStr(CurrentBar, 0), " SessionEndTime=", ET);
end;
plot1(Text(" ExchangeTime ", FormatTime("HH:mm", q_time_dt)), "XT", darkgray);
plot2(Text(" StartTime ", FormatTime("HH:mm", ELTimeToDateTime(SessionStartTime(1, 1)))), "ET", darkgray);
plot3(Text(" EndTime ", FormatTime("HH:mm", ELTimeToDateTime(SessionEndTime(1, 1)))), "ET", darkgray);
plot4(Text(" CurrSessionNum ", NumToStr(CurrSessionNum(1), 0)), "CS1", darkgray);
plot5(Text(" CurrentSession ", NumToStr(CurrentSession(1), 0)), "CS2", darkgray);
if InStr(DT, "time")=0 and InStr(DT, ET)=0 then plot6(Text(" SessionEndTime is wrong! "), "SE", red)
else if InStr(DT, "time")=0 and InStr(DT, ET)=1 then plot6(Text(" SessionEndTime is correct! "), "SE", green);
plot7(SessionA, "END1", green);
plot8(SessionB, "END2", blue);

History
Issue basics
  • Type of issue
    Bug report
  • Category
    Usability
  • Targeted for
    MultiCharts 11.0 (RELEASED)
  • Status
    Released
  • Priority
    Not determined
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (2)
People involved
Times and dates
  • Posted at
  • Last updated
Issue details
  • Reproducability
    Not determined
  • Severity
    Critical
Attachments (1)
Commits (0)
There are no code checkins for this issue
Duplicate issues (0)
This issue does not have any duplicates