下载MetaTrader 5
要添加评论,请登录注册
使用MQL5 Cloud Network。它非常安全!
gget
410
gget 2007.08.29 09:45 

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
管理员
6600
Rashid Umarov 2007.08.29 17:27  
/
要添加评论,请登录注册