Login Page - Create Account

Support Board


Date/Time: Wed, 15 May 2024 10:44:17 +0000



Post From: Issues with opening Historical 2 Days charts using sc.OpenChartOrGetChartReference

[2017-04-12 14:44:25]
GmA - Posts: 20
Dear Support Board!

Thank you very much for implementing the parameter HistoricalChartBarPeriodLengthInDays in s_ACSOpenChartParameters structure.
I can now open different fractions of historical daily chart like 2,3 Days.
At the same time, when, for example, 2-Days Historical Chart was open by sc.OpenChartOrGetChartReference and, later on, chart with my study (or just my study) is restarted, another 2-Days Historical Chart is open instead of returning the reference to the existing chart. By other words, 2-Days (or 3 or 5 days) chart can not be found by sc.OpenChartOrGetChartReference function from the list of open charts.
With 1-Day Historical chart it works fine and such chart is found on the next calls of the function.
Could you please advise if this is an issue with sc.OpenChartOrGetChartReference or I need to take some special settings or the parameters into consideration.

Thank you very much in advance and
With kind regards
GmA