I believe I have discovered a bug since upgrading to MC 8.7.7634 64 bit. I can confirm the following issue does not occur on version 8.5 Release (Build 6851).
I have a chart displaying hourly bars and am using the following code.
Code: Select all
If barstatus(1) = 2 then begin
print("Barnumber=", Barnumber+MaxBarsBack, " Open= ", open:1:5, " Close= ", close:1:5);
This is supposed to printout the open and close values for each bar, but since upgrading to this newer version the open value is incorrect. Instead of printing the first value for the hour, it is printing the value of the first second (see the attachment).
NB. The Data Window on my chart displays the correct open and close values.
- Extended backtesting Mode with bid and ask data
- Backtesting Precision is set to use Bar Magnifier, without "Skip ticks with identical prices" enabled.