论坛

经济日历函数无法正常取值

我指定货币代码GBP,并设定了事件取值的时间范围,但是无法取到完整的时间区间内的所有事件时间。这是什么原因呢?请大家帮我看看下面的代码 void OnStart () { //--- int count= 0 ; MqlCalendarEvent calendarEvent[]; MqlCalendarValue calendarValue[]; int events= CalendarEventByCurrency ( "GBP" ,calendarEvent); for ( int i= 0 ;i<events;i++) { if