下载MetaTrader 5

Dear Mr.Rosh,BUG or Misunderstend ?

要添加评论,请登录注册
gget
410
gget  

Dear Nr.Rosh

I think I can find the orders in history pool only when they closed,Right?

But may be have some BUGs

I insert a piece of program at ea like this :

int i =0;
while (OrderSelect(i,SELECT_BY_POS,MODE_HISTORY) ) i++;
OrderSelect(i-1,SELECT_BY_POS,MODE_HISTORY);

FileWrite(RFhandle,"Order: ",OrderTicket()+1," CurTime()=",TimeToStr(CurTime()));

and run it .the result is following :

see the chart

the order No.1 closed at 2006.05.11 3:50

so we can only see the order after the time in history pool !

but the true is as following chart

The key point is the history pool recorded the order No.1 from openning to closed !!!

What's wrong ?

Rashid Umarov
管理员
12275
Rashid Umarov  
要添加评论,请登录注册