Download MetaTrader 5

Why does "nearPosition" become "false" when it should be "true"? - page 2

To add comments, please log in or register
Sell products right in MetaTrader. Millions of traders are waiting for this!
whroeder1
14504
whroeder1 2014.11.14 15:11  
jollydragon: Then I asked why and if you have any examples for "not reiable".
  1. History is definitely not reliable Order History sort by closing date - MQL4 forum
  2. If you do a partial close, you get a new ticket number, but the OrderOpenTime is not changed. So what slot will you find it in? Original order is gone, everything moves down, and the new ticket with an older time in last slot? Or perhaps, the original slot just changes ticket number and lotisze?
  3. Same thing for pending orders - ticket number doesn't change but OrderOpenTime does. So what slot will you find it in?
  4. Don't assume. Either test it, or just sort it and be done.
moonsboy
889
moonsboy 2014.11.15 05:36  
WHRoeder:
  1. History is definitely not reliable Order History sort by closing date - MQL4 forum
  2. If you do a partial close, you get a new ticket number, but the OrderOpenTime is not changed. So what slot will you find it in? Original order is gone, everything moves down, and the new ticket with an older time in last slot? Or perhaps, the original slot just changes ticket number and lotisze?
  3. Same thing for pending orders - ticket number doesn't change but OrderOpenTime does. So what slot will you find it in?
  4. Don't assume. Either test it, or just sort it and be done.

Thank you for the examples!
12
To add comments, please log in or register