The command immediately below (extracted from the help) is working. The code example for testing is shown.
aiLeftDispDateTime - specifies return of the date and time of the leftmost bar displayed in the current chart window GetAppInfo will return 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.
Code: Select all
Begin_Time = MinutesToTime(TimeToMinutes(DateTime2ELTime(GetAppInfo(aiLeftDispDateTime))) + 3);
Print(File("C:\alog_GetAppInfo.txt"),
"Begin_Time", " " ,
Begin_Time, " " ,
"GetAppInfo(aiLeftDispDateTime)", " " ,
GetAppInfo(aiLeftDispDateTime), " " ,
"DateTime2ELTime(GetAppInfo(aiLeftDispDateTime))", " " ,
DateTime2ELTime(GetAppInfo(aiLeftDispDateTime)), " " ,
" ");
aiHighestDispValue - specifies return of the highest price value that could be displayed in the current chart window GetAppInfo will return the highest price value that could be displayed on a chart.
Code: Select all
Print(File("C:\alog_GetAppInfo.txt"),
"GetAppInfo(aiHighestDispValue)", " " ,
GetAppInfo(aiHighestDispValue), " " ,
"GetAppInfo(aiLowestDispValue)", " " ,
GetAppInfo(aiLowestDispValue), " " ,
" ");