GetAppInfo in correct parameter [SOLVED]
-
- Posts: 84
- Joined: 28 Jul 2006
- Been thanked: 3 times
GetAppInfo in correct parameter
The aiLeftDispDateTime does not refer to the most left bar displayed on CHART but refers to the first bar loaded in the Datarange
- Svetlana MultiCharts
- Posts: 645
- Joined: 19 Oct 2017
- Has thanked: 3 times
- Been thanked: 163 times
Re: GetAppInfo in correct parameter
Hello, Pipscalper,
According to the Help page, aiLeftDispDateTime returns the DateTime value of the leftmost bar displayed on a chart. The integer portion of the DateTime value specifies the number of days since January 1st, 1900, and the fractional portion of the DateTime value specifies the fraction of the day since midnight.
According to the Help page, aiLeftDispDateTime returns the DateTime value of the leftmost bar displayed on a chart. The integer portion of the DateTime value specifies the number of days since January 1st, 1900, and the fractional portion of the DateTime value specifies the fraction of the day since midnight.
Last edited by Svetlana MultiCharts on 31 Oct 2019, edited 1 time in total.
- ABC
- Posts: 721
- Joined: 16 Dec 2006
- Location: www.abctradinggroup.com
- Has thanked: 125 times
- Been thanked: 409 times
- Contact:
Re: GetAppInfo in correct parameter [SOLVED]
Pipscalper,
the code below returns the first bar on the visible portion of the chart for me and not the first bar of the data series in MC 12.0 Release (Build 18184).
The value changes when I scroll the chart and have a different bar as the left most, too (the code needs to be computed of course to see the change).
Regards,
ABC
the code below returns the first bar on the visible portion of the chart for me and not the first bar of the data series in MC 12.0 Release (Build 18184).
Code: Select all
Print( DateTimeToString( GetAppInfo( aiLeftDispDateTime ) ) ) ;
Regards,
ABC