Dear Mr.Rosh,BUG or Misunderstend ? 新评论 [删除] 2007.08.29 07: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 ? Dear Mr.Rosh, another serious confusion OrderSelect, pool MODE_HISTORY, test and questions OrderSelect() Rashid Umarov 2007.08.29 15:27 #1 See 'Dear Mr.Rosh, another serious confusion' 新评论 您错过了交易机会: 免费交易应用程序 8,000+信号可供复制 探索金融市场的经济新闻 注册 登录 拉丁字符(不带空格) 密码将被发送至该邮箱 发生错误 使用 Google 登录 您同意网站政策和使用条款 如果您没有帐号,请注册 可以使用cookies登录MQL5.com网站。 请在您的浏览器中启用必要的设置,否则您将无法登录。 忘记您的登录名/密码? 使用 Google 登录
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 ?